Java Android USB Communication

  • Replies:0
Leo Santos
  • Forum posts: 2

Mar 19, 2013, 12:49:10 AM via Website

Hi people!

I'd like to send a object/string from Android device to PC in Java over USB. It is possible? Basically a client/server over USB.

Actually, using the emulator, I can access the server socket via the special 10.0.2.2 address. Over Wi-fi, i can acess with 192.168.1.X adresss. And over USB, how it works?

According to this android.serverbox.ch/?p=370, I guess it's possible but, how I do the sample code in java instead of phyton? any ideias?

Tks in advance!

Reply