input [touchscreen|touchpad|touchnavigation] tap <x> <y>

在坐标(x,y)出点击一次

例如adb shell input tap 500 500,就是在屏幕(500,500)处点击一次;

实现:(~/dopic.sh)

for((i=0; i < 700; i++))
do
        adb shell input tap 350 1100

        //每一秒执行一次
        sleep 1
done

 

相关文章:

  • 2021-11-20
  • 2021-05-31
  • 2022-02-09
  • 2022-01-18
  • 2021-05-24
  • 2022-12-23
  • 2021-12-24
猜你喜欢
  • 2021-12-06
  • 2022-12-23
  • 2021-12-06
  • 2021-06-18
  • 2021-07-05
  • 2021-11-06
相关资源
相似解决方案