Beth Mezias wrote:
> Assume that when the broadcast receiver is called, another application
> might have the "UI Thread" by running an interactive window with the
> Android end user.  In this case, does onReceive run in the foreground or
> background?  

According to Ms. Hackborn's previous reply, the foreground.

Bear in mind that each Android application runs in its own process (by
default) and has its own threads, so there are many "UI Threads" on your
device at any one time.

> It still looks to me like the resulting broadcast
> receiver may not be getting the CPU.

Can you create a sample application that demonstrates the problem, then
post it and your description to http://b.android.com?

-- 
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]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to