/system/bin/screencap -p /sdcard/screen.pngYou may not need the full path of the command:
screencap -p /sdcard/screen.png-p = use .png format.
/system/bin/screencap -p /sdcard/screen.pngYou may not need the full path of the command:
screencap -p /sdcard/screen.png-p = use .png format.