How can I start the Accessibility Settings Page of my APP in Android?
Try this:
Intent intent = new Intent(Settings.ACTION_ACCESSIBILITY_SETTINGS);
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(intent);
You can manually open the accessibility settings with the following Intent (when android.content.Intent
and android.app.Intent
have both been imported):
Intent intent = new Intent(Settings.ACTION_ACCESSIBILITY_SETTINGS);
startActivity(intent);
Check out the following resources for more information:
- https://android.googlesource.com/platform/development/+/master/samples/ApiDemos/src/com/example/android/apis/accessibility/ClockBackActivity.java
- http://developer.android.com/reference/android/app/Activity.html