|
|
(94 intermediate revisions by 3 users not shown) |
Line 1: |
Line 1: |
| <big>
| | {{Migrating|https://smartpossdk.gitbook.io/cloudpossdk}} |
| Introduction:
| |
| To develop payment app, please read '''Payment EMV''', to call normal device, such as printer, please read '''Device API>Java API''', we packaged all the device implement in an aar file, you can get the latest aar file from '''CloudPOS SDK AAR''', before developing using the api, please read the '''API Spec''' and refer to the '''Samples'''.
| |
| </big>
| |
| 中文说明:
| |
| 开发支付应用,请参考'''Payment EMV'''.
| |
| 开发普通应用,请参考'''Device API>Java API''', 先获取最新的'''aar实现包''',阅读'''API Spec''',并参考'''Samples'''.
| |
| 扫码,请参考 '''Bar code>Use Scan Service'''.
| |
| == Payment EMV ==
| |
| * [[EMV Develop Spec]]
| |
| | |
| == Bar code ==
| |
| * [[Use Scan Service]]
| |
| * [[Use Barcode Libary]]
| |
| | |
| == Device API ==
| |
| There are three layers of device API: C API, JNI API and Java API.<br>
| |
| === 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.
| |
| | |
| *[http://{{SERVERNAME}}/wizarposapi/ API Spec]
| |
| *[ftp://sdkuser:wizsdkar@ftp.wizarpos.com/device/java/javadoc_20191113.zip API Spec Download]
| |
| *[[CloudPOS SDK AAR]]
| |
| *[[Java Samples|Samples]]
| |
| | |
| === JNI API ===
| |
| The JNI interface wrappers the C API to help the Java developer to use C API.<br/>Now we recommended you to use Java API instead of 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]]
| |
| *[[JNI Samples|Samples]]
| |
| | |
| === 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.
| |
| *[[C API Spec|API Spec]]
| |
| *[[error code|Error code]]
| |
| *[[header files|Header files]]
| |
| *[[JNI Samples|Samples]]
| |
| | |
| === Permissions ===
| |
| To get the access of any financial devices of terminal, the application must apply the relevant permissions in the manifest file.
| |
| *[[permissions|Permissions]] definition
| |
| | |
| === Printer Usage ===
| |
| 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]
| |
| *[[ESC Commands]]
| |
| | |
| == Full Screen ==
| |
| * [[Make full screen using system API]]
| |
| * [[Make full screen using android provided API]]
| |
| * [[Disable Home Key]]
| |
| | |
| == Wizarview ==
| |
| * [ftp://sdkuser:wizsdkar@ftp.wizarpos.com/wizarView_UserManual_customerv2.7.pdf Wizarview User Guid]
| |