Actually I found a method a year ago or so. It's buried in one of the posts on this list if you bother to look for it... but really you shouldn't as it's generally not advisable to grab the HOME and BACK buttons as it breaks reset of and access to the back stack that users expect through the HOME and BACK buttons respectively. If you need to do clean up work, check out the onPause(), onStop() and onDestroy() methods as described in the documentation of Activity. http://developer.android.com/reference/android/app/Activity.html
On Aug 2, 4:26 pm, Romain Guy <[email protected]> wrote: > No there is no way to know. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

