On Tue, Aug 31, 2010 at 6:42 AM, AJ <ajeet.invinci...@gmail.com> wrote: > In "public boolean onKeyDown(int keyCode, KeyEvent event)" , I am able > to intercept "event.KEYCODE_BACK". > why I am not able to intercept "event.KEYCODE_HOME"?? > > Can you please throw some light on this?
Because it's not allowed. Applications cannot interfere with the HOME key processing, other than to become a home screen app. This is so users always have an "escape hatch" to get out of misbehaving/malware apps. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Development Wiki: http://wiki.andmob.org -- 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