Created
August 26, 2017 10:57
-
-
Save johnjohndoe/6fa8dc436553e3484437d294a7990902 to your computer and use it in GitHub Desktop.
ADB command to capture a screenshot from a 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
adb shell screencap -p | perl -pe 's/\x0D\x0A/\x0A/g' > output.png |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment