Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Open specific Settings-page programmatically

Is there any way to, in my app, to redirect a user to a specific settings 'page'? My app works as a lock screen app, so I want to be able to redirect the user directly to the "Lock Screen" section of the Android settings. (Preferably via a button or something similar)

like image 975
Nyfiken Gul Avatar asked Aug 11 '16 07:08

Nyfiken Gul


1 Answers

ACTION_SECURITY_SETTINGS Intent:

 Intent intent = new Intent(Settings.ACTION_SECURITY_SETTINGS);
 startActivity(intent);

For complete Settings Intents

like image 131
Nadeem Iqbal Avatar answered Sep 24 '22 14:09

Nadeem Iqbal