问题描述
我想要做一个演示,就像WaveSecure的,它赢得的Android与第三名开发挑战2。现在,我已经在customly锁定屏幕问题,所以我想知道如何WaveSecure的实现其锁定功能,如下图显示:
I want to do a demo just like WaveSecure, which win Android Develop Challenge 2 with a third place. Now I have a problem in locking the screen customly, so I want to know how WaveSecure achieve its locking function, as the following picture show:
当手机被锁定,可以WaveSecure的客户需要输入自己的密码。因此,我认为必须WaveSecure的替代Android的原锁定功能。
When the mobile is locked, WaveSecure can require customer to input their own password. So I think WaveSecure must replace Android's original locking function.
我也谷歌,但我没有发现任何有用的。我只能找到两个包可能会有所帮助。它们是:
And I also google it, but I didn't find anything helpful. I only find two packages may be helpful. They are:
- android.app.KeyguardManager
- android.os.PowerManager
不过,我读了Android文档后,我仍不能有它的想法。
But after I reading the Android Docs, I still can't have an idea on it.
你能帮助我吗? THX:)
Can you help me? Thx:)
推荐答案
我一直在寻找的答案,一会儿完全相同的问题。显然,2.0后开始为应用程序级别的设备管理权限被拆除。但随着升级Froyo - 2.2设备规范管理显露给予我们的开发人员的行政级别控制众多
I have been searching for an answer to the exact same question for a while. Apparently, after 2.0 onwards the device manager privileges for the app level were removed. But with Froyo - 2.2 the device policy manager is revealed granting us developers a multitude of administrative level controls.
这篇关于如何customly锁定屏幕?就像在WaveSecure的Android版的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!