Hi Mark, 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? Thanks, AJ On Aug 31, 2:35 pm, Mark Murphy <mmur...@commonsware.com> wrote: > On Tue, Aug 31, 2010 at 4:48 AM, JAVANAND <javandroid....@gmail.com> wrote: > > My app requires to know whether the entire app is in Background > > state , which in most cases is due to Home Key, > > Why? > > > I want to just to know if home key is pressed or not in the app, Can > > any one guide me on this. > > There is no way to detect the HOME key press from an application. > Let's figure out how to eliminate your "requirement", instead. > > -- > 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