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 [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