On 25 Okt., 20:11, Miguel Morales <[email protected]> wrote:
> Try overriding your onFinish() or onPause(), you might be able to do
> what you're trying to do there.

onFinish() is only invoked for the back button, unless you finish() in
onPause().

Handling the Home button is only possible if you app's the selected
home app. Some apps actually do let them assign as home screen and set
up a "real home screen" to disable the Home button in lock screen
"popups". (Google, please offer a better way for that. Offering
FLAG_SHOW_WHEN_LOCKED without having a way to disable notifications
and Home is pretty halfhearted.)

Aside from that, the Home button should be handled exactly like any
other way the app's became invisible - i.e. onPause()/onResume().

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