I have an windows application running on the host. It keeps on polling
the usb port and collects the data to file. Unfortunately i do not
have any access to the windows application side. I have understood the
protocol implemented in the windows application. now i am looking to
send the data to the windows application.

As i can see there is only function driver in the kernel for adb. But
i cannot use adb as it has its own protocol for data transfer.
looking for help desperately....

Regards,
Ramy


On Feb 26, 12:26 am, Mike Lockwood <lockw...@android.com> wrote:
> I can't think of any way you can transfer a file from the device to
> the host without having an application running on the host that
> initiates a USB connection to the device and waits for the device to
> send it data.  Or am I misunderstanding your question?
>
> Mike
>
>
>
> On Wed, Feb 25, 2009 at 2:42 AM, Ramy <ramal...@gmail.com> wrote:
>
> > Thnks for the reply Rob, I have tried using adb but it must run  from
> > a host machine. I need something to run on linuxside (on phone/board)
> > which starts the transfer as soon as it is connected to usb.
>
> > any idea ???
>
> > Regards,
> > Ramy
>
> > On Feb 21, 12:28 am, "Stoddard Robert-JWND84" <jwn...@motorola.com>
> > wrote:
> >> I don't know about transferring a file using a program on the phone,
> >> but you should be able to move files around using adb push or adb pull,
> >> depending on whether you want to move a file from the PC to the phone or
> >> vice versa, respectively.
>
> >> Rob
>
> >> -----Original Message-----
> >> From: android-kernel@googlegroups.com
>
> >> [mailto:android-ker...@googlegroups.com] On Behalf Of Ramy
> >> Sent: Thursday, February 19, 2009 6:11 PM
> >> To: Android Linux Kernel Development
> >> Subject: [android-kernel] file transfer using usb to windows pc from
> >> android kernel
>
> >> Hi All,
>
> >> I want to write an user space application (which should run on msm7200
> >> board) to transfer a file to windows pc via USB cable .... I am using
> >> the android kernel.
>
> >> Can any one give me some hooks on this ??
>
> >> Any kind of help is highly appreciated.
>
> >> Thannks
> >> Ramy..- Hide quoted text -
>
> >> - Show quoted text -
>
> --
> Mike Lockwood
> Google android team
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel
-~----------~----~----~----~------~----~------~--~---

Reply via email to