Often when you use AlarmManager, you have to also register to for TIME_ZONE_CHANGED event to account for cases when the phone moves to a different time zone. As it turns out it appears that those are sent every time the phone updates its time form the cell tower (several times a day) so if you register for TIME_ZONE_CHANGED you can use it to reschedule your tasks automatically on next event. It is not perfect but it works. (This is what we use in BeyondPod podcatcher)
On Mar 18, 6:47 am, Stoyan Damov <[email protected]> wrote: > On Wed, Mar 18, 2009 at 4:36 AM, Dianne Hackborn <[email protected]> wrote: > > Fwiw, cupcake will add a new field to PACKAGE_ADDED to tell you if this was > > due to an update, and allow this broadcast to be received by the app to > > restart itself. > > This cupcake thing very much reminds me of Duke Nukem Forever... --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

