Android apps, communicating with a device plugged in the USB port

前端 未结 4 585
名媛妹妹
名媛妹妹 2020-11-27 12:13

I\'m thinking about an Android app (with possibly an accompanying physical device), and I\'m trying to figure out whether this is something that\'s feasible.

1) Let\

4条回答
  •  攒了一身酷
    2020-11-27 13:00

    Communication between Android Device and PC is possible in one more way.

    Through ADB connection via USB.

    1. Port Forwarding.
    2. Server Socket JAVA Program.
    3. Client Socket Android App.

    Through this app can communicate with the our JAVA Program running on PC.

    http://www.anothem.net/archives/2010/10/15/android-usb-connection-to-pc/

提交回复
热议问题