当前位置: 代码迷 >> Android >> android荧幕解锁
  详细解决方案

android荧幕解锁

热度:60   发布时间:2016-05-01 13:32:10.0
android屏幕解锁
KeyguardManager km = (KeyguardManager) getSystemService(Context.KEYGUARD_SERVICE); 
KeyguardLock kl = km.newKeyguardLock("unLock");  
kl.disableKeyguard();


<uses-permission android:name="android.permission.DISABLE_KEYGUARD" />
  相关解决方案