Unfortunately you cannot block it, precisely for the reason you are mentioning. This is a guarantee for the user that she will be able to always go back to the Home screen and access settings, applications, etc.
On Wed, Nov 25, 2009 at 10:56 PM, swapnil kamble <[email protected]> wrote: > Hi, > Thanks for your reply. My application is a locker application. So I have > to block this key . > > On Thu, Nov 26, 2009 at 12:20 PM, Romain Guy <[email protected]> wrote: >> >> You cannot block that event. >> >> On Wed, Nov 25, 2009 at 10:48 PM, swapnil kamble <[email protected]> >> wrote: >> > Hi All, >> > I want to block window key shortcut, which takes user back to >> > home >> > screen by suspending current activity. I want to block that, I want to >> > eat >> > up that key event. I also wrote onkeydown handler using which I could >> > eat up >> > all other keys, but this key event is not been received by onkeydown. >> > Does >> > anybody has any idea about blocking this key event ? >> > >> > Thanks in advance >> > Swapnil >> > >> > || Hare Krishna Hare Krishna Krishna Krishna Hare Hare || >> > || Hare Rama Hare Rama Rama Rama Hare Hare || >> > >> > -- >> > 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 >> >> >> >> -- >> Romain Guy >> Android framework engineer >> [email protected] >> >> Note: please don't send private questions to me, as I don't have time >> to provide private support. 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 [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 > > > -- > ...Swapnil > > || Hare Krishna Hare Krishna Krishna Krishna Hare Hare || > || Hare Rama Hare Rama Rama Rama Hare Hare || > > -- > 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 -- Romain Guy Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support. 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 [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

