简体   繁体   中英

USBDevice is not picking up linux computer

I'm trying to get an android app to communicate with a linux computer running ubuntu 12.04 lts using a usb cable. I'm trying to use the usbdeviceconnection class, but the usbdevice is not picking up the computer when i run it through debug mode or run the app normally. Was wondering if i had to configure the linux machine so that the app can pick up as an usb device or if there's another approach to this.

I was able to find a way to get this to work through port forwarding. Here's the link if anyone else if looking for a solution to a similar problem to this: http://qtcstation.com/2011/03/connecting-android-to-the-pc-over-usb/comment-page-1/#comment-4139

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM