CloudPOS SDK: Difference between revisions

From wizarPOS
No edit summary
Line 12: Line 12:


== Device API ==
== Device API ==
There are three layers of device API: C API, JNI API and Java API.<br>
The Java API is packaged as an AAR library file that Android developers can easily use. It includes Printer, PINPad, MSR, SmartCard, RFCard, SerialPort, LED, Fingerprint, HSM......
=== Java API ===
The Java API is packaged as an AAR library file that Android developers can easily use. You can download the latest AAR library file from the link below.


*[http://{{SERVERNAME}}/wizarposapi/ API Spec]
*[http://{{SERVERNAME}}/wizarposapi/ API Spec]
Line 20: Line 18:
*[[CloudPOS SDK AAR]]
*[[CloudPOS SDK AAR]]
*[[Java API Samples|Samples]]
*[[Java API Samples|Samples]]
=== JNI API ===
The JNI interface wraps the C API to help Java developers use the C API. We recommend that you use the Java API instead of the JNI API.
*[http://{{SERVERNAME}}/jniinterfaceapi/ API Spec]
*[ftp://sdkuser:wizsdkar@ftp.wizarpos.com/device/c/jnidoc1.5.2.13.zip API Spec Download]
*[[How to import JNI to a project]]
*[[C&JNI Samples|Samples]]
=== C API ===
C API related header files and so libraries have been included in the system. Application developers can create native so libraries through C API to implement their business logic. As a result, the implementation will be more secure than the Java implementation. For example, the EMV library can use the C API.
*[[C API Spec|API Spec]]
*[[error code|Error code]]
*[[header files|Header files]]
*[[C&JNI Samples|Samples]]


=== Permissions ===
=== Permissions ===
Line 43: Line 27:
*[ftp://sdkuser:wizsdkar@ftp.wizarpos.com/device/WizarPOSPrinter_TechnicalManual_en_20200715.pdf Technical manual]
*[ftp://sdkuser:wizsdkar@ftp.wizarpos.com/device/WizarPOSPrinter_TechnicalManual_en_20200715.pdf Technical manual]
*[[ESC Commands]]
*[[ESC Commands]]
== Full Screen ==
* [[Using system API to make full screen]]
* [[Use the API provided by Android to make full screen]]
* [[Disable home key]]
== wizarView ==
* [ftp://sdkuser:wizsdkar@ftp.wizarpos.com/device/TMSManual.pdf wizarView User Guide]

Revision as of 05:39, 6 November 2020

Introduction

 For developing payment applications, please refer to Device API > Java API.
 For the development of EMV payment application, please refer to EMV Payment .
 For code scanning, please refer to Bar code > Scanning Service Usage.

EMV Payment

Bar code

Device API

The Java API is packaged as an AAR library file that Android developers can easily use. It includes Printer, PINPad, MSR, SmartCard, RFCard, SerialPort, LED, Fingerprint, HSM......

Permissions

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

Printer Usage

The printer of the terminal supports ESC command. Please refer to the following specifications: