Scanning Service Usage: Difference between revisions

From wizarPOS
No edit summary
Line 1: Line 1:
Scanning service, which allows Android devices with imaging hardware (cameras) to scan barcodes or QR code and retrieve encoded data. The encoded information usually includes web address, geographic coordinates and small pieces of text, as well as commercial product code. It provides AIDL for third-party applications.
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 ==
== Document ==
{| class="wikitable"
{| class="wikitable"
Line 17: Line 19:
|}
|}


== Scan barcode testing application ==
==Scan Barcode Testing Application ==
[http://ftp.wizarpos.com/barcodescan/app-cloudposscannerdemo-20231106.apk Testing APK Download]
[http://ftp.wizarpos.com/barcodescan/app-cloudposscannerdemo-20231106.apk Testing APK Download]


== Quickly launch the scan application in Q2/Q3==
== Quickly Launch the Scan Application in Q2/Q3==
Physical action: double click power button.
Physical Action: Double-click the power button.


This feature can quickly launch the scan application. When click, the system will search for all the applications installed in the system and will launch the application with the scan intent-filter. If there are many applications, the system will provide a list for users to choose, and the selected application will start. The code for the scan intent-filter is as follows:
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" />
     <action android:name="android.intent.action.SCAN" />
     <category android:name="android.intent.category.DEFAULT" />
     <category android:name="android.intent.category.DEFAULT" />
When there is no application in the system to define the scan intent-filter, pressing will not work.
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:
For example:
In order to use the scan button to quickly launch the scan application, the application must define the scan intent-filter in its Android manifest file. The category and the action are defined as follows:
     <activity
     <activity
     android:name="com.XX.activity.MainActivity"
     android:name="com.XX.activity.MainActivity"
Line 38: Line 38:
     </activity>
     </activity>


== Cloudpos scan service in Q1 android 4.4==
== CloudPOS Scan Service in Q1 Android 4.4==
[http://ftp.wizarpos.com/advanceSDK/CloudposScannerService-v3.12.28-r35144-q1_releasekey_forQ1android4.4.apk CloudposScannerService-v3.12.28]
[http://ftp.wizarpos.com/advanceSDK/CloudposScannerService-v3.12.28-r35144-q1_releasekey_forQ1android4.4.apk CloudposScannerService-v3.12.28]

Revision as of 06:41, 15 December 2023

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.0 2021-09-17

Released SDK

Version Download Release Time
3.0.1 Barcode SDK 3.0.1 2023-09-01

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