Windows Phone 7 Tips (1)

Source: Internet
Author: User

Learning about Windows Phone 7 has also been a while, and some good points of knowledge have been sorted out, and the following series will share 10 windows Phone 7 tips per blog and provide offline documentation downloads.

1. Windows Phone 7 Applications cannot run in the background and do not support multitasking "but we can use the tombstone mechanism tombstoning"

2. Windows Phone 7 Application XAP package Max Run is 400MB

3. Set the application's ICO icon: Right-click the item-set icon for your own picture can

4. Replace the default Windows Phone 7 splash screen: Replace the splashscreenimage with your own picture

5. Set startup page for Windows Phone 7 application: Set in Wmappmanifest.xml

<Tasks>
<DefaultTask Name="_default" NavigationPage="MainPage.xaml" />
</Tasks>

6. Windows Phone 7 page navigation supports the use of aliases, using the following methods:

To configure a matching alias in App.xaml, add namespaces

Configure the matching tags as follows:

Then add the following code in the app () method behind the code App.xaml.cs:

Then we can use the alias in the XAML code to find the specific page.

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.