sankara rao bhatta sankara rao bhatta - 11 months ago 64
Android Question

Trigger background service at a specific time in Android

I want to start a service in background everyday at a particular time. I am on android 2.2. please suggest me a sample code.


Answer Source

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.

And here is a tutorial for your viewing pleasure.