Reputation: 83
i currently making an app that checking file change/modification on android SD memory.
this checking file process is running on a background service..
the thing is i don't want this service execute this process all the time
i want the process running on user specified time.
how to do this?
Upvotes: 0
Views: 8242
Reputation: 1218
You could handle this with the AlarmManager. See AlarmManager
This was successful in this post: Using Alarmmanager to start a service at specific time
Upvotes: 0
Reputation: 2555
You have to make you task run By the AlarmManager, see this question: AlarmManager Android Every Day
Upvotes: 1