Dianne Hackborn,
Are you familiar with the KeyguardManager class? Its really cool, I
haven't seen anything like it on any other platform and I'm excited to
take advantage of it.
http://developer.android.com/reference/android/app/KeyguardManager.html

It can take over the Home screen button

I've created a bug report.
http://code.google.com/p/android/issues/detail?id=3715

Thanks for your help.


On Aug 29, 3:41 pm, Dianne Hackborn <hack...@android.com> wrote:
> On Sat, Aug 29, 2009 at 11:52 AM, GodsMoon <godsm...@gmail.com> wrote:
> > I'm writing an app that turns off the keyguard and I would like to
> > exitKeyguardSecurely when you user goes back to the home screen.
> > This works great when hitting the Home button, but the user can back
> > to the home screen without prompt by using the back button (I think
> > this is an API bug).
>
> What API bug?  Of course you can press back to go to the home screen.
>
> What are you doing to determine when the user presses home?  Afaik there
> isn't really a way to do this since the system completely consumes the home
> key.
>
> Unfortunately, I don't think there is any robust way to do what you want.  I
> can't imagine an app being able to do this consistently with the current
> API...  and that should kind-of give you a moment of pause since you are
> messing with the lock screen and thus fundamental security of the device.
>
> --
> 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, 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 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to