How to capture Android Screenshots using batch programming.
Open any editor(I prefer Notepad) and create a .bat file
Add this source code
********************************************************
@echo off
echo This script will capture a screenshot of your android phone...
echo Trying to capture your screen
adb shell screencap -p /sdcard/screenshot.png
echo saving to your computer
adb pull /sdcard/screenshot.png
echo deleting residuals from your phone
adb shell rm -r /sdcard/screenshot.png
echo done
exit
***********************************************************
Save the file now.
Double click to open the file, or open via cmd
Voila!
No comments:
Post a Comment