Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the Intent to call "Choose screen lock" screen?

I cant find any refrence to call the Intent screen "Choose screen lock".

Cant find anything?

Any idea?

enter image description here

like image 964
user1163234 Avatar asked Sep 01 '13 15:09

user1163234


3 Answers

You can call action DevicePolicyManager.SET_NEW_PASSWORD to send user to lock screen settings fragment (firstly he will have to type current password/pattern for secure lock types):

Intent intent = new Intent(DevicePolicyManager.ACTION_SET_NEW_PASSWORD);
startActivity(intent);
like image 74
pkleczko Avatar answered Nov 10 '22 20:11

pkleczko


There is none. You can view all possible Intents in android's source code: https://github.com/android/platform_packages_apps_settings/blob/master/AndroidManifest.xml

like image 44
flx Avatar answered Nov 10 '22 19:11

flx


EDIT:

It turns out that this had been added in Version 2.2 of Android.
Please ee pleczko's answer below.


Before Android 2.2 there is no intent to do this.

like image 2
bricklore Avatar answered Nov 10 '22 18:11

bricklore