This provides a mechanism for developing applications to work with USB accessories in versions of android prior to the introduction of the android.hardware.UsbManager APIs. Applications should link against the com.android.future.usb.accessory library to use this support. Change-Id: I0b61e20b63eec42c506f0895a0c9a439bdfdf7f5 Signed-off-by: Mike Lockwood <lockwood@android.com>
11 lines
547 B
Plaintext
11 lines
547 B
Plaintext
This is a test app for the USB accessory APIs. It consists of two parts:
|
|
|
|
AccessoryChat - A Java app with a chat-like UI that sends and receives strings
|
|
via the UsbAccessory class.
|
|
|
|
accessorychat - A C command-line program that communicates with AccessoryChat.
|
|
This program behaves as if it were a USB accessory.
|
|
It builds both for the host (Linux PC) and as an android
|
|
command line program, which will work if run as root on an
|
|
android device with USB host support
|