Dave's Brain

Browse - Programming Tips - How can I do a screenshot from the command line?

Date: 2015may11
OS: Android
Keywords: screen capture
Language: Bash

Q.  How can I do a screenshot from the command line?

A.  If you have root access:

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

Add a comment

Sign in to add a comment
Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.