If you don't want to touch the platform code you won't be able to do what you wanted. But you should be able to do the same using the Bluetooth interface. Normally most of the PC are equipped with Bluetooth and you can use socket communication to talk over Bluetooth to your PC.
-- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Aug 14, 9:52 pm, Zeeshan Khan <zeeshanno...@gmail.com> wrote: > Thanks for reply, > > Ok so i think there is no way to develop an application with feature which > can connect to PC(without any individual configuration with PC as it would > not be feasible) . > > On 8/15/09, Roman ( T-Mobile USA) <roman.baumgaert...@t-mobile.com> wrote: > > > > > If you want to use the USB as a ethernet network interface then it is > > not supported. > > > You have to port the USB network support. > > > -- > > Roman Baumgaertner > > Sr. SW Engineer-OSDC > > ·T· · ·Mobile· stick together > > The views, opinions and statements in this email are those of the > > author solely in their individual capacity, and do not necessarily > > represent those of T-Mobile USA, Inc. > > > On Aug 14, 10:05 am, Chris Stratton <cs07...@gmail.com> wrote: > > > On Aug 14, 8:23 am, Zeeshan Khan <zeeshanno...@gmail.com> 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---