Re: [android-developers] Phone Unlocked Notification
On Sat, May 22, 2010 at 8:27 AM, Nik Bhattacharya nik.bhattacha...@frogdesign.com wrote: I would like to know if there is some sort of system broadcast just like the Boot Complete broadcast. Did you look through the docs? I would assume it would be in there, if it exists. If not, then it probably doesn't. Don't know what else to tell you. - TreKing - Chicago transit tracking app for Android-powered devices http://sites.google.com/site/rezmobileapps/treking -- 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
[android-developers] Phone Unlocked Notification
Is there any way to receive an event when the phone is unlocked? I know there is a way to query at a specific point in time for whether the screen is locked or not via: KeyguardManager k = (KeyguardManager)this.context.getSystemService(“keyguard”); if (k.inKeyguardRestrictedInputMode()) { inLockScreen = true; } else { inLockScreen = false; } But really I don't want a polling mechanism. I would like to know if there is some sort of system broadcast just like the Boot Complete broadcast. Thanks! Nik Bhattacharya -- 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