Skip to content

Instantly share code, notes, and snippets.

@behumble
Created June 28, 2013 04:51
Show Gist options
  • Save behumble/5882525 to your computer and use it in GitHub Desktop.
Save behumble/5882525 to your computer and use it in GitHub Desktop.
android screen capture in command line (linux, mac)
#!/bin/sh
adb shell screencap -p | sed 's/\r$//' > captured.png
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment