You may have seen the cool HTC Desire screenshots we have taken for our user guides and you are wondering, “How did they do that?”
The HTC Desire runs Android 2.1 and, as of now, no applications are available that allow for on-device screenshots. This guide will provide you with the software you need and show you how to get perfect screen captures from your device.
Two separate pieces of software are required and must be installed on your PC:
Once your downloads are complete a few steps are required to get things ready.
On your computer:
- Extract the Google Android SDK to a folder on your desktop
- Install the the Java SE SDK
On the HTC Desire:
- Press the Home icon, press Menu and then tap Settings (figure 1)
- Tap on Applications
- Tap on Development
- Check the box for USB debugging
Now you are ready to get started.
- Plug your HTC Desire into your computer via USB and Windows will attempt to install all of the appropriate drivers; one of the drivers will not be found and thus you must proceed to Device Manager in your Control Panel and find the HTC Desire (there will be a yellow icon next to it)
- Right-click on the HTC Desire entry and select properties; instruct Windows to update/install the driver for this device and when asked, simply browse to the usb_driver folder inside of the Android software development kit folder that you extracted to your desktop earlier — the device is recognised and the driver is installed
- Browse to the Android SDK folder that you extracted to your desktop and run the SDK Setup.exe to start the program
- Once the application has launched you will be presented with a window as shown in figure 2 above
- Click on the Refresh button so that the application can update its list of operating system SDKs available from Google
- Check off the section next to the URL that is shown in the application (figure 2); you are now presented with a list of Android SDKs and Google APIs you wish to install
- It is recommended that you select select all available packages for maximum compatibility
- Once the files have been downloaded simply close the application
- Browse to the Tools folder inside the Android SDK folder you extracted to your desktop
- Double click on DDMS.BAT to execute the Dalvik Debug Monitor
- The application will launch with a DOS command window and eventually a Windows based application — your phone will be listed on the left hand side, and you should click on it to make sure it is selected
- Click on the Device menu and select Screen Capture or use the CTRL-S key combo
- The capture now appears on your screen, but there is one final undocumented step
- We recommend that you click on the Copy button and paste the screenshot into your image editor of choice (Microsoft Paint, Adobe Photoshop, etc) — the reason for this is that there is a known bug that does not carry over the colours of the actual screenshot inside the capture utility
Voila! You now have a stunning screenshot from the display on your HTC Desire. Repeat steps 12-14 to generate more screenshots.