I am looking for a solution to do USB host programming on Android using the new USB features.
Does anyone have experience with this already? Does it really work? Are there any particular limitations? What would be the best place to start?
I checked http://developer.android.com/guide/topics/usb/host.html, but ideally need a working example.
I would regret the investment in a new Android phone/tablet just to do the development and then find out that certain USB functions do not work.
What I am particularly interested in is if there is experience doing serial communication over a FTDI chip using Android USB host programming.
In particular I would like to know if anybody has used the library from slickdevlabs to do this – is it worth it or can one just pick up any example code (like bluetooth) and go from there?
Many thanks
I know it’s been coincidentally a year exactly since you asked this question, but I am currently using the slickdev library to talk to FTDI devices. There is an issue however.
Somewhere along the line, I lose a few bytes of data, as well as picking up in my data the header bytes. So I am losing like 3 bytes of data, but gaining 4 bytes of header data. The header data is 0x0162, basically saying it’s sending 62 bytes of data.
I’m still hoping to use the slickdev library, but unless I can get around that issue, I’m going to have to write something from scratch, under the pretense that writing from scratch will allow me the control I need in order to change settings not allowed control over with slick.