【发布时间】:2018-03-01 19:02:41
【问题描述】:
我需要显示屏幕记录的触摸以显示错误,但不想导航到设置中,因为担心我会失去我的位置并且错误会消失。
有人知道是否可以从 adb shell 启用此功能,如果可以,我输入了什么?
【问题讨论】:
标签: adb touches screen-recording adb-shell
我需要显示屏幕记录的触摸以显示错误,但不想导航到设置中,因为担心我会失去我的位置并且错误会消失。
有人知道是否可以从 adb shell 启用此功能,如果可以,我输入了什么?
【问题讨论】:
标签: adb touches screen-recording adb-shell
这将启用显示触摸:
adb shell content insert --uri content://settings/system --bind name:s:show_touches --bind value:i:1
这会禁用它:
adb shell content insert --uri content://settings/system --bind name:s:show_touches --bind value:i:0
【讨论】:
adb shell settings put system show_touches 1。请注意,您可以使用adb shell settings list system 获取所有系统选项的列表。