I’m trying to create an app that when installed on a device allow me to set the device password policy and eventualy to lock the phone programaticaly
Thanks for the help.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
http://developer.android.com/guide/topics/admin/device-admin.html you can’t set the password yourself but you can tell them to enter a new one and lock the device if you want.
Prompt user to set a new password.
Lock device immediately.
Wipe the device’s data (that is, restore the device to its factory defaults).