Chapter 2. Creating your first Windows Phone application
This chapter covers
- Creating your first Silverlight application
- Handling touch events
- Navigating between pages
- Trial licensing
Now that you have the necessary background on the Windows Phone platform and the Windows Phone Developer Tools, it’s time to get down to business and start programming. You’ll start by building a Hello World project. For developers experienced with Visual Studio, simple Hello World projects may seem unduly remedial. Windows Phone projects have several unique settings and features that you need to understand to build proper applications and games. The Hello World project in this chapter is designed to highlight these aspects of Windows Phone development.
You’ll build a Hello World Silverlight application and explore a few of the phone-specific extensions to Silverlight. Silverlight applications have several project properties unique to Windows Phone. Two of these properties define the icons used in the phone’s start screen and Applications List. Other properties determine the titles shown next to the start and application list icons. You’ll learn how to use the Visual Studio project templates to generate a new application and how to use the item templates to generate a new page for your application. You’ll also learn how to deploy the application to the emulator or a physical device and use the debugger to step through code.