BT

Integrate BarCodes into Windows Phone Apps

by Anand Narayanaswamy on Mar 23, 2013 |

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.

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Discuss

Educational Content

General Feedback
Bugs
Advertising
Editorial
InfoQ.com and all content copyright © 2006-2014 C4Media Inc. InfoQ.com hosted at Contegix, the best ISP we've ever worked with.
Privacy policy
BT