Search
Mobile

Building Your First Windows Phone 7 Application (part 4) - Customizing Your First Windows Phone Application

Published 1 min readBy Programming4us Editorial Team

5. Customizing Your First Windows Phone Application

In the following code walkthrough, you'll learn how to customize the Windows Phone 7 application icon that is displayed to the user, and how to change the application's name.

  1. In the Solution Explorer, right-click the HelloWorld project and select Add => Existing Item..., as shown in Figure 10.

    Figure 10. Adding a file to the Visual Studio project

  2. The Windows Phone 7 application icon can be any .png file with 62 × 62. By default, when the Windows Phone application project is created, the ApplicationIcon.png is used.

  3. Right-click the HelloWorld project => Choose Properties.

  4. Click the Application tab.

  5. In Deployment options => Change the Icon to HelloWorldIcon.png.

  6. Change the Title to HelloWorld. Changed properties can be seen in Figure 11.

    Figure 11. Changing the application title and icon

  7. Hit F5 to run the application.

  8. When the application starts in the Windows Phone 7 emulator, hit the back button on the emulator, as shown in Figure 12.

    Figure 12. Windows Phone 7 back button

  9. You will see the list of applications installed on the emulator including HelloWorld, as shown in Figure 13.

    Figure 13. Windows Phone 7 application list