Older versions of Andriod doesn’t give a simple option to take screen shot directly from the device. Apple’s iPhone has a handy feature which allows to take screen shots by pressing Power+Home button. From Android 2.2 (Froyo) onwards Android devices gives and option to take screenshot from the device itself by using Home + Power button combo. This post is android developers method for getting screen shot from Android devices.
It took some time and searches to figure out how to take screen shots from Android device. You need to have a android development kit installed and configured to take screen shots using the official method. It was easy for me once I figured out the method, as I had already installed android-sdk in my machine. I am using SpringSource Tool Suite with ADT plugin for development which is a Spring flavoured Eclipse.
If you already have them installed great otherwise you might want to get these installed in your machine. Download and installation instructions can be found in the following links
- Android SDK & USB drivers
- Eclipse or SpringSource Tool Suite (Optional)
- ADT plugin for Eclipse or STS (Optional)
Once you have it ready, follow these steps
- Enable USB debugging in the android device, by going to Settings > Applications > Development > and checking the check box that says USB debugging.
- Connect your Android device to your machine
- Start ddms(Dalvik Debug Monitor Server) either from Android-SDK/tools folder or from Eclipse
- That will open ddms screen like this Here your will be able to see the device that you have connected. You can ignore the messages and warnings that are continuously updated at the bottom.
- Click on the camera icon or screen capture option under the Device menu
- Now you will get the Device Screen Capture window. You can directly save the screen shot from this. Go to a different screen or application and click 'refresh' option to get a updated screenshot. It also gives rotate and copy to clipboard options. Click done to close the window.
The images are saved in PNG format and are small in size. I have tried screenshots of Youtube videos being played and it worked very well.