OK, but my application is not running at the time.  Does that mean it goes
into the foreground thread pool even if there is no window?  There is
supposed to be a notification drawn on the top left but that might not
qualify the code into the foreground.

On Fri, Oct 30, 2009 at 10:12 AM, Mark Murphy <[email protected]>wrote:

>
> Beth wrote:
> > Would the resulting execution of my broadcast receiver from the
> > AlarmManager broadcast go into the background thread pool or get into
> > the foreground inheriting from the AlarmManager?
>
> BroadcastReceiver is invoked on "the UI thread", which is to say, the
> primary thread for your application.
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://twitter.com/commonsguy
>
> _Android Programming Tutorials_ Version 1.0 In Print!
>
> >
>


-- 

Mike Ditka <http://www.brainyquote.com/quotes/authors/m/mike_ditka.html>  -
"If God had wanted man to play soccer, he wouldn't have given us arms."

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to