How to Connect Terminals to Mobile Devices Using Accessory Mode: Difference between revisions
(Created page with "Some customers want to connect terminal to mobile, they can use accessory mode. Document: https://developer.android.com/guide/topics/connectivity/usb/accessory demo:[http:...") |
No edit summary |
||
Line 1: | Line 1: | ||
== 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: [https://developer.android.com/guide/topics/connectivity/usb/accessory Android USB Accessory]. | |||
== Demo Applications: == | |||
# '''UsbAccessoryHostDemo Application:''' | |||
#* Download: [http://ftp.wizarpos.com/advanceSDK/UsbAccessory.zip UsbAccessory.zip] | |||
#* '''Usage:''' Install the [http://ftp.wizarpos.com/advanceSDK/UsbAccessoryHostDemo.apk UsbAccessoryHostDemo.apk] on the device that is connected via an OTG-USB converter. | |||
[http://ftp.wizarpos.com/advanceSDK/UsbAccessoryHostDemo.apk UsbAccessoryHostDemo.apk] | # '''UsbAccessoryDeviceDemo Application:''' | ||
#* '''Usage:''' Install the [http://ftp.wizarpos.com/advanceSDK/UsbAccessoryDeviceDemo.apk UsbAccessoryDeviceDemo.apk] on the device that is directly connected to the cable. | |||
[http://ftp.wizarpos.com/advanceSDK/UsbAccessoryDeviceDemo.apk UsbAccessoryDeviceDemo.apk] | This setup allows for seamless communication between terminals and mobile devices in accessory mode, enhancing connectivity options for various applications. |
Revision as of 22:22, 24 December 2023
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.
Demo Applications:
- UsbAccessoryHostDemo Application:
- Download: UsbAccessory.zip
- Usage: Install the UsbAccessoryHostDemo.apk on the device that is connected via an OTG-USB converter.
- UsbAccessoryDeviceDemo Application:
- Usage: Install the UsbAccessoryDeviceDemo.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.