[android-developers] Re: PC as USB Host for Android 2.3.4

2011-07-06 Thread Colin M
It's my understanding that android-platform is for Android OS source code and platform development. Do I have that wrong? I am working with the Android USB Accessory feature, not modifying the platform. My project requires that I work with OTS devices, so I may not even root devices, much

[android-developers] Re: PC as USB Host for Android 2.3.4

2011-07-06 Thread Colin M
In case anyone runs across this, the solution to get past this issue is posted in full on StackOverflow, however, the simple answer is close the device with libusb_close(handle) before reopening as an 'accessory'. Just releasing the interface is not enough and libusb provides no error when

[android-developers] Re: PC as USB Host for Android 2.3.4

2011-07-05 Thread FrankG
Hi Colin, I would say, that your question is a little bit out of scope of this particular group and more related to android-platform. You asked I really just looking for the reason the bulk transfer isn't working .. did you check which usb mode your are using ? I assume, that the nexus one