The simplest way to do that is to use a USB-to-serial converter and program your Android app to talk to the converter module using the USB SPP protocol. Then your micro controller program is simply talking over its UART. If you want to stay with USB all the way, then you will have to use a micro with a USB interface and implement the SPP protocol on that micro. This is not easy. USB is not a generic communication protocol like serial async. The Android system needs to have a driver to the specific USB protocol you want to use. Besides SPP, you could use the HID protocol and make your micro controller emulate a keyboard. Then your application would have to be structured so as to use a keyboard interface, which is quite restrictive on your application. Overall, I would say the converter module is the easiest approach.
Robert Scott Hopkins, MN -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

