CloudPOS SDK: Difference between revisions

From wizarPOS
No edit summary
Line 30: Line 30:
=== Printer Usage ===
=== Printer Usage ===
The printer of terminal support ESC commands. Please refer to the specification:
The printer of terminal support ESC commands. Please refer to the specification:
*[[ftp://sdkuser:wizsdkar@ftp.wizarpos.com/device/WizarPOSPrinter_TechnicalManual_en.pdf Technical manual]]
*[ftp://sdkuser:wizsdkar@ftp.wizarpos.com/device/WizarPOSPrinter_TechnicalManual_en.pdf Technical manual]
*[[ESC Commands]]
*[[ESC Commands]]



Revision as of 02:51, 29 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 Usage

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

Payment EMV

Bar code

Full Screen

Wizarview