connect htc g1 to external device via mini-usb

155 views
Skip to first unread message

Arie Meir

unread,
Jun 13, 2009, 2:56:51 AM6/13/09
to android-platform
Guys, hi ,

I'm a research student and as an experiment, want to connect an
external flash disk drive
to android via it's usb interface (btw - is it mini, or micro ?).

Before i head into the electronics store, could you help me understand
if what i want
is feasible ?

I intend to connect my flash disk to one side of female-to-female usb
cable.
On the other side, i plan to connect the android usb cable. This is
the flow:

FLASH
ANDROID
DISK F_USB ---------- F_USB M_USB ----------- MINI_USB MOBILE
DRIVE
PHONE

Does it make sense ? what challenges should i expect on this path ?

And now the software : i intend to take a pretty standard usb flash
driver,compile it
for the android platform and install using jni.

What could i use as reference here ?

Please advise : where are the slipping points on this path ?
I've never done something like this before, so please help ;-)

Arie

Andreas Kostyrka

unread,
Jun 13, 2009, 4:29:26 PM6/13/09
to android-...@googlegroups.com

Google first, and no all indicators are that your plan is not feasible.

Andreas

Mike Lockwood

unread,
Jun 14, 2009, 12:10:48 PM6/14/09
to android-...@googlegroups.com
That won't work because the G1 does not support USB host mode. That
is, the G1 is a peripheral device, but cannot accept peripherals
attached to it. Your best bet would be to use an SD card in the
MicroSD slot instead.

Mike
--
Mike Lockwood
Google android team

Andreas Kostyrka

unread,
Jun 14, 2009, 12:25:30 PM6/14/09
to android-...@googlegroups.com

Now that's a curiously sick idea, anyone considered SDIO?

14. Jun 2009 6:10 nachm. schrieb am "Mike Lockwood" <lock...@android.com>:


That won't work because the G1 does not support USB host mode.  That
is, the G1 is a peripheral device, but cannot accept peripherals
attached to it.  Your best bet would be to use an SD card in the
MicroSD slot instead.

Mike

On Sat, Jun 13, 2009 at 2:56 AM, Arie Meir<arie....@gmail.com> wrote: > > Guys, hi , > > I'm a re...

Mike Lockwood
Google android team

--~--~---------~--~----~------------~-------~--~----~ You received this message because you are sub...

Disconnect

unread,
Jun 14, 2009, 4:33:55 PM6/14/09
to android-...@googlegroups.com
No hardware support.

Bzbit

unread,
Jul 1, 2009, 11:31:29 AM7/1/09
to android-platform
Please, forgive me if I’ll ask you some obvious question -
But with "No hardware support" you mean -
No hardware support in G1 for SDIO?


On Jun 14, 11:33 pm, Disconnect <dc.disconn...@gmail.com> wrote:
> No hardware support.
>
>
>
> On Sun, Jun 14, 2009 at 12:25 PM, Andreas Kostyrka<yacc...@gmail.com> wrote:
> > Now that's a curiously sick idea, anyone consideredSDIO?
>
> > 14. Jun 2009 6:10 nachm. schrieb am "Mike Lockwood" <lockw...@android.com>:
>
> > That won't work because the G1 does not support USB host mode.  That
> > is, the G1 is a peripheral device, but cannot accept peripherals
> > attached to it.  Your best bet would be to use an SD card in the
> > MicroSD slot instead.
>
> > Mike
>

Baron

unread,
Jul 19, 2009, 6:23:07 AM7/19/09
to android-platform
Sorry if this is considered thread hijacking, but I was wondering if
there was some way to interface an nint3ndo controller with the g1 or
similar android device that makes use of minib usb. The physical part
is possible and I'm sure someone has gotten it to work with wind0ws as
well as linux. Would it be as simple as following a guide for linux?
The reason being there are tons of games available if a controller
could be mapped to the emulator. It would be pretty ballin to walk
around with a nintendo controller plugged into your phone and be on it
while bouncing on turtles.

Jean-Baptiste Queru

unread,
Jul 19, 2009, 11:24:43 AM7/19/09
to android-...@googlegroups.com
My first reaction is to consider bluetooth a much more logical option
for such a use case, especially as it'd open up an entire class of
input devices, not just games console controllers.

That being said, your idea sounds technically possible. A key aspect
is going to be whether you can do this with hardware that's readily
available so that your code can actually be tested by other people.

JBQ
--
Jean-Baptiste M. "JBQ" Queru
Software Engineer, Android Open-Source Project, Google.

Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.
Reply all
Reply to author
Forward
0 new messages