Skip to content

Instantly share code, notes, and snippets.

@Taormina
Created November 7, 2013 18:56
Show Gist options
  • Save Taormina/7359945 to your computer and use it in GitHub Desktop.
Save Taormina/7359945 to your computer and use it in GitHub Desktop.
Android dev tip: Grab screen shot with one command.
#!/bin/bash
adb shell screencap -p | perl -pe 's/\x0D\x0A/\x0A/g' > screen.png
@Taormina
Copy link
Author

Taormina commented Nov 7, 2013

Got this from Reid Baker, mostly it's just here for me to find later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment