Mark, Calling System.Settings.putInt(getContentResolver(), System.Settings.LOCK_PATTERN_ENABLED, 1); System.Settings.putInt(getContentResolver(), System.Settings.LOCK_PATTERN_VISIBLE, 1); on emulator does not seem to activate the pattern, even after having configured the lock pattern. Later I call KeyGuardManager.reenableLock() ...
I am going to try it on a real phone and report it. This, however, seems like a configuration change versus unlocking (here is the right word :)) the phone from a program. I guess it might work. Thanks! On Apr 21, 5:51 am, Mark Murphy <[email protected]> wrote: > dilit wrote: > > Can you tell me what classes would allow me to disable the lock from > > within the program? > > Is it KeyguardManager, KeyguardLock? > > It is android.provider.Settings.System -- you want the > LOCK_PATTERN_ENABLED setting. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://twitter.com/commonsguy > > Android App Developer Training:http://commonsware.com/training.html --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

