YuuichiAkagawa/Arduino-AOA2

Trying to interface via USB to Android

Closed this issue · 5 comments

Dear Akagawa-san,
I found your library here, and hoped you might help me with my research. I am trying to connect an existing touch screen device which is implemented as an HID multi-touch class device to Android. The device currently works well with Windows and Linux, but does not work with Android.
I wonder if it has to be implemented using AOA2 and being a host rather than a device to work.
I was thinking of implementing an Arduino based AOA compatible interface for this, and wonder if your library should be used with the USB Host shield, or can it also be used with the Arduino Mega ADK (http://arduino.cc/en/Main/ArduinoBoardMegaADK?from=Main.ArduinoBoardADK).
thanks a lot!
Israel Roth

If your device supports AOA, it's right. I think the advantages of using AOA are power supply.
If use with Yaoadk(https://github.com/ADKstudyGroupTokyo/Yaoadk), you can support various Arduino boards.

thanks!
is it possible to implement HID device with AOA not requiring an Android app to be launched but rather affecting the whole UI of all applications? My device is a touch screen, so it is supposed to work for all apps.

Possibly. But I don't know detailed spec.
My device is mouse only.
https://www.youtube.com/watch?v=2PFw1OzZ1Mw

AOA2 document is only this. Too less.
http://source.android.com/accessories/aoa2.html

Dear Akagawa-san,
I have a question.Do you plug in mouse into the android phone can be use?
Don't install app?
thanks a lot!

Of course !
If your Android phone is supports USB Host, not required any apps.
https://www.youtube.com/watch?v=2PFw1OzZ1Mw

HID over AOA2 and USB Host HID is same function.
But direction of the power supply is the opposite.

  • USB Host : phone to mouse
  • AOA : mouse to phone