Hi, we don't right now have any official guarantees about which will happen first.
That said, I generally would really encourage people from using BOOT_COMPLETED unless they really need to -- we are seeing a greatly increasing number of apps doing this, which is a pretty negative impact on the first boot experience. (Yes, windows syndrome *sigh*). On Thu, Aug 13, 2009 at 5:06 AM, alkar <[email protected]> wrote: > > I want to do some initialization for a widget, as soon as the phone > boots and before the first update on the widget happens. Would a > BroadcastReceiver on BOOT_COMPLETED ensure that this initialization is > done prior to the widgets' first onUpdate() call? > > Is there a priority or is it completely random, meaning I'd have to > add a check to make sure it's done prior to the update? > > -- > alkar > > > -- 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 -~----------~----~----~----~------~----~------~--~---

