I'm currently investigating what possibilities to establish an USB
communication channel between a Windows PC and an Android phone. The
perfect solution would be a TCP/IP tunnel or something similar. (This
post is *NOT* about USB Thethering by the way).
From what I have found out so far there's no easy way of doing this
yet. The only possibility I have found is to enable USB debugging on
the phone and use ADB to configure a port forwarding. Enabling USB
debugging, however, is an action the potential end user would have to
perform manually... That's something I wish to avoid. The
communication between my phone application and my PC desktop
application should be established automatically and transparently as
soon as the phone is plugged into USB port.
I just wondered whether the newly released NDK might be of some help?
Would it be possible to use the NDK to establish any communication
channel, socket, whatever over USB?
Thanks for your help,
-- André
http://android.rabold.org