模拟从一点滑动到另一点
adb shell input swipe <x1> <y1> <x2> <y2> 是「输入与模拟」分类下的常用命令,作用是:模拟从一点滑动到另一点。
adb shell input swipe <x1> <y1> <x2> <y2>
典型用法如下:adb shell input swipe 540 1600 540 400。你可以查看本页上方同组的相关命令,或直接复制到终端运行。
adb shell input swipe 540 1600 540 400