Occasionally people find hacks to kind-of do this, and when they do we fix the platform to prevent it. Don't do this. The home key is the -only- mechanism a user has to return to a known, trusted state. It is critical for security that it do this, and apps can not prevent it.
On Wed, Dec 9, 2009 at 11:21 AM, David Toledo <dtole...@gmail.com> wrote: > exist some other alternative? > exist some method or function that capture when the press home key ??? > > 2009/12/9 Mark Murphy <mmur...@commonsware.com> > > > I want to block the functionality switch between Applications in >> > my Activity. Is it possible ? >> >> Fortunately, no. The user can always press HOME. >> >> -- >> Mark Murphy (a Commons Guy) >> http://commonsware.com >> Android App Developer Books: http://commonsware.com/books.html >> >> >> -- >> 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<android-developers%2bunsubscr...@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<android-developers%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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