CloudPOS SDK: Difference between revisions

From wizarPOS
No edit summary
Line 1: Line 1:
== CloudPOS SDK ==
== Device API ==
This is SDK, welcome
=== Device API ===
There are three layers of device API, the lower layer is C, the device provid C interface, and the third app to write their own JNI source by calling the C interface.
There are three layers of device API, the lower layer is C, the device provid C interface, and the third app to write their own JNI source by calling the C interface.
The middle layer is JNI interface, wizarPOS write JNI source and generate the device so files, so the third app just use the JNIInterface to finish the calling.
The middle layer is JNI interface, wizarPOS write JNI source and generate the device so files, so the third app just use the JNIInterface to finish the calling.
Line 8: Line 6:
*[[permissions]] defination
*[[permissions]] defination
*[[ESC Commands| WizarPOS printer ESC commands]]
*[[ESC Commands| WizarPOS printer ESC commands]]
==== C API ====
=== C API ===
*[[API_description|API Spec]]
*[[API_description|API Spec]]
*[[error code]]
*[[error code]]
*[[header files]]
*[[header files]]


==== JNI API ====
=== JNI API ===
*[http://{{SERVERNAME}}:9292/jniinterfaceapi/ API Spec]
*[http://{{SERVERNAME}}:9292/jniinterfaceapi/ API Spec]
*[[How to import JNI to a project]]
*[[How to import JNI to a project]]
*[[JNI Samples|Samples]]
*[[JNI Samples|Samples]]


==== Java API ====
=== Java API ===
*[http://{{SERVERNAME}}:9292/wizarposapi/ API Spec]
*[http://{{SERVERNAME}}:9292/wizarposapi/ API Spec]
*[[Java Samples|Samples]]
*[[Java Samples|Samples]]


=== Payment EMV ===
== Payment EMV ==
* [[EMV API]]
* [[EMV API]]
* [[EMV Flow]]
* [[EMV Flow]]
Line 28: Line 26:
* [ftp://sdkuser:wizsdkar@ftp.wizarpos.com/EMVSample_180302.zip EMV Sample]
* [ftp://sdkuser:wizsdkar@ftp.wizarpos.com/EMVSample_180302.zip EMV Sample]


=== Barcode ===
== Barcode ==
* [[developed by scan service]]
* [[developed by scan service]]
* [[developed by zxing,zbar]]
* [[developed by zxing,zbar]]


=== Full Screen ===
== Full Screen ==
* [[How to use system API to make full screen]]
* [[How to use system API to make full screen]]
* [[How to use android provid method to make full screen]]
* [[How to use android provid method to make full screen]]
* [[how to disable home key]]
* [[how to disable home key]]


=== Advance SDK ===
== Advance SDK ==
* [[how to set APN]]
* [[how to set APN]]
* [[how to modify password]]
* [[how to modify password]]

Revision as of 07:02, 28 April 2018

Device API

There are three layers of device API, the lower layer is C, the device provid C interface, and the third app to write their own JNI source by calling the C interface. The middle layer is JNI interface, wizarPOS write JNI source and generate the device so files, so the third app just use the JNIInterface to finish the calling. The upper layer is Java interface, wizarPOS provide Java interface for the third app, the third app only need to import the .aar pakcage to their libs. The app should request permissions in manifest file.

C API

JNI API

Java API

Payment EMV

Barcode

Full Screen

Advance SDK