Windows Phone development (3): windtows Phone 7 Project Introduction

Source: Internet
Author: User

Windows Phone 7ProgramIntroduction

There is not much to say about how to create a new one. developers who have experience with Visual Studio ide will start on the page. After the creation, as shown in, the simulator for Windows Phone is displayed on the left and the interface is displayed on the right.CodeThe editing area is run in the XAML language.

 

Solution Explorer

    • Appmanifest. xml: In vs, appmanifest. XML is basically empty and has no specific content. During build, vs generates appmanifst. XAML Based on the Assembly you are using.
    • Assemblyinfo. CS: Set general information about an application, such as the application name, company, author, and version.
    • Wmappmanifest. xml: This file records the attributes of the application and defines the functionality of the application. For details, see application manifest file for Windows Phone.
    • App. XAML application definition: Contains the four application running cycle events automatically generated by launching, closing, activated, and deactivatedg, which respectively represent startup, shutdown, activity status, and inactive status. The event code can be found in the app. XAML. CS, including exception capture events of the application and completion of APP Initialization
    • Applicationicon.png: Default Application icon
    • Background.png: Default Application large icon
    • Mainpage. XAML: Main Application Interface
    • Splashscreenimage.jpg: Wait interface when starting the application

Develop Explorer

As shown in, below the code editing area, we can see a annotated line of code, which is the toolbar of the mobile phone system application, including the toolbar buttons and menus, these are separated from the Silverlight layer above. After the annotations are removed, see

 

 

As you can see two buttons and two menu items, but the button does not have an icon, the icon to add the button is very simple, you can use your own icon, you can also use expression blend 4 to add it.

Xap

How can we publish and install the compiled application? Unzip to decompress the package, and put the file on your mobile phone for installation.

You can also use the Application Deployment Tool to deploy and run xap files, as shown in figure

 

 

 

Terminator

Windows Phone emulator occupies a lot of memory and CPU usage. We recommend that you upgrade the hardware before developing Windows Phone.

Related Article

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.