CloudPOS SDK: Difference between revisions
No edit summary |
No edit summary |
||
Line 16: | Line 16: | ||
=== Java API === | === Java API === | ||
Java API is packaged as an | 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. | ||
*[http://{{SERVERNAME}}/wizarposapi/ API Spec] | *[http://{{SERVERNAME}}/wizarposapi/ API Spec] | ||
*[ftp://sdkuser:wizsdkar@ftp.wizarpos.com/device/java/doc1.5.1.zip API Spec Download] | *[ftp://sdkuser:wizsdkar@ftp.wizarpos.com/device/java/doc1.5.1.zip API Spec Download] | ||
Line 33: | Line 33: | ||
* [[EMV Develop Spec]] | * [[EMV Develop Spec]] | ||
== | == Bar code == | ||
* [[Use Scan Service]] | * [[Use Scan Service]] | ||
* [[Use Barcode Libary]] | * [[Use Barcode Libary]] | ||
Line 39: | Line 39: | ||
== Full Screen == | == Full Screen == | ||
* [[Make full screen using system API]] | * [[Make full screen using system API]] | ||
* [[Make full screen using android provided | * [[Make full screen using android provided API]] | ||
* [[Disable Home Key]] | * [[Disable Home Key]] | ||
== SDK Link == | == SDK Link == |
Revision as of 09:45, 11 March 2019
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: