Scanning Service Usage: Difference between revisions

From wizarPOS
No edit summary
Line 11: Line 11:


== Released SDK ==
== Released SDK ==
 
=== Source ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version!! Download!!Release Time
! Version!! Download!!Release Time
|-
|-
| 3.0.1 || [http://ftp.wizarpos.com/barcodescan/barcodeSDK_3.9.5.zip Barcode SDK 3.9.5]|| 2024-01-10
| 3.9.5 || [http://ftp.wizarpos.com/barcodescan/barcodeSDK_source.zip aidl&aidlcontrol source package]|| 2024-02-02
|}
=== Demos ===
{| class="wikitable"
|-
! Version!! Download!!Release Time
|-
| 3.9.5 || [https://github.com/SmartPOSSamples/CloudposScannerDemo.git CloudposScannerDemo]|| 2024-02-02
|-
| 3.9.5 || [https://github.com/SmartPOSSamples/CloudposScannerFloatModeDemo.git CloudposScannerFloatModeDemo]|| 2024-02-02
|-
| 3.9.5 || [http://ftp.wizarpos.com/barcodescan/barcodeSDK_3.9.5.zip ScanWithButtonDemo in barcodeSDK_3.9.5.zip, not changed now]|| 2024-02-02
|}
|}



Revision as of 07:19, 2 February 2024

This documentation is crafted to aid Android application developers for the Smart POS. It clarifies the functionality of the scanning service and provides details on the released SDKs, testing applications, and features for quickly launching the scan application. For specific downloads and further information, refer to the provided links and sections.

OverView

The scanning service enables Android devices equipped with imaging hardware, such as cameras, to scan barcodes or QR codes, retrieving encoded data. This encoded information typically includes a web address, geographic coordinates, small text excerpts, and commercial product codes. The service is designed to provide an Application Interface Definition Language (AIDL) for third-party applications.

Document

Version Download Release Time
3.0 CloudposScannerUsage_3.9.5 2024-01-10

Released SDK

Source

Version Download Release Time
3.9.5 aidl&aidlcontrol source package 2024-02-02

Demos

Version Download Release Time
3.9.5 CloudposScannerDemo 2024-02-02
3.9.5 CloudposScannerFloatModeDemo 2024-02-02
3.9.5 ScanWithButtonDemo in barcodeSDK_3.9.5.zip, not changed now 2024-02-02

Scan Barcode Testing Application

Testing APK Download

Quickly Launch the Scan Application in Q2/Q3

Physical Action: Double-click the power button.

This feature enables the swift launch of the scan application. Upon clicking, the system searches for all installed applications and launches the one with the scan intent-filter. If multiple applications exist, the system presents a list for users to choose from, initiating the selected application. The code for the scan intent-filter is as follows:

<action android:name="android.intent.action.SCAN" />
<category android:name="android.intent.category.DEFAULT" />

If no application in the system defines the scan intent-filter, pressing will not work. For instance, to use the scan button effectively, the application must define the scan intent-filter in its Android manifest file, with the category and action defined as follows:

<activity
  android:name="com.XX.activity.MainActivity"
  android:label="@string/app_name" >
   <intent-filter>      
     <action android:name="android.intent.action.SCAN" />
     <category android:name="android.intent.category.DEFAULT" />
   </intent-filter>
</activity>

CloudPOS Scan Service in Q1 Android 4.4

CloudposScannerService-v3.12.28