Thanks Mark :)


On Aug 31, 3:46 pm, Mark Murphy <[email protected]> wrote:
> On Tue, Aug 31, 2010 at 6:42 AM, AJ <[email protected]> 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/commonsguyhttp://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 [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

Reply via email to