开发者

How to lock the Screen customly? Just like WaveSecure in Android

开发者 https://www.devze.com 2022-12-21 20:32 出处:网络
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 lo

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 fo开发者_C百科llowing picture show:

How to lock the Screen customly? Just like WaveSecure in 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

But after I reading the Android Docs, I still can't have an idea on it.

Can you help me? Thx:)


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.

http://developer.android.com/guide/topics/admin/device-admin.html

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号