See this discussion : http://www.mail-archive.com/[email protected]/msg09683.html
When you write : "I am develop an application to communicate with a desktop application over USB" how would you like to communicate from you app to the desktop application ? Which rule should USB play for you ? Good luck ! Frank On 5 Aug., 16:55, Gaurav Khurana <[email protected]> wrote: > Hi, > > Is there a way to forward the remote port i.e. port on the android > device/emulator to the local machine to which the device is connected? > using adb or using any other method? I am develop an application to > communicate with a desktop application over USB. The desktop > application listens for connections on a particular port. > > The documentation of adb states that: > $ adb forward tcp:port1 tcp:port2 # forwards the local port port1 on > the machine to port2 on the device. > > Thanks in advance! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

