Tuesday, August 3, 2010

Developing Android application on HTC Wildfire, under Windows 7

In the article "Developing Android application on real phone", it's described how to develope Android Application on real phone (HTC Wildfire), under Linux Ubuntu.

How about that under Windows 7? I tried to install USB Driver for Windows, follow the instruction from Google. But, the phone cannot be detected, and cannot install the drivers finally.

Recently, HTC release HTC Sync™for HTC Wildfire, for Windows. The application come with all needed driver, include ADB. There are no extra works needed. Just follow the normal steps as described in "Developing Android application on real phone".

please note that you have to enable USB Debugging on phone, when install HTC Sync™for HTC Wildfire.

Tips 1:

If you cannot see the HTC Sync option when you connect your phone to the computer via USB, please follow the

Instructions below:

1. Make sure you select USB Debugging in Settings > Applications > Development before connecting your phone to the computer

2. Connect you Phone to the PC and wait 20 seconds for your phone to install HTC Sync on your phone.

3. Unplug the USB sync cable. Wait for 5 seconds. Reconnect the Phone to the PC using the USB cable.

4. Select “HTC sync” and wait for HTC Sync to recognize your Phone. This process could take up to a minute your first time connecting to the computer.

One more experience I want to point out here:
When the phone is connected to PC, the SD Card will be unmouted from the phone, and redirected to be mounted on PC. Such that if you develope a app on a connected phone, it cannot access the SD Card actually. You have to disconnect the phone from PC to make it run as normal.



5 comments:

Unknown said...

Hi,

Pretty useful post.
I spent almost a day scratching my head to get my android code runing on the wildfire.

The machine would just not recognise the device.

Downloaded the driver from the link u gave and it works fine now.

Thanks Again
-Anon

Unknown said...

THANKS !
Very useful, I didn't realize HTC sync adds that damn ADB USB drivers... :)

arto said...

One other thing you can try if you can't get the USB debug drivers installed on Windows 7 64 bit is to install PDANet, it comes with the appropriate drivers. (Then again maybe they just install correctly from the SDK nowadays?)

BANNADA MANASU... said...

I downloaded setup_3.0.5481.exe from http://www.htc.com/uk/SupportViewNews.aspx?dl_id=982&news_id=737.

When I tried to execute it I got an error saying "Not a valid Windows 32 exe".

What should be the solution for this?

Sunil

Tony Le said...

works great bro, really helpful! had to use these instructions for driver to work http://www.androidsim.net/2009/08/how-to-1-how-to-install-usb-driver-on.html