I'm thinking of the best way to do this.
I have a set of id's and times. Each id contains more than one time (in the future). Users can select for which id's they would like to get notified.
I was able to use Notification manager and broadcast a notification at a future time. The problem is the times will be updated everyday for a id, so the notification manager should be able to look for changes in times and update itself (only for the id's the users subscribes to).
Should I write a service that runs in the background and sends notification by constantly checking aganist the times ? or is there a better way to do this ?
eg id's and times
id = 1, times = 10/15/2015 10:00, 10/15/2015 23:00
id = 2, times = 10/15/2015 12:00. 10/16/2015 19:00