MARK, I want To know because, I am implementing licensing, and I want to check when the user tries to launch the app each time , I want it to go thru the licensing. hope I am clear Thanks Sumanth
On Aug 31, 4:39 am, AJ <ajeet.invinci...@gmail.com> wrote: > Thanks Mark :) > > On Aug 31, 3:46 pm, Mark Murphy <mmur...@commonsware.com> wrote: > > > 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/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 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