Hello
I want to set an alarm clock for a specific time. I searched the forum and found this code :
this does the trick and set an alarm to 16:58. but is it possible to delete the alarm after it has been executed ? ( even the user does not have the app on foregorund )
TY
I want to set an alarm clock for a specific time. I searched the forum and found this code :
B4X:
Dim i As Intent
i.Initialize("android.intent.action.SET_ALARM", "")
i.PutExtra("android.intent.extra.alarm.HOUR", 16)
i.PutExtra("android.intent.extra.alarm.MINUTES", 58)
i.PutExtra("android.intent.extra.alarm.SKIP_UI", False)
StartActivity(i)
this does the trick and set an alarm to 16:58. but is it possible to delete the alarm after it has been executed ? ( even the user does not have the app on foregorund )
TY
Last edited: