Windows phone7 Study Notes 01 -- Project template

Source: Internet
Author: User
Almost all WP7 documents start with the files in the Project template. The following describes the content.
For example, the following project file:

Appmanifest. xml Generate a simple application list file required by the application installation package (xap.

Assemblyinfo. CS

Configuration file, which contains the name and version metadata, will be embedded into the generated Assembly file. Modify the version information here.

 

 

Wmappmanifest. xml

Another metadata file that contains the specific data of the application, including the title, icon location, and functions. In addition, the starting page of the program is also defined here.

 

Assemblyinfo. CS

Configuration file, which contains the name and version metadata, will be embedded into the generated Assembly file. Modify the version information here.

Wmappmanifest. xml

Another metadata file that contains the specific data of the application, including the title, icon location, and functions.


App. XAML/APP. XAML. CSDefine the entry point of the application, initialize resources within the application range, and display the application user interface. App. XAML is similar to Web. config in ASP. NET and stores the data and settings used by the entire application. You can define a resource for reference on other pages. Generally, you can place the style and Uri aliases in <application. Resources> </application. Resources>. App. XAML. the CS file mainly serves to initialize and handle exceptions, and defines four important events (run, close, activate, and deactivated ), these four events need to be modified when necessary.
Mainpage. XAML/mainpage. XAML. CSDefine the application page (page with user interface) in the application ). This is the first page of the application. The application starts from this page. (Of course, you can modify it in wmappmanifest. XML)
Applicationicon.png An image file with icons represents the icons of applications in the mobile app list. This is an icon displayed in the Software List, which is smaller than that displayed on the start page.
Background.png When the application is fixed to the start page, the icon is displayed.
Splashscreenimage.jpg This image is displayed when the application is started. The startup screen will give you an immediate feedback, telling the user that the application is starting until it is successfully redirected to the first page of the application. The user's startup screen can be very similar to the design of a page of the application, so that the application can be quickly loaded. It can be modified, but pay attention to the size.
References folderLists of database files (sets) to provide functions and services for application work.
Finally, you must modify the WP configuration file instead of modifying the properties of the project to prevent errors. For example:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.