Month: May 2014

TechEd Europe Registration is OPEN!


And what a better place to celebrate than in my country Spain! Come to Barcelona in October to attend to the biggest Microsoft event in Europe for IT Pros and Developers and attend to more than a hundred technical sessions on our core technologies.

TechEd Europe provides the latest technical education, product evaluation, and community resources you need to plan, architect, deploy, manage, and secure a connected enterprise.

Encourage your team and manager to register early for Early Bird price of €1,695!

  • €300 discount is available through 7 July
  • Bulk pricing is available:
    • Buy 10 passes, get 1 free (9% savings)
    • Buy 15 passes, get 3 free (17% savings)
    • Buy 20 passes, get 5 free (20% saving)

Do you need an extra help to get the approval from your boss?
We help you to convince him! #TEE14

Discuss, Plan and Connect w/peers. Start a thread on the #TEE14 forum!
Europe Registration is OPEN! Register by 7 July and save €300 for #TEE14

Follow us on twitter:
us on Facebook:
the TechEd Europe news distribution list to receive event updates

Starting with Windows Embedded Apps

First thing you have to know about writing applications with Windows Embedded, is the version that you are going to use of it.

In this article, I’m going to show you how to create applications for Windows Embedded 8.1 Handheld, that is the version that is running on most of the mobile POS devices (like for example the BM180 Pidion from Bluebird).

To develop for this version of WEH you just need two things:

– Visual Studio 2013 Update 2 RC or higher (any version, but recommended Ultimate if you want to have quality testing)

– Windows Embedded 8.1 Handheld SDK RC (

So just download and install the SDK in your computer before start working with it.

image image

During the installation process you will be warned that is not only the SDK with the documentation and the APIs the one to be installed but also the Emulators in case you don’t have an Embedded device.

Once is done, let’s see how to create an app.

Go to Visual Studio

1. Create a new Windows Phone Project, let’s call it BarCodeScaner, normal Windows Phone 8.1 Silverlight project

So the first thing you will notice is that we have new emulators installed:


2. Add the following statements to the top of your class file:

using Windows.Devices.PointOfService; // The Windows RT point of service APIs

3. Add the following variables inside your class:

private BarcodeScanner scanner;
private ClaimedBarcodeScanner claimedScanner;

scanner stores the instance of the default scanner object.
claimedScanner stores the instance of the barcode scanner object that is reserved for exclusive use by your application.

4. Generate the next method in your main class:

    private async void ClaimBarcodeScanner()
            scanner = await BarcodeScanner.GetDefaultAsync(); // get the default instance of the scanner
            //fakeScanner = new FakeScanner(scanner.DeviceId);
            claimedScanner = await scanner.ClaimScannerAsync();//Attempts to get an exclusive access to the scanner.
            claimedScanner.DataReceived += claimedScanner_DataReceived;
            await claimedScanner.EnableAsync(); //Gets the barcode scanner into a ready state.
            claimedScanner.IsDecodeDataEnabled = true; // provide decoded label data

5. Now that we have the ClaimBarcodeScanner method created, we are ready to start getting data from the barcode scanner, just let’s read the information captured on the claimedScanner_DataReceived event:

async void  claimedScanner_DataReceived(ClaimedBarcodeScanner sender, BarcodeScannerDataReceivedEventArgs args)
            string label, data; //Label and data are de values returned by the scanner
            UInt32 symbology = args.Report.ScanDataType; // the symbology of the scanned data
            using (var datareader = Windows.Storage.Streams.DataReader.FromBuffer(args.Report.ScanDataLabel))
                label = datareader.ReadString(args.Report.ScanDataLabel.Length);
            using (var datareader = Windows.Storage.Streams.DataReader.FromBuffer(args.Report.ScanData))
                data = datareader.ReadString(args.Report.ScanData.Length);

            await this.Dispatcher.RunAsync(Windows.UI.Core.CoreDispatcherPriority.Normal, () =>
                tbData.Text = data; //Send the data to the UI through the dispatcher. tbData is a textbox in the UI
                tbLabel.Text = label; //Send the data to the UI through the dispatcher. tbLabel is a textbox in the UI
6. Just to finish it, you can call the new method from your constructor to execute it once you start the application.

WP_20140518_002 That’s all! Just deploy the application into your device and play

Now you can scan any kind of barcode you have at home or in your warehouse.

If you want to check with symbologies are recognized, check this website out, as the list is very long! But think on any kind of  barcode.

Just for extra information, the following most common barcodes are supported by the decoder:
UPC-A, UPC-E, EAN-8, EAN-13, Code 39, Code 93, Code 128, ITF, Codabar, MSI, RSS-14 (all variants), QR Code, Data Matrix, Aztec and PDF-417.

And if you are wondering how can you get a barcode using the camera instead the scanner, here you have a library that can do it: but this is a topic for another article 🙂

– May the code be with you –


WEH 8.1 MSDN :

WEH 8.1 SDK:

Mobile POS experience with Windows Embedded Handheld 8.1

This week I had the pleasure to meet the guys from Bluebird, one of the main OEMs that are building rugged devices using Microsoft technology, and I have to say that I have been kindly surprised about the high quality devices that they are bringing to the our market.

In particular I have been playing with the Pidion BM180 (Bluebird is the formal name of Pidion), that has the fresh new Windows Embedded Handeld 8.1. Lets review some specs first:




  • – 5 Inches EyeIluminate Display 1280 x 720
  • – IP67 Sealing 4ft/1.2m Drop
  • – 3G, 802.11 a/b/g/n
  • – 2D Scanner Datacapture (QR Code, Barcode, all the standards)
  • – Magnetic Stripe Reader and Contacless MiFare, Felica, Calypso
  • – RFID ISO14443A&B, ISO 15693, NCF
  • – Card Payment
  • – SIM/SAM Slot
  • – Ruggedness
    – 1GB Ram/8GB Rom
    – Micro USB, Docking connector
  • – Battery 3000 mAh Li-ion. Internal battery for Hot-Swap 60 mAh
    – MicroSD slot (up to 32GB)
    – AGPS


And of course this device operates from -20℃ to 60℃ 🙂

Having in in my hands, the weight was quite similar than the Nokia Lumia 920, and as you can appreciate on the pictures you have the barcode scanner integrated on the top and the credit card reader on the bottom. On the back the battery enclosure can be opened giving you access to the expansion slots as SIM/SAM and SD card and allows you to remove the battery don’t losing your session as has an internal battery that lasts 3-5 minutes allowing you to perform the hot swap.


WP_20140513_004 WP_20140513_003 WP_20140513_001


Regarding to the performance, fast and fluid as a normal device Windows Phone 8.1, quite similar than the performance on the Nokia Lumia 925 or 1020, and yes, as it comes with Windows Embedded Handheld 8.1, comes with the notification center, Cortana and all these cool features that comes with Windows Phone 8.1 as well.


Windows Embedded 8.1 Handheld is the next generation of Microsoft’s leading platform for line-of-business handheld devices, built on Windows Phone 8.1.

It has full compatibility with Windows Phone 8.1 applications providing employees with the ability to access custom and off-the-shelf applications. such as Office Mobile, Lync, Microsoft Dynamics CRM for Retail and Office 365 from Windows Embedded 8.1 Handheld devices. Windows Embedded 8.1 Handheld simplifies integration with existing IT systems and line of business application, including Office 365, Exchange Server, SharePoint, VPN gateways and Direct Access Servers (RAS), Microsoft Azure and .NET business applications.

What can we highlight in WEH8.1?

  • Management. Bulk provisioning of devices allowing enterprises to quickly deploy devices across their enterprise
  • Assigned access. Extending device lockdown experience for multiple users that share the same device as well as button remapping, settings provisioning and an out-of-box experience to enable quick provisioning of industry handheld devices
  • API support for integrated peripherals such as barcode scanner and magnetic stripe reader
  • Support for USB Host
  • Support for Wi-Fi only devices and hardware keyboard



Protect your enterprise information with robust Windows security, and full device encryption via BitLocker, S/MIME for secure email, full Information Rights Management (IRM) support, and VPN support. Secure boot helps protect the platform from malware and assures that Windows Embedded 8.1 Handheld devices maintain platform integrity.

Also these devices can be managed from a MDM Solution as Windows Intune, closing the management cycle.



Regarding to the app development, I will cover that in another article but just let me say that basically is Windows Phone 8.1 app development, even the project you have to create is a Windows Phone project where you can just import some libraries from the Windows Embedded Handheld 8.1 SDK. This is great even for .NETCF 3.5 developers or WP App developers as they can use all the knowledge they have to create apps for these Handheld devices.

“Common developer platform and application programming interfaces (APIs) across Windows 8.1 and Windows Phone 8.1 allows you to build one development project that will span all device form factors, from a PC to a phone to a handheld. For industry scenarios, common APIs for integrated magnetic stripe readers and barcode scanners peripherals allow you to utilize line-of-business applications that are supported across all Windows 8.1 and Windows Embedded 8.1 Handheld devices.”



Right now Microsoft is working with 5 OEMs that are bringing awesome devices like the Pidion one, those OEMs right now are:

  • Ingenico
  • Panasonic
  • Motorola
  • Intermec
  • Bluebird

But the first devices available in market running Windows Embedded 8.1 Handheld will be from Bluebird and Panasonic:

Bluebird presented the already mentioned BP30 and BM180.

Panasonic announced its Toughpad FZ-E1 handheld at Mobile World Congress in February to complement its lineup of enterprise-grade devices for mobile workers built for mission-critical professionals such as those in the military.


On next articles I will cover how to start coding for WEH8.1 using Visual Studio 2013 and the WEH8.1 SDK.

Let’s play with devices!




Windows Embedded 8 Family

Windows Embedded 8 Handheld

Windows Embedded 8.1 Handheld on MSDN

Administrator Guide for WEH8.1