Over a million developers have joined DZone.

Windows Phone 7 Introduction with Hello World Example

DZone's Guide to

Windows Phone 7 Introduction with Hello World Example

· Mobile Zone
Free Resource

Download this comprehensive Mobile Testing Reference Guide to help prioritize which mobile devices and OSs to test against, brought to you in partnership with Sauce Labs.


In this chapter we are going to see how to create a silverlight Windows Phone 7 Application using Visual Studio 2010. Here in this chapter we will create a Hello World Application and try to run it in Windows Phone 7 Emulator to check the working mode of the application. Let us see the steps involved in designing the Hello World application using the visual studio 2010 IDE.


1.Start visual studio 2010 IDE.

2. Select new project


3. Select silverlight windows phone project


4. Provide a name for the project as shown in the screen above.

5. Clicking on ok will create the application.

Now drag and drop controls from the toolbox to get some user input and show the output Hello World.

Click and drag the textblock and change the Text name as Hello World in the properties menu.


Now execute the project. Check the output by pressing F5 in the keyboard directly or by pressing the play button from the Visual studio IDE tool bar and we can see the output in the windows Phone 7 Emulator as shown in the screen below.


Analysts agree that a mix of emulators/simulators and real devices are necessary to optimize your mobile app testing - learn more in this white paper, brought to you in partnership with Sauce Labs.


Published at DZone with permission of Suresh Sri. See the original article here.

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}