#!/bin/bash
adb wait-for-device
for (( i = 1; i < 100; i++));
do
var1=$i
str=/sdcard/pic${var1}.png
echo ${str}
adb shell screencap -p ${str}
adb pull ${str} ./test/
sleep 10s
done
#!/bin/bash
adb wait-for-device
for (( i = 1; i < 100; i++));
do
var1=$i
str=/sdcard/pic${var1}.png
echo ${str}
adb shell screencap -p ${str}
adb pull ${str} ./test/
sleep 10s
done