Script to make a screenshot on the device

This commit is contained in:
Emmanuel Engelhart 2015-01-21 12:28:26 +01:00
parent 7aeb3627ff
commit 60ae046e66

5
make-screenshot.sh Executable file
View File

@ -0,0 +1,5 @@
#!/bin/bash
../src/dependencies/android-sdk/platform-tools/adb shell screencap -p /sdcard/screenshot.png
../src/dependencies/android-sdk/platform-tools/adb pull /sdcard/screenshot.png
../src/dependencies/android-sdk/platform-tools/adb shell rm /sdcard/screenshot.png