Basic Accessory Demo

Basic Accessory Demo


This demo provides a simple example on how to interface from an Android device to an accessory using the Open Accessory framework added in v2.3.4+ and v3.1+ versions of the Android OS. The demo controls 8 LEDs on the board by touching the LED pictures on the screen, indicates the push button status of the board, and provides a percentage indication of the potentiometer. This demo also only shows how to use the host mode accessory implementation using the API10 android.hardware.usb library. This version works only for v3.1+ devices (API12+).

The firmware, documentation, and additional information are available at www.microchip.com/android.

Version 1.4
* Fixed issue where data from the Android device was sent twice to the Accessory (introduced in v1.3)

Version 1.3:
* Workaround issue where Read() call does not throw exception upon close. This allows the use of orientation changes, back button, and home button
* Requires new firmware to take advantage of these features. Firmware will be available in October at www.microchip.com/mal in the v2011-10 release.


Version 1.2:
* added Japanese, Korean, and Chinese Localization support.
* disabled LED buttons when accessory is not attached.

Version 1.0:
* Initial release supporting v3.1+ devices with android.hardware.usb library (API12)
* Supports host mode accessories only.

Recent changes:
* Fixed issue where data from the Android device was sent twice to the Accessory (introduced in v1.3)
Add to list
Free
89
4.5
User ratings
11
Installs
1,000+
Concerns
0
File size
100 kb
Screenshots
Video of Basic Accessory Demo Screenshot of Basic Accessory Demo Screenshot of Basic Accessory Demo

About Basic Accessory Demo
This demo provides a simple example on how to interface from an Android device to an accessory using the Open Accessory framework added in v2.3.4+ and v3.1+ versions of the Android OS. The demo controls 8 LEDs on the board by touching the LED pictures on the screen, indicates the push button status of the board, and provides a percentage indication of the potentiometer. This demo also only shows how to use the host mode accessory implementation using the API10 android.hardware.usb library. This version works only for v3.1+ devices (API12+).

The firmware, documentation, and additional information are available at www.microchip.com/android.

Version 1.4
* Fixed issue where data from the Android device was sent twice to the Accessory (introduced in v1.3)

Version 1.3:
* Workaround issue where Read() call does not throw exception upon close. This allows the use of orientation changes, back button, and home button
* Requires new firmware to take advantage of these features. Firmware will be available in October at www.microchip.com/mal in the v2011-10 release.


Version 1.2:
* added Japanese, Korean, and Chinese Localization support.
* disabled LED buttons when accessory is not attached.

Version 1.0:
* Initial release supporting v3.1+ devices with android.hardware.usb library (API12)
* Supports host mode accessories only.

Recent changes:
* Fixed issue where data from the Android device was sent twice to the Accessory (introduced in v1.3)

Visit Website
User reviews of Basic Accessory Demo
Write the first review for this app!
Android Market Comments
A Google User
Sep 30, 2011
Works out of the box, unlike Arduino demo Thumbs up to Microchip for having a fully working demo with their kit. Without the Google I/O shield the Arduino demo by Google is useless leaving you running to Radio Shack and hacking your way through. Downloaded all the software from Microchip and had the demo up and running within 30min!
A Google User
Sep 30, 2011
Works out of the box, unlike Arduino demo Thumbs up to Microchip for having a fully working demo with their kit. Without the Google I/O shield the Arduino demo by Google is useless leaving you running to Radio Shack and hacking your way through. Downloaded all the software from Microchip and had the demo up and running within 30min!
Chris
Sep 30, 2011
Works out of the box, unlike Arduino demo Thumbs up to Microchip for having a fully working demo with their kit. Without the Google I/O shield the Arduino demo by Google is useless leaving you running to Radio Shack and hacking your way through. Downloaded all the software from Microchip and had the demo up and running within 30min!
Chris
Sep 30, 2011
Works out of the box, unlike Arduino demo Thumbs up to Microchip for having a fully working demo with their kit. Without the Google I/O shield the Arduino demo by Google is useless leaving you running to Radio Shack and hacking your way through. Downloaded all the software from Microchip and had the demo up and running within 30min!