adb shell screenshot 1

adb shell screenshot

adb exec-out screencap -p > screen.png

Here is what the above code is Doing:
1. adb shell – starts a remote shell on the device
2. screencap -p – takes a screenshot of the device and outputs it to stdout
3. > screen.png – redirects the previous command’s output to a file called screen.png

Similar Posts