How to open Settings of Android Phone on a button click in our Android App
this should do it
startActivityForResult(new Intent(android.provider.Settings.ACTION_SETTINGS), 0);
starts settings activity for result
Intent dialogIntent = new Intent(android.provider.Settings.ACTION_SETTINGS);
dialogIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(dialogIntent);