How can an application detect when it's lost control of the screen?
The reason I ask is that my application has an appwidget whose visible
state should be consistent with user actions within the application.
In addition to the application exiting, I'd like to know when other
applications take over the screen.

Simply noticing in onPause() in the root activity isn't enough because
the user can, for example, press the home key or receive a phone
call.  Noticing in onPause() in every single activity is overkill
because the user will move between multiple activities in the same
application.

If this is documented or discussed already, I'll humbly accept an RTFM
pointer, but I didn't find anything when I looked.

Thanks.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to