模拟拖放操作
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 300 800 700 800 500