CloudPOS SDK: Difference between revisions
Line 34: | Line 34: | ||
* [[How to use android provid method to make full screen|Make full screen using android provided api]] | * [[How to use android provid method to make full screen|Make full screen using android provided api]] | ||
* [[how to disable home key|Disable home key]] | * [[how to disable home key|Disable home key]] | ||
Revision as of 06:45, 19 November 2018
Device API
There are three layers of device API, the lower layer is C, the device provides C interface, and the third-party app writes their own JNI source by calling the C interface. The middle layer is JNI interface, wizarPOS writes JNI source and generates the device so files, so the third-party app just uses the JNIInterface to finish the calling. The upper layer is Java interface, wizarPOS provides Java interface for the third-party app, the third-party app only needs to import the .aar pakcage to their libs. The app should request permissions in manifest file.
- Permissions defination
- WizarPOS printer ESC commands