BT

New Early adopter or innovator? InfoQ has been working on some new features for you. Learn more

Integrate BarCodes into Windows Phone Apps

| by Anand Narayanaswamy on Mar 23, 2013. Estimated reading time: 1 minute |

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 Stage
Style

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

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and dont miss out on content that matters to you

BT