BT

Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ

Topics

Choose your language

InfoQ Homepage News Integrate BarCodes into Windows Phone Apps

Integrate BarCodes into Windows Phone Apps

This item in japanese

RadBarcode included with RadControls for Windows Phone Q1 2013 includes several bar code components that generate different types of bar codes such as QR, UPCA, UPCE, UPCSupplement2, UPCSupplement5, POSTNET, PDF417, MSI, EAN8, EAN13, Codabar, 93, 93 Extended, 39, 39 Extended, 25 Non-Interleaved, 25 Interleaved, 128, 128A, 128B, 128C and 11

For example, the Codabar bar code for the value 999888 can be easily generated using the below code after the following XML Namespace has been added:

xmlns:telerikDataViz="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.DataVisualization"

<Border Background="Gray"
VerticalAlignment="Center">
<telerikDataViz:RadBarcodeCodebar Width="520"
Height="150"
Margin="30"
Text="999888"/>
</Border>


RadControls for Windows Phone Q1 2013 provides support for QR (Quick Response) bar codes and can be generated using RadBarcodeQR control as shown below

<Border Background="gray"
VerticalAlignment="Center">
<telerikDataViz:RadBarcodeQR Width="300"
Height="300"
Version="7"
Text="Mark mark@yahoo.com"/>
</Border>

In the above code, Version property is set to 7. The higher the version, more information can be encoded into the QR code.

RadBarcodeQR includes QR code generator that can be used for encoding contact details in order to create an image, which can quickly create a new contact record when scanned using either QR scanners or mobile phones with a camera including smartphones with the ability to pin code to the start screen.

RadBarcode enables you to build shopping apps and integrate them with the Windows Phone Wallet. It also provides an ability to turn any numerical data into industry-standard barcode formats. Moreover, values used can be used to match the relevant barcode type by making use of built-in automatic input validation.

RadControls for Windows Phone Q1 2013 includes over 50 controls including LiveTileHelper component that can be used to create and update tiles linking to pages within your application and allows you to use each of the new templates and add custom UIElements as their content.

Rate this Article

Adoption
Style

BT