SD Scanner ControlOfficial Content

SD Scanner control gives the possibility to use a scanner in order to enter information in a field from a barcode (refer to Notes section). At run-time a Scan button will be displayed beside your attribute when you tap on it, a barcode scanner will be executed so you can scan the product and the result of it will be then set as the value of your attribute.

SD Scanner User Control picture 1

Using the control

Just go to the relevant WorkWithDevices<Object>.Edit instance, select the attribute and set Scanner for the Control Type Property.

SD Scanner User Control contoltypeconfig

Take a look at MyCowBook sample to see it in action.

Notes

  • The iOS simulator provides by XCode does not have any camera integrated to test Scanner control. If you want to access camera you need a physical device.
  • The Android device must have installed an application which reads barcodes by using the de facto standard Zebra Crossing (a.k.a. ZXing). For example, the feature that reads barcodes could be integrated in the default camera of the device, but if it doesn't, a third-party application can be download from Play Store (e.g. Barcode Scanner app).
  • It scans the most common of linear barcodes and matrix barcodes variants (e.g. QRCodes, EAN-13, etc).

Scope

Platforms: Apple Smart Devices (iOS), Android Smart Devices, BlackBerry Smart Devices

See also

HowTo: Using ScanBarcode Method from Interop in SDApi for Smart Devices

Videos

Start Video Work With for Smart Devices – General Aspects and List layout
Start Video WorkWith for Smart Devices – Detail Layout