简体   繁体   中英

Android usb and PC communication

How to achieve the communication of Android usb with Linux code. I use the libusb library, and reference the code inside. But it can not communicate. pc code and mobile phone code any one is ok. Thanks !

I think you are trying to move some files between your android device and the PC. An easier way to achieve is by using the adb interface to do that. You could create a batch file or shell script to execute the actions you want to perform on the android device.

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