How to detect when phone is connected to the PC with a USB cable

ranba790

Member
Licensed User
Longtime User
Hi
How can i detect when the phone is connected to a PC with a USB cable and then upload a file to the PC threw the USB connection
Thanks
 

NJDude

Expert
Licensed User
Longtime User
Take a look at the Phone library, especially the PhoneEvents there you can determine if the device is plugged in or not, to transfer files you fill have to create your own routines using ADB, search the forums there are some samples about its use.
 
Upvote 0
Top