Tuesday, July 24, 2012

Silverlight and Windows Phone: PART 2

Types of projects in Windows Phone
Types of Projects in Windows Phone




In Visual studio express for Window phone, the template provided for application development using Silverlight platform, there are  nine  types of project we can choose, depending on what we need:
  • Windows Phone Application: It provides an empty page with no control at all.
  • Windows Phone Data Bound Application:  To create application using list and navigation control.
  • Windows Phone Class Library: To build components that can be reused in other projects
  • Windows Phone Panorama Application: It provides a sample usage of panorama navigation in an application
  • Windows Phone Pivot Application: It provides a sample usage of pivot navigation in an application
  • Windows Phone Silverlight and XNA Application: A Project for creating a window phone Silverlight application capable of rendering graphic using XNA framework.
  • Windows Phone Audio Playback Agent: A class library project for creating a background agent to play audio.
  • Windows Phone Audio Streaming Agent: A class library project for creating a background agent to stream audio.
  • Windows Phone Scheduled Task Agent: A class library project for creating a background agent to perform a periodic and resource intensive task.


By default, a project will consist of these files:
  • App.xaml/App.xaml.cs: The application’s entry point which initializes  resources and layouts of the application 
  • MainPage.xaml/MainPage.xaml.cs: Defines a page with interface in the application
  • Background.png: A graphic file which shows as the application’s icon in the applications list. This icon can be replaced 
  • SplashScreenImage.jpg: A graphic file that  is  displayed when application is launched. Splash screen is  designed to give fast response to users while the application’s initial page loads
  • Properties\AppManifest.xml: Manifest file for application package generation purposes
  • Properties\AssemblyInfo.cs: Assembly file that contains information regarding the name and version of metadata attached to the assembly that is generated
  • Properties\WMAppManifest.xml: Manifest file with specific metadata regarding Windows Phone application  that defines icon name, initial page, etc.

No comments:

Post a Comment