Follow this: http://stackoverflow.com/questions/2261914/catch-keypress-with-android
On Wed, Jun 8, 2011 at 12:04 PM, Droid <rod...@gmail.com> wrote: > I have a thread that needs specifically to be cancelled when the home > button is pressed. > But, nothing reliable gives me that information. (I have over 10 > activities all in the stack) > > -- > 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 -- 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