CloudPOS SDK: Difference between revisions

From wizarPOS
No edit summary
Line 1: Line 1:
== 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>
=== C API ===
=== Java 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.
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.  
*[[C API Spec|API Spec]]
 
*[[error code|Error code]]
* Java SDK simple description
*[[header files|Header files]]
*[http://{{SERVERNAME}}/wizarposapi/ API Spec]
*[[JNI Samples|Samples]]
*[ftp://sdkuser:wizsdkar@ftp.wizarpos.com/device/java/apidoc1.5.2.13.zip API Spec Download]
*[[CloudPOS SDK AAR]]
*[[Java Samples|Samples]]


=== JNI API ===
=== JNI API ===
Line 15: Line 17:
*[[JNI Samples|Samples]]
*[[JNI Samples|Samples]]


=== Java API ===
=== C 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.
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.
*[http://{{SERVERNAME}}/wizarposapi/ API Spec]
*[[C API Spec|API Spec]]
*[ftp://sdkuser:wizsdkar@ftp.wizarpos.com/device/java/apidoc1.5.2.13.zip API Spec Download]
*[[error code|Error code]]
*[[CloudPOS SDK AAR]]
*[[header files|Header files]]
*[[Java Samples|Samples]]
*[[JNI Samples|Samples]]


=== Permissions ===
=== Permissions ===
Line 41: Line 43:
* [[Make full screen using android provided API]]
* [[Make full screen using android provided API]]
* [[Disable Home Key]]
* [[Disable Home Key]]
== SDK Link ==
[ftp://sdkuser:wizsdkar@ftp.wizarpos.com/cloudpos_SDK_v1.5.2_2019-03-22.zip SDK 1.5.2]


== Wizarview ==
== Wizarview ==
* [ftp://sdkuser:wizsdkar@ftp.wizarpos.com/wizarViewUserGuidv2.4.1.pdf Wizarview User Guid]
* [ftp://sdkuser:wizsdkar@ftp.wizarpos.com/wizarViewUserGuidv2.4.1.pdf Wizarview User Guid]

Revision as of 01:52, 10 May 2019

Device API

There are three layers of device API: C API, JNI API and Java 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.

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.

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.

Permissions

To get the access of any financial devices of terminal, the application must apply the relevant permissions in the manifest file.

Printer ESC Commands

The printer of terminal support ESC commands. Please refer to the specification:

Payment EMV

Bar code

Full Screen

Wizarview