Scanning Service Usage: Difference between revisions

From wizarPOS
No edit summary
Line 37: Line 37:
     </intent-filter>
     </intent-filter>
     </activity>
     </activity>
== 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]

Revision as of 07:14, 3 November 2023

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.

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

   <action android:name="android.intent.action.SCAN" />
   <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. 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
   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