Tuesday, August 2, 2011

Say "Hello World" with Microsoft Surface

We were waiting MS Surface SDK to release, for some time, after seen Microsoft Surface table for the first time. It's always great pleasure to make customer surprised with this sort of amazing technologies and now It's time to start leaning about developing Surface Applications. And hopefully it should not be a big deal of writing a Hello World Application with Surface SDK, as it is provided by Microsoft. We all know Microsoft is always working hard to make things comfortable for developersJ, though it makes us like sightless devotees to some extent.

Before start developments, you have to make sure following Software packages are installed on your computer,

  1. Visual Studio 2010 SP1
  2. Surface SDK 2.0

Here we go to say "Hello World" with Microsoft Surface,

Step 1 – Create Surface Project in VS 2010

If you have installed Surface SDK 2.0 in your machine, then you will find "surface" category under Visual C#, in new Project creation view in VS 2010. I named my Project as MySurfaceProject, it's up to you to make it as your preference. After the First Step, you will get Surface Project created in VS 2010 and in default, there will be a Surface Window is created for you by VS 2010 and its name is "SurfaceWondow1", if you don't like the name, you can change it, I will go with the same.

Step 2 – Add Scatter View into XAML

Step 3 – Add few Hello World Text Blocks into Scatter View

Simple make a Hello World Application with Microsoft Surface just tool three steps and now it's time to start testing it.

Yes we got it right, these Hello World boxes you can move around the screen with the mouse pointer, but in real customer environment, you will be able to do it with your finger tips J.


Lakmal Kankanamge


No comments:

Post a Comment