Maxis10: How to Screen Capture a HTC Desire Z using Android SDK

The biggest hurdle with the HTC Desire Z is trying to screen capture it. I can’t use another camera, because the screen is so reflective. I also can ‘root’ the phone, since it’s not mine to begin with.

home screen of HTC Desire Z

Anyways, I first started with an App called “ShootMe”. It doesn’t work because it needs to be “root”-ed, just like any other apps. I’ve tried ashot from sourceforge. That doesn’t work too. Now I’m using Adroid SDK on Windows7 platform. It took me 3 days to figure this out.

HTC Sync from your HTC Desire Z

1. Install HTC Sync (file called “setup_3.0.5439.exe”) from your HTC Desire Z using a USB cable. It’s located in the sdcard of the phone. This is to ensure you have the right driver for USB connection.

Java JDK

2. Download & Install Java JDK. This is fairly straightforward.

Android SDK

3. Download & Install Android SDK. Choose your operating system, if you’re on Windows, pick the executable file (recommended)

SDK Manager

4. Run SDK Manager. The SDK Manager will prompt you will all sorts of update. To make life simpler, update all. This will probably take you 1/2 day on wired broadband as each update is about 60-70mb. But if you’re tight, choose “SDK Platform Android 2.2 API8, revision 2”

ADB transfer or Copy and Paste

5. Once the update is done, go to C:\Program Files\Android\android-sdk-windows\platform-tools. Copy the following file and paste it C:\Program Files\Android\android-sdk-windows\tools

  • adb.exe
  • AdbWinApi.dll
  • AdbWinUsbApi.dll

If you don’t do this step, you’ll be prompted with “Failed to parse the output of adb version” or other nasty adb failure. (ADB means Android Driver Bridge)

USB debugging

6. Connect your HTC Desire Z, and go to Menu > Settings > Applications > Development Β and make sure the USB debugging is checked.

DDMS Tool

7. Go to C:\Program Files\Android\android-sdk-windows\tools double click on “ddms.bat”. It will launch a software that looks like this.

DDMS Tool

8. On top, click “Device” and choose “Screen Capture”. Alternatively press CTRL + S.

oh look! I have one mail!

9. Now go do your review or what ever you want to do with it! Have fun.

Leave a comment if you need help or any discrepancies found throughout this tutorial. I’ll try my best to answer them.

ps: The battery life of HTC Desire Z is pretty weak!

Published by

NoktahHitam

I am web developer, who's main concern is to save the trees. Nonetheless

15 thoughts on “Maxis10: How to Screen Capture a HTC Desire Z using Android SDK”

  1. hahaha berusaha keras! nice guide, plain and simple.

    my phone could only last up to 12hrs if it uses the stock Sense ROM. the Friendstream drains a lot of energy, sangat2 lemau. the only thing i can do is delay the sync activities. tapi kalau set camtu, serupa tak payah main social apps langsung T_T

  2. salam bro, memang terbaik la entri ini..memang dari semalam aku dok try screen capture sama mcm bro, 3 software dah install tapi masih lg fail

    akhirnya lepas baca entri ni memang terus boleh dpt, cuma kalau gunakan windows 7, masa nak run android SDK tu kena run as administrator, kalau tak memang tak leh nak update fail sdk android tu

    thanks bro, dah berjaya capture tadi, hehe

  3. No problem bro! Mmg @roslan_nazri pon ckp ini jalan paling mudah πŸ™‚

    Aku nye windows7 tak yah run as admin dah. Aku tukar bagi aku super admin je terus, sbb aku sorg je gune PC aku. hehehe. Good luck!

  4. dah berhari2 try n error untuk screen capture ni..
    campur tutorial ni, dan segala baru lepas nak buat ..
    thanks beb..mintak share kat blog boleh x?

  5. nampak gaya nye pki HTC ni mmg leceh nak amik screen shot ek..

    aku pki Samsung Galaxy S. takyah nak install2 all this thing and tak payah nak root phone.

    aku hold “back” + “home” button je.. nnt die captured screen tu and leh amik dlm gallery. Simple and easy ma.

Leave a Reply

Your email address will not be published. Required fields are marked *