# Scanning Service Usage

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.&#x20;

### Document

| Version | Download                                                                                                                                                                        | Release Time |
| ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ |
| 3.9.6   | [CloudposScannerUsage\_3.9.](https://ftp.wizarpos.com/barcodescan/CloudposScannerUsage_3.9.6_en.pdf)[6](https://ftp.wizarpos.com/barcodescan/CloudposScannerUsage_3.9.6_en.pdf) | 2024-04-11   |

### Released SDK

#### Source

| Version            | Download                             | Release Time |
| ------------------ | ------------------------------------ | ------------ |
| SDK Latest Version | [CloudPOS SDK AAR](cloudpos-sdk-aar) | 2025-05-27   |

#### Demos

| Version | Download                                                                                            | Release Time |
| ------- | --------------------------------------------------------------------------------------------------- | ------------ |
| 3.9.5   | [CloudposScannerDemo](https://github.com/SmartPOSSamples/CloudposScannerDemo.git)                   | 2024-02-02   |
| 3.9.5   | [CloudposScannerFloatModeDemo](https://github.com/SmartPOSSamples/CloudposScannerFloatModeDemo.git) | 2024-02-02   |
| 3.9.5   | [ScanWithButtonDemo](https://github.com/SmartPOSSamples/ScanWithButtonDemo)                         | 2024-04-28   |

### Scan Barcode Testing Application

[Testing APK Download](https://ftp.wizarpos.com/barcodescan/app-cloudposscannerdemo-20231106.apk)

### Quickly Launch the Scan Application in Q2/Q3

Physical Action: Double-click the power button or long press Volumn+.

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:

```java
<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:

```java
<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](https://ftp.wizarpos.com/advanceSDK/CloudposScannerService-v3.12.28-r35144-q1_releasekey_forQ1android4.4.apk)
