文件名称:LockScreenActivity
介绍说明--下载内容均来自于网络,请自行研究使用
Android锁屏源码,Lock Screen Activity例子。了解一下流程:首先我们要获得android设备管理代理,LockScreen 继承自 DeviceAdminReceiver,得到当前设备管理器有没有激活,如果没有激活的话,就去提示用户激活(第一次运行程序时),如果已经激活的话,就执行立即锁屏,killMyself ,锁屏之后就立即kill掉我们的Activity,避免资源的浪费。-Android lock screen source, Lock Screen Activity examples. Look at the process: First of all, we want to get the android device management agent, LockScreen inherited from DeviceAdminReceiver current Device Manager is not activated, if activated, go to (the first time you run the program prompts the user to activate) If you have activated , on the implementation of the to immediately lock screen killMyself lock screen immediately kill off our Activity avoid the waste of resources.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
1.txt