KevinL
KevinL

Reputation: 83

Start Android service process at specific time?

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

Answers (2)

Jan Koester
Jan Koester

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

Anis BEN NSIR
Anis BEN NSIR

Reputation: 2555

You have to make you task run By the AlarmManager, see this question: AlarmManager Android Every Day

Upvotes: 1

Related Questions