CloudPOS SDK: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
== SDK Link == | == SDK Link == | ||
Please download the [ | Please download the [ftp://sdkuser:wizsdkar@ftp.wizarpos.com/cloudpos_SDK_v1.5.0_2019-01-10.zip SDK 1.5.0]. | ||
== Device API == | == Device API == | ||
There are three layers of device API, C API, JNI API and Java API.<br> | There are three layers of device API, C API, JNI API and Java API.<br> |
Revision as of 08:19, 28 January 2019
SDK Link
Please download the SDK 1.5.0.
Device API
There are three layers of device API, C API, JNI API and Java API.
C API
The C API offers header files definition and the relevant so library is already included in the system. The application developers can create the native so library by the C API to implement their business logic. So the implementation will be more secure than Java implementation. For example, the EMV library can use C API.
JNI API
The JNI interface wrappers the C API to help the Java developer to use C API.
Now we recommended you to use Java API instead of JNI API.
Java API
Java API is packaged as an aar library file, it can be used by Android developer easily. You can download the latest aar library file from below link.
Permissions
To get the access of any financial devices of terminal, the application must apply the relevant permissions in the manifest file.
- Permissions definition
Printer ESC Commands
The printer of terminal support ESC commands. Please refer to the specification: