【问题标题】:How to enable "Show Touches" developer option from adb shell? [duplicate]如何从 adb shell 启用“显示触摸”开发人员选项? [复制]
【发布时间】:2018-03-01 19:02:41
【问题描述】:

我需要显示屏幕记录的触摸以显示错误,但不想导航到设置中,因为担心我会失去我的位置并且错误会消失。

有人知道是否可以从 adb shell 启用此功能,如果可以,我输入了什么?

【问题讨论】:

    标签: adb touches screen-recording adb-shell


    【解决方案1】:

    这将启用显示触摸:

    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 获取所有系统选项的列表。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2023-03-18
    • 1970-01-01
    • 1970-01-01
    • 2015-10-13
    • 1970-01-01
    • 2014-12-11
    • 2016-03-29
    相关资源
    最近更新 更多