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?
Advertisement
Answer
Try this instead:
JavaScript
x
Intent intent = new Intent(Settings.ACTION_SECURITY_SETTINGS);
startActivity(intent);