Yes that is what you have to do; the alarm manager does not persist alarms across boots.
On Sun, Nov 22, 2009 at 10:36 PM, Armond Avanes <[email protected]> wrote: > Hi Folks, > > I want to run a background service once per day (after the date changed at > midnight) and I don't want this schedule to be forgotten after a reboot. > But > I was not successful when I tried to listen for DATE_CHANGED or TIME_SET > intents! > > Currently I'm listening for BOOT_COMPLETED intent and do a manual schedule > using AlarmManager. Is this the intended way to do so? Or there is a better > solution? > > Thank you, > Armond > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

