Hello Windows Phone 8

At the Build developer conference that started at Microsoft’s Redmond campus the last month , the company has published its Windows Phone 8 Developer Platform to the general public. The SDK is available to download from  here.

The new SDK is aligned with the latest Microsoft technologies: it’s based on Visual Studio 2012  and it requires Windows 8 to run. Windows 8 Release Preview and Visual Studio 2012 RC are not supported.

The Windows Phone 8 SDK includes many new features, giving developers new opportunities and allowing them to create better apps. Some of them :

  • Easier to build Fast and fluid UI
  • Live Tiles, Lock Screen, and Wallpaper
  • Speech – launch and control apps with Speech
  • Improved Dev Center and Store
  • Deeper integration with Phone Experiences (opened up access to the camera)
  • Better multi-tasking
  • Advanced networking: Bluetooth data transfer, peer networking, proximity connect
  • Delivered 90% of the top developer requests

Let’s discover the new environment by creating Hello world application.

After the installation process completed with success:

Click on Launch to start Visual Studio 2012. Select File > Create New Project (Ctrl+Shift+N). Select the Windows Phone App template and give the application name as Hello wp8 :

the new sdk targets both windows phone  8 et windows phone 7.1 so the Visual studio ask us to select the windows phone we want to target for this. So we choose windows Phone OS 8.0.

After choosing the OS 8.0 Visual studio create the project, we add a button from the toolbox and drag it to the Xaml editor or the designer :

Double click on the button and add the code to display Hello world.

private void SayHelloClick(object sender, RoutedEventArgs e)


MessageBox.Show(“Hello Windows Phone 8”);


Press F5 and wait a few seconds to load the emulator.
Once the application is loaded press the button “Say Hello” and the application will display “Hello Windows Phone 8”


Posted on 13 November 2012, in windows phone and tagged , . Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: