CloudPOS SDK: Difference between revisions

From wizarPOS
No edit summary
No edit summary
Line 1: Line 1:
<big>
<big>
   Introduction:
   Introduction:
   Developing EMV payment app: please read '''Payment EMV'''<br>
   Developing EMV payment app: please read '''Payment EMV'''
   Developing normal payment application: Please read '''Device API>Java API'''. We packaged all the device implementation in an aar file, you can get the latest aar file from '''CloudPOS SDK AAR'''. Before developing, please read the '''API Spec''' and refer to the '''Samples'''. <br>
   Developing normal payment application: Please read '''Device API>Java API'''. We packaged all the device implementation in an aar file, you can get the latest aar file from '''CloudPOS SDK AAR'''. Before developing, please read the '''API Spec''' and refer to the '''Samples'''.
   Developing barcode scanning application: Please read  '''Bar code>Use Scan Service'''.
   Developing barcode scanning application: Please read  '''Bar code>Use Scan Service'''.



Revision as of 04:50, 19 February 2020

 Introduction:
 Developing EMV payment app: please read Payment EMV
 Developing normal payment application: Please read Device API>Java API. We packaged all the device implementation in an aar file, you can get the latest aar file from CloudPOS SDK AAR. Before developing, please read the API Spec and refer to the Samples.
 Developing barcode scanning application: Please read  Bar code>Use Scan Service.

 中文说明:
 开发支付应用,请参考Payment EMV.  
 开发普通应用,请参考Device API>Java API, 先获取最新的aar实现包,阅读API Spec,并参考Samples.
 扫码,请参考 Bar code>Use Scan Service.

Payment EMV

Bar code

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:

Full Screen

Wizarview