Introduction - If you have any usage issues, please Google them yourself
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.