sankara rao bhatta sankara rao bhatta - 19 days ago 7
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.

thanks

Answer

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.