On Sep 27, 2:28 am, Jay <[email protected]> wrote: > I am looking into to Interfacing an Android Phone with a PIC > Microcontoller and retrieve data via the USB port. How would I go > about doing this? What API calls do I need to make to retrieve data > from the PIC? And will it be easier if I were to do this via > BlueTooth instead of USB by adding a BlueTooth module to my PIC?
The current android phones are USB devices only, they do not function as USB hosts. So to do this with USB, you would need a PIC that can be a USB host. Bluetooth probably is more practical as some progress has been made on getting rfcom working (see the unofficial bluetooth api community project) There also is/was a debug serial port on the extusb connector that might be an option, though may require a custom kernel? Anyone you cut it, this is a quite advanced project - not to say that you shouldn't tackle it, but you will end up learning a lot about the internals of android before you get it working. --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
