Skip to content

Instantly share code, notes, and snippets.

@PomepuyN
Created December 15, 2014 10:42
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save PomepuyN/08f6b8c89e9c5e8cac82 to your computer and use it in GitHub Desktop.
Take a screenshot by second on android
#!/bin/sh
LEVEL=3
ISCHARGING=false
while [ 1=1 ]
do
adb shell screencap -p | sed 's/\r$//' > screen${LEVEL}.png
sleep 1
LEVEL=$((LEVEL+1))
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment