Reputation: 391
I am working on application in which I want to start service at the particular time. I have stored the time in database table. Now, I have the list of the time when service would be started. So, how can I start service at all of these time?
Upvotes: 1
Views: 723
Reputation: 2813
Use android AlarmManager to schedule alarms. you can register multiple alarms for your application.
hope this link helps you
Upvotes: 1
Reputation: 1634
You want the Android Alarm Manager:
This class provides access to the system alarm services. These allow you to schedule your application to be run at some point in the future.
Hope this link helps you.
Upvotes: 1