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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.