Windows Phone 7 tips (8)

Source: Internet
Author: User

1. The maximum image resolution supported in Windows Phone is 2000*2000.

2. webbrowser in Windows Phone does not support opening a new window(Tips can be used to enable it to open a new window)

3. In Windows Phone, the application bar is neither a Silverlight control nor a uielement object.

4. In Windows Phone 7, place local language resources independently in a class library to improveProgramPerformance

5. The following services and APIs block UI threads: location services, push notification, network information, and radio. 

6. In Windows Phone, there are two important threads that need attention: the UI thread and the background thread.The UI thread is the main thread in Silverlight for Windows Phone 7 and has similar functions as the UI thread in the Silverlight browser plug-in.

7. In Windows Phone, the main tasks of the UI thread are as follows: process user input, convert elements in XAML to objects, draw visual elements, process callback execution usersCode

8. We can use system. componentmodel. backgroundworker to process Background threads.For more information about how to use it, see How to: Use a background worker.

9. We need to monitor the memory usage when debugging the program.. In Windows Phone, unless you have more than MB of physical memory, the maximum memory usage of applications should not exceed 90 MB. If we find that the memory usage is too large, we need to monitor the number of instances of the main objects in the application, such as some pages and user controls. For details about how to add the current memory usage to an application, refer to my blog Windows Phone memory usage monitoring.

10. For more information on Windows Phone optimization, see performance considerations in applications for Windows Phone.

 

It is already Windows Phone 7 tips (8), so I have compiled an ebook for your reference: Windows Phone 7 tips, as shown below:

 

 

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.