I'm trying to start voice access but the phone I'm using doesn't have the accessibility menu is there a direct adb command to get it started?
I'm trying to start voice access but the phone I'm using doesn't have the accessibility menu is there a direct adb command to get it started?
To start the accessibility service you can use:
adb shell settings put secure enabled_accessibility_services com.google.android.marvin.talkback/com.google.android.marvin.talkback.TalkBackService
And to stop:
adb shell am force-stop com.google.android.marvin.talkback
NEW_SERVICE can be enabled by
adb shell settings put secure enabled_accessibility_services NEW_SERVICE
However, this can also disable all OTHER_ENABLED_SERVICES. So It's better to use
adb shell settings put secure enabled_accessibility_services OTHER_ENABLED_SERVICES:NEW_SERVICE
Here we use : to join services. The content of OTHER_ENABLED_SERVICES can be known using
adb shell settings get secure enabled_accessibility_services
The content of NEW_SERVICE can be extracted from the result too, if you turn on the service maually.
NEW_SERVICES can be disabled using
adb shell settings put secure enabled_accessibility_services OTHER_ENABLED_SERVICES