Reputation: 42974
I want my app to do is: Once a day check if the user have written a note, If not, add a notification to the statusbar, reminding the user to start the app, and write a note.
Can I use the alarm-manager or do I have to use a Service for this? Do anyone know where to find a good tutorial on this, or have some example code ?
Upvotes: 1
Views: 144
Reputation: 12919
Use AlarmManager
. Permanently running a Service just for scheduling a regular task would be an overkill.
Have a look at this question, for example: AlarmManager Android Every Day
Upvotes: 1