I am a bit confused as to under what circumstances one would like to handle the Home Screen button.
On Tue, Oct 26, 2010 at 12:22 PM, mort <[email protected]> wrote: > 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]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com -- 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

