Over a million developers have joined DZone.

Windows Phone 7 Introduction with Hello World Example

· Mobile Zone

Learn how to Deliver Better Mobile Apps Faster with Continuous Quality by managing the complexities of testing multiple devices and scenarios with this whitepaper from Perfecto Mobile.

Introduction:

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.

Steps:

1.Start visual studio 2010 IDE.

2. Select new project

Img1

3. Select silverlight windows phone project

img2

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.

img4

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.

op

Do you know Why Apps Succeed? Perfecto Mobile analyzed over 1,000 responses to their Digial Quality Strategies survey and aim to answer the question, "Why do apps succeed?" in this exclusive report.

Topics:

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

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

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

{{ parent.tldr }}

{{ parent.urlSource.name }}