views:

224

answers:

1

Dear Forum,

I have an app developed and deployed on my HTC mobile phone. I am able to debug this in eclipse with the USB driver SDK. The mobile phone appears now in the hardware manager ADB interface.

I would now be able to send data through this USB connection to the mobilephone wich my app is able to handle. I know some tethering software wich does this, therefore there must be a way to communicate with user data and with my app.

thanks for your ideas!

regards

phil

A: 

Hello,

Have you find a solution? I'm developping a little aps on android, and i want to send some data through USB connection to Host (PC or other device), actually i'm trying to read data on PC with an USB port reader, but i don't success to send any data with my app, in fact i don't know which library to use or which functions

If someone have any ideas, i want just to send a data like "b1pushed" or "b2pushed" to inform host that the user pushed buttons on android phone (i have HTC legend, android 2.1)

Thanks you, Lempreur

Lempreur
For android you need to enable usb debugging on the phone and use the adb tool from the sdk (or something based on its open source code) on the pc.
Chris Stratton