I am developing an app which uses the accessibility api in Android. I am having a bit of a problem while guiding the user to enable the service. The only thing I found so far is :
final Intent intent = new Intent(android.provider.Settings.ACTION_ACCESSIBILITY_SETTINGS);
startActivityForResult(intent, 0);
intent.addCategory(Intent.CATEGORY_DEFAULT);
startActivity(intent);
However this only takes us to the Accessability menu. I would like to automate the steps needed. At the moment, the steps to enable (after exiting my app) are :
I would like to reduce this so that I directly take him/her to the screen where he can see the accessibility toggle button
so it would be like
Any idea how I can do this directly, without going to the main accessibility service?
As far as I know you can only take them to the list of accessibility services. You cannot automate much of the accessibility stuff because of the implications it has. So you are automating it as far as you can.