Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using HTC wildfire for android development

Tags:

android

I would like to know whether is it possible to use my HTC wildfire (some links would be nice) for android development instead of the emulator.

I have tried to find the information by Google, but so far no useful results.

If I get more information, I'll update here.

alt text

[When I used wildfire with eclipse, I got this.]

Thank you very much.

like image 920
udpsunil Avatar asked Oct 16 '10 04:10

udpsunil


3 Answers

From your screenshot, it looks like you do not have the permissions set properly to access the USB device.

Either try to run the adb service as root:

$ sudo adb kill-server; sudo adb start-server

OR, the more permanent solution is to set up udev rules for USB device permissions. See the instructions in step 3 of the android Developing on a Device page.

Log in as root and create this file: /etc/udev/rules.d/51-android.rules. The udev system checks this file for special cases when devices are detected.

Edit the file to read: SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"

This sets permission bits on the dev node to world read and writeable for the special case where the USB vendor ID is equal to 0bb4.

Now execute: chmod a+r /etc/udev/rules.d/51-android.rules

... gives world read permission to these android rules which is needed to let the udev daemon process this new rule.

like image 156
akent Avatar answered Nov 18 '22 01:11

akent


Sure, all you need is to install the USB driver and follow the directions from here. The USB driver is included in the HTC Sync software, which you can get here.

like image 44
JRL Avatar answered Nov 18 '22 01:11

JRL


Go to htc website

http://www.htc.com/europe/SupportViewNews.aspx?dl_id=982&news_id=769

and download the driver

and just connect the htc phone to the pc and run the application from eclipse.

No configuration needed. It directly runs on the phone instead of emulator.

Cheers!

like image 1
Sharique Avatar answered Nov 18 '22 00:11

Sharique