There is a Broadcast event that is sent when a package is updated... Listen for that and set your alarms again.
On Fri, Feb 25, 2011 at 11:08 AM, Jake Colman <[email protected]> wrote: > > Given an appwidget that is currently sitting on the homescreen. What > happens when the user upgrades that appwidget via the MarketPlace while > the it is still running? What are Best Practices for me to do in that > instance? I suppose the currently executing instance has to be reset in > some way? > > In the emulator I tried installing a new package while the widget was > running. I received an APPWIDGET_UPDATE event but it looks like my > alarms got blown away since I am not seeing those events anymore. And I > have no idea whether it is my old new IntentServices that will get > execute. > > So, what does one have to do to cater for this? > > Thanks/ > > -- > Jake Colman -- Android Tinkerer > > -- > 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 -- 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

