adb shell input draganddrop <x1> <y1> <x2> <y2> <ms> 命令详解

模拟拖放操作

命令语法
adb shell input draganddrop <x1> <y1> <x2> <y2> <ms> 注意
命令说明
模拟拖放操作
示例
$ adb shell input draganddrop 300 800 700 800 500
输入与模拟相关命令

adb shell input draganddrop <x1> <y1> <x2> <y2> <ms> 用法说明

adb shell input draganddrop <x1> <y1> <x2> <y2> <ms> 是「输入与模拟」分类下的常用命令,作用是:模拟拖放操作。

典型用法如下:adb shell input draganddrop 300 800 700 800 500。你可以查看本页上方同组的相关命令,或直接复制到终端运行。

常见问题解答

adb shell input draganddrop <x1> <y1> <x2> <y2> <ms> 是什么?
adb shell input draganddrop <x1> <y1> <x2> <y2> <ms> 用于模拟拖放操作,属于「输入与模拟」相关命令。
adb shell input draganddrop <x1> <y1> <x2> <y2> <ms> 怎么用?
在终端执行 adb shell input draganddrop 300 800 700 800 500 即可,具体参数请按实际环境调整。
还有哪些相关命令?
输入与模拟分类下还有 13 条相关命令,见本页上方「相关命令」。

同类工具