Applications can not prevent the end or home keys from working.  Sorry.

On Thu, Nov 26, 2009 at 12:17 PM, Jesper Majland <[email protected]>wrote:

> Hi
> I’m writing an App where I need to show some content to the user, but
> would like to activate a key lock.
> This is to avoid the user to, by accident, presses some buttons while
> my Application is running.
> Using the “End key” will both enable the key lock, but also turn off
> the display hiding the context
> Does anybody know how to do the trick?
> Of cause there need to be a way the user can unlock the key again to
> gain full UI control.
>
> --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  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 [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