2011年10月29日 星期六

[Android] No active admin owned by uid

Error Message

java.lang.SecurityException: No active admin owned by uid 10028 for policy #3

Occurred when using DevicePolicyManager


Solution

Need to register a DeviceAdminReceiver before you can use the device policy manager


* Reference
- Implementing screen lock in Android 2.0 - Stack Overflow
- Android Developer Device Admin Guide
- 请问如何调用锁屏? - Android 问题&解答 - eoe·Android开发者门户 - Powered by Discuz!

沒有留言:

張貼留言