Skip to content

Instantly share code, notes, and snippets.

@olexale
Created December 13, 2014 08:34
Show Gist options
  • Save olexale/a26be3234c971dc5da83 to your computer and use it in GitHub Desktop.
Save olexale/a26be3234c971dc5da83 to your computer and use it in GitHub Desktop.
Android screenshot script
#!/bin/sh
adb shell screencap -p | perl -pe 's/\x0D\x0A/\x0A/g' > screen.png
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment