You can't, apps are not allowed to see the event. On Thu, Jan 15, 2009 at 10:24 PM, elvisw <elvise...@gmail.com> wrote:
> > Hi all, > > How can I catch HOME KeyDown Event in Activity or Dialog?? > > I find that the event is not passed into onKeyDown(), but I really > need the function to make an AP's lock screen... Set > WindowManager.LayoutParams.TYPE_SYSTEM_OVERLAY works?? > > Or how can I do this... > > > Thanks, > Elvis. > > > > > -- Dianne Hackborn Android framework engineer hack...@android.com 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 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 -~----------~----~----~----~------~----~------~--~---