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

android银屏解锁

热度:31   发布时间:2016-05-01 13:32:20.0
android屏幕解锁

KeyguardManager km = (KeyguardManager) getSystemService(Context.KEYGUARD_SERVICE);?
KeyguardLock kl = km.newKeyguardLock("unLock");??
kl.disableKeyguard();


<uses-permission android:name="android.permission.DISABLE_KEYGUARD" />

  相关解决方案