CloudPOS SDK: Difference between revisions

From wizarPOS
Line 5: Line 5:
*[[ESC Commands| WizarPOS printer ESC commands]]
*[[ESC Commands| WizarPOS printer ESC commands]]
=== C 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.
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.
*[[API_description|API Spec]]
*[[API_description|API Spec]]
*[[error code|Error code]]
*[[error code|Error code]]

Revision as of 09:57, 22 November 2018

Device API

There are three layers of device API, C API, JNI API and Java API. Using any devices of terminal, the application must declare the permission in the manifest file.

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

we offer JNI interface to wrapper the C API to help the 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.

Payment EMV

Barcode

Full Screen