Android Portal

How to take a screenshot in Android

 

Pointing a camera at the screen of the phone is a rather ugly way of capturing the screen, but thankfully that’s not your only option. To take a proper screenshot you have to install the Android SDK, put the phone in debug mode (Settings/Applications/Development), connect it to your computer using the USB data cable, launch DDMS from within the SDK’s “tools” directory, select your phone from the list of devices and click “Screen Capture” in the Device menu. Full instructions are available at skilltech.blogsport.com.

3 comments

3 Comments so far

  1. lucie November 4th, 2008 1:43 am

    Hi,
    I followed your instructions and it is not working: when I launch DDMS (by clicking on the icon ddms.bat in the Tools folder, I do not see my device in the left pane.
    Do you think you could help me out here? I have 2 hints:
    - when I plug my g1 to the pc, the notification USB connected “select to copy files to/from your computer” appears, then a pop up window “select “Mount if you want to copy files between your computer and your phone’s SD card”. Shall I choose Mount or Don’t Mount (either way it is not working)
    - when I installed the sdk, I unzipped the folder into my Program Files folder, but did not install anything. I already have the JDK and Eclipse installed but how do I make sure it runs properly ?

    Thank you for your help.

    Lucie

  2. admin November 4th, 2008 2:56 am

    Do you have debugging mode enabled on the phone? You will probably want to check out Google’s instructions for this scenario:
    http://code.google.com/android/intro/develop-and-debug.html#developingondevicehardware

    Note that Windows XP may need the USB driver from Google.

  3. Sudheendra August 23rd, 2010 5:28 am

    Hi,

    I am trying to develop a Remote Test tool application which runs in background under Android 1.5+ SDK Emulator version Environment. The purpose of this application is to capture the screen shots on Real Physical Device OR Emulator and store in SDCARD, whenever User browses from one screen to another, using this application during running phase. If you have related info / code package for the same, please send it. Thanks. I appreciate your valuable feedback/support and oblige.

    Looking forward to hear from you soon,
    Thanks,
    Narasimha

Leave a reply

Switch to our mobile site