#!/bin/sh
for times in $(seq 10000)
do
#启动骁龙相机
`adb shell am start org.codeaurora.snapcam/com.android.camera.CameraLauncher`
#延时0.02s
sleep 0.02s
#点击拍照按钮
`adb shell input tap 405 1080`
sleep 1s
#点击Back键退出相机
`adb shell input keyevent KEYCODE_BACK`
#延时1s
sleep 1s
echo $times
done