abhi's logbook

Adventures in coding and coding for adventures.

Take Screenshots

Take a screenshot to a phone connected to the computer.

adb shell screencap -p | perl -pe 's/\x0D\x0A/\x0A/g' > screen2.png