question

fingerdownyournose avatar image
fingerdownyournose asked

Including the Google API USB libraries

Hi, I'm testing my Android accessory with matching app (which work on other android devices) on the Kindle Fire HD 8.9". when installing the application, I get the following message in the Console : Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY And the following message in the LogCat : Package _____ requires unavailable shared library com.android.future.usb.accessory Does the kindle fire HD support com.android.future.usb.accessory or android.hardware.usb.accessory ? If so, does this error message mean that I need to upgrade my Kindle Fire or my ADT support libraries ? If not, where can I get information on the Kindle Fire HD USB library ? Thank you
fire tablet
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Sujoy@Amazon avatar image
Sujoy@Amazon answered
Hi Fingerdownyournose, Thank you for posting. Could you please post sample code what works in Android devices and not in Kindle?
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Sujoy@Amazon avatar image
Sujoy@Amazon answered
Hi Fingerdownyournose, com.android.future.usb.accessory is part of Google API and this is currently not supported in Kindle. Please provide us the sample code or app code to demonstrate the USB Accessory stuffs you would like to implement for Kindle HD? We would help you out to find the correct developer resource for that. You could send the code through ContactUs ( https://developer.amazon.com/help/contactus.html) if you do not want to share it publicly. Please mention this thread url ( https://forums.developer.amazon.com/forums/thread.jspa?threadID=1244&tstart=0) in the ContactUs case. Thanks.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Sujoy@Amazon avatar image
Sujoy@Amazon answered
Hi Fingerdownyournose, We have received your ContactUs. We would continue discussing the issue in the case you created through ContactUs. Thanks.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

fingerdownyournose avatar image
fingerdownyournose answered
Just thought I'd write the answer to my question, as resolved through email exchanges with Amazon support, which I thank greatly, and also some extra info on this subject for fun. -There are 2 Google USB Accessory APIs : com.android.future.usb and android.hardware.usb. The former is for Android 2.3.4+ and the latter for Android 3.1+. http://developer.android.com/guide/topics/connectivity/usb/accessory.html -In both of those APIs, the USB communication takes place with the Kindle acting as USB DEVICE and the Kindle Accessory as USB HOST; -The Kindle Fire HD 7" is compatible with both Google USB Accessory APIs; -The Kindle Fire HD 8.9" is NOT compatible with either Google USB Accessory APIs. Same goes for some other Android devices. Microchip makes an App that can tell you if your device is supported : https://play.google.com/store/apps/details?id=com.microchip.android.AccessorySupportDetection&hl=en They also have a list of compatible devices on their website : http://www.microchip.com/pagehandler/en-us/technology/smartphoneaccessory/resources/androidphones.html -The Kindle Fire HD 8.9" WILL NOT be updated to address this issue in the near future; -To enable a USB communication where the Kindle Fire HD acts as a USB HOST and the Kindle Accessory as a USB DEVICE, an adapter is required. Same goes for some other Android devices.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

fingerdownyournose avatar image
fingerdownyournose answered
After communicating again with Amazon support, no USB library is supported, no matter the mode, on any Kindle device. This appliest to Kindle Fire 7, Kindle Fire 8.9, Kindle Fire HDX 7, Kindle Fire HDX 8.9, and any other Kindle device. Kindle Fire 7 first supported USB accessory libraries, but that was later removed for good.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.