模拟长按(指定持续时间毫秒)
adb shell input swipe <x1> <y1> <x2> <y2> <ms> 是「输入与模拟」分类下的常用命令,作用是:模拟长按(指定持续时间毫秒)。
adb shell input swipe <x1> <y1> <x2> <y2> <ms>
典型用法如下:adb shell input swipe 540 1600 540 400 300。你可以查看本页上方同组的相关命令,或直接复制到终端运行。
adb shell input swipe 540 1600 540 400 300