There's no simple (and perhaps none at all) way to do this on the
system that runs on the G1. There might be a way to do this through
JNI, but it would be fragile and difficult to develop, if it were even
possible. You can, of course, modify the system itself and install on
custom hardware (or an Android Dev Phone 1). This route requires
experience with Linux system and/or kernel programming though.

Cheers,
Justin
Android Team @ Google

On Dec 30, 7:53 am, rr...@scires.com wrote:
> Justin,
>
> You say "In 1.0 you don't have access to theUSBport via the Java API
> layer. ".  Does that imply that there is another interface that may
> allow me to access theUSBport?  We would like to use the G1 as acontrolhead 
> for several devices and a wireless link will not be
> appropriate.  We are hoping to use theUSBto getcontrolinformation
> and data back and forth.
>
> Thanks,
> Rob
>
> On Dec 15, 5:39 pm, "Justin (Google Employee)" <j...@google.com> wrote:
>
> > Pavel,
>
> > It sounds like you're trying to do hardware development, and the SDK
> > isn't really designed for this. You can modify the source and,
> > assuming you have a developer device, flash your new system on to your
> > device.
>
> > Its unlikely that any device will ever support simultaneous access to
> > the SD card by the device and a host computer. The file system of the
> > SD card (FAT32) is not designed for this type of multi-host access.
>
> > Cheers,
> > Justin
> > Android Team @ Google
>
> > On Oct 27, 3:59 pm, Pavel Antokolsky aka Zigmar <zig...@gmail.com>
> > wrote:
>
> > > On Oct 24, 6:35 pm, "Justin (Google Employee)" <j...@google.com>
> > > wrote:
>
> > > > In 1.0 you don't have access to theUSBport via the Java API layer.
> > > > What is the goal of your project?
>
> > > Hello Justin,
> > > I'm unsure what Chamika is doing, but I have a similar problem. My app
> > > needs to communicate with a hardware device (an embedded device,
> > > running WindowsCE and acting asUSBhost). Currently, I'm kinda stuck
> > > because I can't figure out how to do this. I was hoping to accomplish
> > > this by making my app write and read to files at SD Card, while the
> > > other device would access those files via mass storage interface, but
> > > as discovered recently (discussed in this topic:http://tinyurl.com/6xxovg)
> > > an android app can't write on SD card while it is accessible viausb
> > > (at G1 unit at least). Could you suggest some direction to look at,
> > > please?
>
> > > Best Regards,
> > > Zigmar- Hide quoted text -
>
> > - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to