我需要能够使用adb从开发人员选项菜单中选择和取消选择"指针位置" 。 adb shell am start -n com.android.settings/.DevelopmentSettings
,但一旦我在那里,我无法弄清楚如何选择和去选择指针位置。
我只是用shell keyevent'xx'来移动焦点,但它看起来有问题和不可靠。有没有简单的命令,允许我跳到选择?
我需要能够使用adb从开发人员选项菜单中选择和取消选择"指针位置" 。 adb shell am start -n com.android.settings/.DevelopmentSettings
,但一旦我在那里,我无法弄清楚如何选择和去选择指针位置。
我只是用shell keyevent'xx'来移动焦点,但它看起来有问题和不可靠。有没有简单的命令,允许我跳到选择?
I need to be able to select and deselect "pointer locations" from the developer options menu using adb. adb shell am start -n com.android.settings/.DevelopmentSettings
, but once I'm there I can't figure out how to select and de-select pointer locations.
I tried just using shell keyevent 'xx' to move the focus, but it seems problematic and unreliable. Is there a simple set of commands that will allow me to just jump to the selection?
要启用指针位置,命令是:
adb shell settings put system pointer_location 1
更改 1
到 0
禁用它。
输入 adb shell settings
以了解其用法以及上述命令正在执行的内容。
To enable Pointer locations, the command is:
adb shell settings put system pointer_location 1
Change 1
to 0
to disable it.
Enter adb shell settings
to understand its usage and what the aforesaid command is doing.
© 2022 it.wenda123.org All Rights Reserved. 问答之家 版权所有