Java API Samples: Difference between revisions

From wizarPOS
No edit summary
No edit summary
Line 1: Line 1:
== Java API Samples ==
== Java API Samples ==
These are examples of how to use the Java API. These demonstrations use lower version of cloudpossdk aar file, please obtain the new version of SDK AAR file from http://sdkwiki.wizarpos.com/index.php/CloudPOS_SDK_AAR, and replace it as needed.
== OverView ==
Explore the power of the CloudPOS Java API with these practical examples. Before diving in, ensure you have the latest CloudPOS SDK AAR file, available for download at CloudPOS SDK AAR. Replace any outdated files as necessary.
== CloudPOS API Demos ==
{| class="wikitable"
{| class="wikitable"
|-
|-
! Description !! Download
! Description !! Download
|-
|-
| Cloudpos APIDemo for all the device API<br> (The package name of apk is updated, you must remove the old APIDemo.)|| [http://ftp.wizarpos.com/device/java/APIDemo_1.5.4.82.zip CloudPOS API demo 1.5.4.82]
| Cloudpos APIDemo for all the device API|| [http://ftp.wizarpos.com/device/java/APIDemo_1.5.4.82.zip CloudPOS API demo 1.5.4.82]
|-
|-
| Encapsulate APIDemo, load HTML using WebView, demonstrate using JavaScript to call SDK interface in HTML/H5|| [http://ftp.wizarpos.com/advanceSDK/WebviewAPIDemo_20131114.zip APIDemo]
| Encapsulate APIDemo, Load HTML using WebView, demonstrate using JavaScript to call SDK interface in HTML/H5 || [http://ftp.wizarpos.com/advanceSDK/WebviewAPIDemo_20131114.zip APIDemo]
|-
|-
| A simple demo for LED light|| [http://ftp.wizarpos.com/device/java/Cloudpos-LEDDemoForAar-1.5.3.077-20210915.zip LED demo 1.5.3.077]
| A simple demo for LED light|| [http://ftp.wizarpos.com/device/java/Cloudpos-LEDDemoForAar-1.5.3.077-20210915.zip LED demo 1.5.3.077]
Line 13: Line 15:
| A simple demo for swiping MSR card|| [http://ftp.wizarpos.com/device/java/Cloudpos-MSRDemoForAar-1.5.3.077-20210915.zip MSR demo 1.5.3.077]
| A simple demo for swiping MSR card|| [http://ftp.wizarpos.com/device/java/Cloudpos-MSRDemoForAar-1.5.3.077-20210915.zip MSR demo 1.5.3.077]
|-
|-
| A simple demo for pinpad|| [http://ftp.wizarpos.com/device/java/CloudPos-PinPadDemoForAar-1.5.3.077-20210915.zip PINPAD demo 1.5.3.077]
| A simple demo for PINPAD|| [http://ftp.wizarpos.com/device/java/CloudPos-PinPadDemoForAar-1.5.3.077-20210915.zip PINPAD demo 1.5.3.077]
|-
|-
| A simple demo for printer|| [http://ftp.wizarpos.com/device/java/CloudPos-PrintDemoForAar-1.5.3.077-20210915.zip Printer demo 1.5.3.077]
| A simple demo for the printer|| [http://ftp.wizarpos.com/device/java/CloudPos-PrintDemoForAar-1.5.3.077-20210915.zip Printer demo 1.5.3.077]
|-
|-
| A simple demo about how to signature in screen|| [http://ftp.wizarpos.com/device/java/CloudPos-SignatureDemoForAar-1.5.3.077-20210915.zip Signature demo 1.5.3.077]
| A simple demo about how to sign on the screen|| [http://ftp.wizarpos.com/device/java/CloudPos-SignatureDemoForAar-1.5.3.077-20210915.zip Signature demo 1.5.3.077]
|-
|-
| A simple swipe card and print calling to simulate payment|| [http://ftp.wizarpos.com/device/java/CloudPos-PaymentTransDemoForAar-1.5.3.077-20210915.zip SwipeCard&Print demo 1.5.3.077]
| A simple swipe card and print calling to simulate payment|| [http://ftp.wizarpos.com/device/java/CloudPos-PaymentTransDemoForAar-1.5.3.077-20210915.zip SwipeCard&Print demo 1.5.3.077]
|-
|-
| fingerprint demo|| [http://ftp.wizarpos.com/device/java/CloudPos-FingerprintForAar-1.5.3.077-20210915.zip fingerprint demo 1.5.3.077]
| A demo showcasing fingerprint functionality|| [http://ftp.wizarpos.com/device/java/CloudPos-FingerprintForAar-1.5.3.077-20210915.zip fingerprint demo 1.5.3.077]
|-
|-
| Biosec ISO fingerprint demo|| [http://ftp.wizarpos.com/device/java/CloudPos-NewIsoFingerprintDemo-1.5.3.077-20210915.zip Biosec ISO fingerprint demo]
| Explore the Biosec ISO fingerprint demo|| [http://ftp.wizarpos.com/device/java/CloudPos-NewIsoFingerprintDemo-1.5.3.077-20210915.zip Biosec ISO fingerprint demo]
|-
|-
| DUKPT of PINPAD demo|| [http://ftp.wizarpos.com/device/java/CloudPos-DukptDemo-1.5.3.077-20210915.zip DUKPT demo 1.5.3.077]
| Demo for DUKPT (Derived Unique Key Per Transaction) of PINPAD|| [http://ftp.wizarpos.com/device/java/CloudPos-DukptDemo-1.5.3.077-20210915.zip DUKPT demo 1.5.3.077]
|-
|-
| Print Html demo|| [http://ftp.wizarpos.com/device/java/CloudPos-PrinterModelDemo-1.5.3.077-20210915.zip Print html]
| Print HTML demo|| [http://ftp.wizarpos.com/device/java/CloudPos-PrinterModelDemo-1.5.3.077-20210915.zip Print HTML]
|-
|-
| A simple demo for calling printer api from javascript|| [http://ftp.wizarpos.com/device/java/CloudPos-WebviewCallSDK-1.5.3.077-20210915.zip Print from javascript]
| A simple demo for calling the printer API from JavaScript|| [http://ftp.wizarpos.com/device/java/CloudPos-WebviewCallSDK-1.5.3.077-20210915.zip Print from JavaScript demo]
|}
|}


== Kotlin Samples ==
== Kotlin Samples ==
Explore CloudPOS Kotlin API with the following sample:
{| class="wikitable"
{| class="wikitable"
|-
|-
! Description !! Download
! Description !! Download
|-
|-
| Cloudpos kotlin APIDemo for all the device API<br> || [http://ftp.wizarpos.com/device/java/APIDemoForAarBykotlin-SrcCode+APK-1.5.4.21.zip CloudPOS kotlin API demo 1.5.4.21]
| Cloudpos Kotlin APIDemo for all device API|| [http://ftp.wizarpos.com/device/java/APIDemoForAarBykotlin-SrcCode+APK-1.5.4.21.zip CloudPOS Kotlin API demo 1.5.4.21]
|}
|}
Feel free to experiment and integrate these samples into your projects. For any queries or assistance, refer to the CloudPOS SDK documentation or contact our support team.
Thank you for choosing CloudPOS for your development needs!

Revision as of 07:53, 15 December 2023

Java API Samples

OverView

Explore the power of the CloudPOS Java API with these practical examples. Before diving in, ensure you have the latest CloudPOS SDK AAR file, available for download at CloudPOS SDK AAR. Replace any outdated files as necessary.

CloudPOS API Demos

Description Download
Cloudpos APIDemo for all the device API CloudPOS API demo 1.5.4.82
Encapsulate APIDemo, Load HTML using WebView, demonstrate using JavaScript to call SDK interface in HTML/H5 APIDemo
A simple demo for LED light LED demo 1.5.3.077
A simple demo for swiping MSR card MSR demo 1.5.3.077
A simple demo for PINPAD PINPAD demo 1.5.3.077
A simple demo for the printer Printer demo 1.5.3.077
A simple demo about how to sign on the screen Signature demo 1.5.3.077
A simple swipe card and print calling to simulate payment SwipeCard&Print demo 1.5.3.077
A demo showcasing fingerprint functionality fingerprint demo 1.5.3.077
Explore the Biosec ISO fingerprint demo Biosec ISO fingerprint demo
Demo for DUKPT (Derived Unique Key Per Transaction) of PINPAD DUKPT demo 1.5.3.077
Print HTML demo Print HTML
A simple demo for calling the printer API from JavaScript Print from JavaScript demo

Kotlin Samples

Explore CloudPOS Kotlin API with the following sample:

Description Download
Cloudpos Kotlin APIDemo for all device API CloudPOS Kotlin API demo 1.5.4.21

Feel free to experiment and integrate these samples into your projects. For any queries or assistance, refer to the CloudPOS SDK documentation or contact our support team.

Thank you for choosing CloudPOS for your development needs!