Android: 判断当前是否为锁屏界面(Keyguard)
{
KeyguardManager mKeyguardManager = (KeyguardManager) getSystemService(KEYGUARD_SERVICE);
if (mKeyguardManager.inKeyguardRestrictedInputMode()) {
// keyguard on
}
}
补充:移动开发 , Android ,