Android USB Connection

I need my application to connect to a PC via a USB cable and send / receive data continuously.

I want to use ObjectInputStream/OutputStreamfor this.

  • Is TCP the only way?

  • Is this the only way to install ADB and use ADB for this? Can't I transfer data without a user to install ADB?

+5
source share
2 answers

you can use USB modem support in this case. turn on the snap function and listen on the cup jack. (If you use a USB modem, you must disconnect it before using USB to transfer files between your phone and computer.)

0
source

Android- , USB-.

0

All Articles