Yes On Thu, Feb 24, 2011 at 2:00 PM, Jake Colman <[email protected]> wrote:
> >>>>> "KV" == Kostya Vasilyev <[email protected]> writes: > > KV> 24.02.2011 23:23, Jake Colman пишет: > > >> My app is structured to use an IntentService to update an > >> appwidget's RemoteViews. The appwidget sets up a repeating alarm > >> that, when triggered, causes the appwidget to start the > >> IntentService. If the phone is rebooted, the widget never gets > >> repainted. Is there a design paradigm that I am missing here to > >> allow for my widget to survive a reboot? > > KV> Alarms are lost on reboot, so there is nothing to start your > KV> service. > > KV> Make a receiver for this broadcast: > > KV> > http://developer.android.com/reference/android/content/Intent.html#ACTION_BOOT_COMPLETED > > KV> to kick-start your code after a reboot. > > How do I simulate a reboot in the emulator? Simply close the emulator > and allow Eclipse to restart it without wiping user data? > > -- > 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

