Seems like android.app.KeyguardManager.KeyguardLock should do this. lock.reenableKeyguard() to lock and lock.disableKeyguard() to unlock.
The only issue is that calling reenableKeyguard() on the the locked phone may put it in the wrong state (vice versa for disabling). Could be an API bug ... Thanks On Apr 21, 8:17 pm, dilit <[email protected]> wrote: > We are writing an app to substitute screen/pattern lock on G1. > Unfortunately, it is impossible to substitute the original screen lock > app > with a 3rd party one. > > The only option left is if we can UNLOCK the phone from a service > running in the background when G1 is locked. > Is it possible? > Is there interface to Pattern/Screen lock? > What is KeyguardManager for? > > Thanks! > Dmitriy --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

