There was an error while loading. Please reload this page.
Activates the bar-code scanning.
If the current platform does not support the bar-code scanning, the failed handler is called with error "Unsupported".
This example demonstrates how to call Barcode scanner and get the barcode.
MobileCRM.Platform.scanBarCode(function (barcodes) { /// <param name="barcode" type="Array">Array of scanned barcode</param> barcode = ""; for (var i in barcodes) barcode += "\n barcode " + i + " : " + barcodes[i]; MobileCRM.bridge.alert(barcode); }, MobileCRM.bridge.alert);
Links: