如何解雇锁屏? [英] How to dismiss lock screen?
问题描述
在我的情况,我刚开始其他活动,以消除锁屏。
但是,我看到的任何应用程序来罢免锁屏,这是真的光滑。
我的思维方式与我不同的..
PLZ〜告诉我如何辞退锁屏〜
和如何使用键盘锁做呢?
in my case, I just start other activity to remove lock screen. However, I saw any app to dismiss lock screen and that is really smooth. I think the way is different with me.. plz~ tell me how to dismiss lock screen~ and how do i use keyguard to do that?
提前,谢谢!
推荐答案
如果你谈论的是键盘锁,那么你要看看的的 KeyguardManager 类。你可以得到它的一个实例是这样的:
If you're talking about the keyguard, then you want to take a look at the KeyguardManager class. You can get an instance of it like this:
KeyguardManager km = (KeyguardManager) context.getSystemService(Context.KEYGUARD_SERVICE);
如果你正在谈论的锁定的屏幕,用户必须输入密码 - 我不认为这是可能绕过这个
If you're talking about the lock screen, where the user has to enter a password -- I don't think it's possible to bypass this.
这篇关于如何解雇锁屏?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!