On Aug 14, 8:23 am, Zeeshan Khan <[email protected]> wrote: > Hi, > Is it possible to connect to PC through USB from android application. > > Or is it possible by any other way. > I want to connect to it to transfer data(video)
If you have USB debugging turned on, you can use the ADB program on the PC to push or pull files, install applications... and you can also forward a tcp port from the pc to the device, and send arbitrary data between applications over that. Look in the SDK docs about ADB. Presumably the relevant functionality from the ADB tool could be duplicated in some other PC application. I don't know if android supports means of using the USB when debugging is not enabled, other than enabling USB mass storage which is find for dumping files onto the device but not really usable by applications themselves. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

