How to Use Accessory Agent Service with D22 and Q3 Devices

From wizarPOS

Introduction

D22 can connect with Q3 via USB cable. The D22 works in master mode and the Q3 works in slave mode. By the helping of the AccessoryConnectionAgent apk, the application in two terminals can send Intent to any other application in another terminal.

User Manual

Accessory Connection Agent service user manual

AccessoryConnectionAgent Service APK

By default, the AccessoryConnectAgent is included in the D22 and Q3 FW. But it maybe not exists in the old FW, so the developer should install the agent by themselves. Here is the agent apk:

Accessory Connection Agent APK

Demo

Demo for APK developing.

Demo

Init USB Connection Mode in Development

By default, the AccessoryConnectionAgent is disabled, the developer can use this apk to enable it.
For the production FW, the agent will be initialized before releasing from factory. Please download and install to D22 and Q3.

APK for enable or disable the Accessory Connection Agent service