Skip to content

Android Programmatically open Settings-> Security tab on Button Click

How can I open Android > Settings > Security tab from within my app?

In my app, I have one simple button and I want to open the Security tab setting on button click listener event.

I have tried to open android settings, but how do I open specifically the security one?


Try this instead:

        Intent intent = new Intent(Settings.ACTION_SECURITY_SETTINGS);