adb shell input tap <x> <y> 命令详解

模拟点击屏幕坐标

命令语法

adb shell input tap <x> <y>注意

模拟点击屏幕坐标

示例

$ adb shell input tap 540 1200

adb shell input tap <x> <y> 用法说明

adb shell input tap <x> <y> 是「输入与模拟」分类下的常用命令,作用是:模拟点击屏幕坐标。

典型用法如下:adb shell input tap 540 1200。你可以复制到终端直接运行,或查看下方同组的相关命令。

常见问题解答

adb shell input tap <x> <y> 是什么?
adb shell input tap <x> <y> 用于模拟点击屏幕坐标,属于「输入与模拟」相关命令。
adb shell input tap <x> <y> 怎么用?
在终端执行 adb shell input tap 540 1200 即可,具体参数请按实际环境调整。
还有哪些相关命令?
「输入与模拟」分类下还有 13 条相关命令,见下方「相关命令」。