Vit Khudenko
Vit Khudenko

Reputation: 28418

Android: How to programmatically invoke PIN screen directly?

Currently with the 2.2 API I am able to lock the device via DevicePolicyManager.lockNow().

Having called that method I get a standard Android lock screen. I have to unlock the device to see the next sceen I'm actually interested in - the PIN screen.

So, my question is "Is it possible to invoke PIN screen directly (without getting to the lock screen first)?".

Upvotes: 6

Views: 2789

Answers (1)

Naresh
Naresh

Reputation: 1336

you can start an intent with action set to DevicePolicyManager.ACTION_SET_NEW_PASSWORD

Upvotes: 1

Related Questions