How can i read the settings for my ScreenLock in Android ? Whether the scree lock is None / Slide / Pattern / PIN/Password lock ?
I can find only one API to know whether it is pattern lock or not .
Thank You
Check out a similar question asked here. Use KeyguardManager to check if the device is locked.
KeyguardManager kgMgr = (KeyguardManager) getSystemService(Context.KEYGUARD_SERVICE); boolean showing = kgMgr.inKeyguardRestrictedInputMode();
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments