Created
November 7, 2013 18:56
-
-
Save Taormina/7359945 to your computer and use it in GitHub Desktop.
Android dev tip: Grab screen shot with one command.
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 | |
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
Got this from Reid Baker, mostly it's just here for me to find later.