I really need some guidance here. I implemented an alarm manager that triggers a notification service. And it works if I have to display only one notification. But what I need now is a way to display the notifications according to a time schedule (i.e. 11:00, 13:00, 18:20).
Any help would be appreciated. Thank you.
If you want to get control at "11:00, 13:00, 18:20", then call set()
or setRepeating()
three times, with unique PendingIntent
objects. The simplest way to get "unique PendingIntent
objects" is to pass a unique value to second parameter of the factory method (e.g., getService()
).