Quote:
Originally Posted by MAldridge
The usefulness is besides the point. I am between projects at the moment and this one was in my folder of not entirely bad ideas. I thought about TCP, but I'd really rather use USB if at all possible.
Is there no good way to open a communications link between a PC and android over USB?
|
I was just very curious about your plan on how to actually use this.
In either case, adb creates a network connection via USB. Development/debugging is then routed through this. Apparently, both the phone and the computer receive IP addresses to use this new connection. This requires that the phone be set into USB debugging mode, and the appropriate drivers installed. It seams like someone else asked a similar question here:
stackoverflow...tcp-connection-from-phone-to-debugging-host
This is why I suggested choosing TCP/IP for your comms stack. It is then usable over this USB debugging connection, Ethernet, WiFi, etc. Good Luck. Keep us posted on your progress, I'm curious how you would use this.