The process running the current broadcast receiver is placed in the foreground scheduling class, until it has finished receiving it. This doesn't apply to receivers given with registerReceiver(), unless the broadcast they are handling is ordered for one reason or another (in which case the system waits for them to complete before going on, and makes the process foreground during that time).
On Fri, Oct 30, 2009 at 12:45 PM, Beth Mezias <[email protected]> wrote: > Right, right... > Dianne, could you possibly clarify whether or not the receiver goes in the > foreground? > > Sent from my mobile. > Regards, > Beth > > On Oct 30, 2009 11:46 AM, "Mark Murphy" <[email protected]> wrote: > > Beth Mezias wrote: > I don't read anything about broadcast receivers in > > Dianne's response. > > "No, the alarm manager does not run at the background priority, and when > delivering an intent broadc... > I am interpreting "it" as being "the act of delivering an intent > broadcast", which is to say, calling onReceive() on the BroadcastReceiver. > > -- Mark Murphy (a Commons Guy) http://commonsware.com | > http://twitter.com/commonsguy > > _Android Programming Tutorials_ Version 1.0 In Print! > --~--~---------~--~----~------------~-------~... > > > --~--~---------~--~----~------------~-------~--~----~ > 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

