Simulating Surface Pro 3 in the Simulator

I’m working on a project at the moment that needs to run on a Surface Pro 3. During testing there were some weird redraw issues that only appeared on the Surface 3.   We were unable to reproduce this in our dev environments because  the simulator that comes with Visual Studio doesn’t have a screen size that is compatible with the Surface 3.

For reference, the surface 3 has these specs:

  • Screen Size: 12″
  • Resolution: 2160×1330
  • Scaling Factor: 140%

But fortunately, it turns out you can actually create your own profiles for any device you want in the simulator. Basically you just create an XML file to describe the screen settings and then put into a directory to be picked up by the simulator when it starts.

Step 1: Create a xml configuration file that describes the resolution

It should look like this (the content is pretty self explanatory):

<?xml version="1.0" encoding="UTF-8"?>
<ArrayOfHardwareConfiguration xmlns:xsd=""
        <DisplayName>Surface Pro 3 - 12" 2160 x 1440 (3:2, 140%)</DisplayName>

 Step 2: Put the file in a location for the simulator to use it

The file name needs to start with HardwareConfigurations. For example, HardwareConfigurations-Surface3.xml

Put the file in the directory:

C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Simulator\12.0\HardwareConfigurations\

(You may need to create the HardwareConfigurations directory).

Step 3: Win!

Restart the Simulator, select the new device and you’re good to go!



Xamarin, iBeacons and Geofencing – Some Resources

For an upcoming geekend (a weekend hackfest) we are looking at spending some time digging into iBeacon and Geofencing technologies.  I was going to email some of these resources I have found to the participants but thought it might be better if I blog them as a resource for others. 

Hope it helps

Continue reading…

Getting a look into AngularJS, a link roundup – 1st September 2013

I recently had to do a technical evaluation of technology options for a new project/product that we’re embarking on. The project was to be a web application, and since we’re not really a ‘web’ shop our options were really open for what and how we were going to design and build this new system.

So with our options open we began to evaluate things like Backbone, knockout and Ember. However we wanted to try and stick with an MVVM-esk pattern… well this led me down a path of discovery with AngularJS. What we found was a really capable and fast moving world unlike anything I’ve seen for a long time!

Here are the most useful things on the inter-nerd, that will teach you the KEY concepts in a few days.

Continue reading…

Xamarin Link Roundup – 24 Aug 2014

As usual, another Link Roundup of Xamarin / Mobile related links collected over the last week or so. Don’t forget if you have seen something cool that should be on the list, email me, comment or tweet me.

News, Webinars, Podcasts and Presentations

Cool Code





Xamarin Link Roundup – 15 Aug 2013

News and Events


Interesting Code


Other Stuff

Xamarin Link Roundup – 22 July 2013


Cool Code


From Zero to Xamarin – Part 0 – A New Hope

I’m working on a fantastic project at work at the moment.  It’s 51% awesome and 49% scary as hell.

It’s awesome because it’s an innovative mobile project across all the major platforms and therefore I get to play with loads of toys and devices.

It’s scary as hell because we are attempting to publish 4 apps into 4 different app stores in just a few months, which would be cool if we had a crack team of mobile developers and designers.  Unfortunately this is far from the truth.  The reality is this – There is me, some very committed totally awesome devs who are putting in hours outside of their normal work, and a crazed bunch of business people who have promised a October 24 big bang release!

Continue reading…