# Connect Accessory Mode

### Overview:

For customers looking to connect their terminal to a mobile device, utilizing accessory mode is an effective solution. This guide provides resources and demo applications to facilitate this connection.

### Reference Documentation:

* Detailed information on using accessory mode can be found in the Android Developer's Guide: [Android USB Accessory](https://developer.android.com/guide/topics/connectivity/usb/accessory).

### Demo Applications:

1. UsbAccessoryHostDemo Application:
   * Download: [UsbAccessoryHostDemo](https://github.com/SmartPOSSamples/UsbAccessoryHostDemo).
   * Usage: Install the [UsbAccessoryHostDemo.apk](https://ftp.wizarpos.com/advanceSDK/UsbAccessoryHostDemo_250605.apk) on the device that is connected via an OTG-USB converter.
2. UsbAccessoryDeviceDemo Application:
   * Download: [UsbAccessoryDeviceDemo](https://github.com/SmartPOSSamples/UsbAccessoryDeviceDemo).
   * Usage: Install the [UsbAccessoryDeviceDemo.apk](https://ftp.wizarpos.com/advanceSDK/UsbAccessoryDeviceDemo_250610.apk) on the device that is directly connected to the cable.

This setup allows for seamless communication between terminals and mobile devices in accessory mode, enhancing connectivity options for various applications.
