SD Scanner control gives you the possibility to use a barcode scanner (2d and QR code)  in order to enter information in a field.

At run-time a Scan button will be displayed besides 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 to see it in action.

Notes

  • In iOS this control is available for iPad2, iPhone and iPod touch with iOS 4.X or higher.
    • 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.
  • In Android you have to install Barcode Scanner from Android market in order to use this feature. (For example: https://play.google.com/store/apps/details?id=com.google.zxing.client.android)
  • In all devices it scans Barcodes and QRCodes too.

Scope

Platforms: Apple platform, Android platform, 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