Android Programming Press on the image to return to the main documentation page.

ABZxing

Written by Alain Bailleul

List of types:

ABZxing

ABZxing

This library allows you to use the Zxing barcode scanner. If the scanner is not
installed, the library will prompt the user to download it from the Android Market
This is an 'Activity Object', it cannot be declared under Sub Process_Globals.

Events:

BarcodeFound (barCode as String, formatName as string)
Canceled()

Members:


  ABGetBarcode (eventName As String, mode As String)

Members description:

ABGetBarcode (eventName As String, mode As String)
Starts the barcode scanner. The barcode is returned in the BarcodeFound event or the Canceled event
eventName (String): name of the ABBarcode object
mode (String):
"" for everything
"QR_CODE_TYPES" for QR codes
"PRODUCT_CODE_TYPES" for UPC_A,UPC_E,EAN_8,EAN_13
"ONE_D_CODE_TYPES" for UPC_A,UPC_E,EAN_8,EAN_13,CODE_39,CODE_93,CODE_128
Example:
Sub Button1_Click
myABBarcode.ABBarcodeGet("myABBarcode", "QR_CODE_TYPES")
End Sub

Sub myABBarcode_BarcodeFound(barCode as String, formatName as String)
msgbox(barCode, "")
End Sub

Sub myABBarcode_Canceled
msgbox("Canceled","")
End Sub

Top