I need to show touches for a screenrecord to show a bug but don't want to navigate away into settings for fear that I'll lose my place and the bug will go away.
Anyone know if it's possible to enable this feature from the adb shell and if so, what I type in?
Developer Options can be enabled by tapping 7 times on build number. I am using adb shell input tap x y command to tap on build number. is there any adb command to tap on build number 7 times? Show activity on this post. Show activity on this post. That info is stored in a shared preference of the settings app.
In case you have set up system-wide ADB and Fastboot, you can launch the command window from any screen of your PC. Anyway, type the following command and press the Enter key.
Developer options On Android 4.1 and lower, the Developer options screen is available by default. On Android 4.2 and higher, you must enable this screen. To enable developer options, tap the Build Number option 7 times. You can find this option in one of the following locations, depending on your Android version:
Open the ‘ platform-tools ‘ folder and launch a command window by clicking on File > Open Windows PowerShell in the folder window. In case you have set up system-wide ADB and Fastboot, you can launch the command window from any screen of your PC. Anyway, type the following command and press the Enter key.
This will enable show touches:
adb shell content insert --uri content://settings/system --bind name:s:show_touches --bind value:i:1
And this disables it:
adb shell content insert --uri content://settings/system --bind name:s:show_touches --bind value:i:0
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With