Is it possible make an activity, that will lock the android device?
- That device would be unlocked only after entering right PIN number.
- During lock, user can’t call,message, and can’t view notifications,contacts,call logs,storage data,…
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.
For this you can take advantage of the Device Administration API introduced in Android 2.2. This does require the user to accept that your application wants to have control of the device but obviously you would need to disclose that information anyway. Also it should be noted that on a phone (at least in the US) you must always have access to make emergency phone calls.
Using the API you can enforce a pin lock be set and also invoke the lock screen at will in addition to many other administration features.