The com.android.future.usb.accessory library is an option library in the Android™ OS. This library was added to v2.3.4+ as an optional API plug-in. The support for this library varies depending on the manufacturer and OS release version for each device. Many phones/tablets do not include this library. Applications using this library will not install on devices that do not have this library installed on it. Support for this library can be added or removed on any OS update based on how that release is built.
There is a second library, android.hardware.usb.accessory, which is available in Android version 3.1 or later. You can try using the v3.1 demo app to see if this library is accessible on the phone/tablet. In our experience, this library also has mixed support from device to device.
We have an example App showing how to use the USB Host API located in various phones/tablets that support USB host functionality. The App can be downloaded directly from Google Play at the following URL:
The source code can be found at “
The source code linked from www.microchip.com/android but can be more directly found at www.microchip.com/mla. The Android source code is just a small portion of that distribution. The OpenAccessory firmware and example app code will be in the “