I have an app that needs copy some files from PC to Android device programmatically through usb cable.After the user connect an Android device in PC via usb cable and click on button 'Copy files from PC to Device', I need to access directory 'c:files_to_app' and copy all files inside that directory to an specific folder in sdcard or root directory Android device.
Download - Copy the.raw file to an USB stick For Windows. If you put those kexts in EFI/CLOVER/kexts/10.11 this parameter is not necessary. Oct 4, 2018 - In this guide we will first install windows 10 and then macOs because. Go to boot menu and select the Clover USB then click save and reboot.
How is the best approach to achieve it?
Note.I know that is possible using ctrl+c ctrl+v, but I really need automate the process.
1 Answer
i think this will be useful....To transfer file from pc to android device via USB Socket Communication is best approach.
You have to do some additional step of port forwarding on which the Socket Communication establish.
![How To Copy Clover To Usb Olarila On Pc How To Copy Clover To Usb Olarila On Pc](https://www.insanelymac.com/forum/uploads/monthly_01_2017/post-1967114-0-72287700-1485765905.jpg)
Look at Tutorial https://github.com/user370305/Android-USB-Communication.