How to schedule my android app to do something every hour
问题 I want my app to access database every hour and read next record from the table then update desctop widget and send notification. I know that there is AlarmManager which I can use to register my Intents but they are deleted when the phone is turned off or rebooted. Is there any other android class/service that I would update my application continuously even when I reboot my phone? Thanks, 回答1: take a look at the demo applications provided with android sdk http://developer.android.com/samples