Hi All,

I have a serious problem, I have to start/control activities via service, 
and for activities I use local broadcast messages to update the UI. When I 
send a broadcast message, it is received by lots of receivers, but I only 
want to get it received by the topmost activity. I tried to unregister the 
previous activity's receivers, but its simply not working. (There is a 
screen manager that keeps track of current (topmost) activity and also the 
previous activity)
So, is there something good solution to close task instances of the task, 
ad only one instance running in the foreground? Or some working method to 
unregister receivers? (I tried lots of stuff, but not working on Android 
2.2)

Thank you.

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