Created
May 26, 2014 10:33
-
-
Save madcoda/e552604bb00e1849f4e7 to your computer and use it in GitHub Desktop.
Quickly screencap on the Android device and pull to current working folder
This file contains hidden or 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
# Add this to your ~/.bash_profile and restart the Terminal | |
function android-screencap(){ | |
adb shell screencap -p /sdcard/screen.png | |
adb pull /sdcard/screen.png | |
adb shell rm /sdcard/screen.png | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment