Last active
August 29, 2015 14:20
-
-
Save fabionuno/e3c47a205c7498a49d9a to your computer and use it in GitHub Desktop.
Take a Screenshot of Your Android Device
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Usage | |
# ./adbscreencap <filename> | |
adb shell screencap -p | perl -pe 's/\x0D\x0A/\x0A/g' > $1.png |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment