Android Question setting alarm for a specific time

tufanv

Expert
Licensed User
Longtime User
Hello

I want to set an alarm clock for a specific time. I searched the forum and found this code :

Code:
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:
Isnt it even possible to delete manually an alarm from the app programaticly ?


I do not know how, in the Developer Android does not say anything about this question. Sorry I can not help



regards
 
Upvote 0

Similar Threads

Replies
6
Views
3K
  • Question Question
Android Question repeat alarm
Replies
1
Views
2K
  • Article Article
Android Code Snippet Start receiver at exact time
Replies
2
Views
8K
  • Question Question
Android Question alarm
Replies
3
Views
4K
Back
Top