Mango-developer (4)

Source: Internet
Author: User
Tags visual studio 2010

Http://www.cnblogs.com/twodays/archive/2011/06/09/whats-new-in-mango-for-dev-4.html

I have been lazy for a week, but I have completed my homework. Today is the last chapter of "you can't know mango-developer. In the previous sections (1, 2, and 3), we have introduced some new features related to mango. Today we will start to take you on a real mango journey.

Before installing the mango SDK, we need to remind you that although the mango development tool (wpdt 7.1 beta) is compatible with 7.0, but do not install it on your production environment machine to avoid unnecessary damage.

Installing mango development tools

Currently, Mango's development tool is Windows Phone Developer Tools 7.1 beta (wpdt 7.1 beta ), you can download and install it from here (if you prefer to install it offline, pay attention to download the ISO file at the bottom of this page ).

In addition to mango (7.1) programs, wpdt 7.1beta can also develop programs for Windows Phone 7 (7.0. Installing wpdt 7.1 beta does not require you to install additional wpdt 7, vs2010, and other things in advance. It contains everything you need. To install the tool, you must install the Start version of Vista (SP2) or later than Windows 7. It comes with the required express version of vs2010, the corresponding SDK, simulator, Silverlight SDK, xNa game studio 4.0 refresh Windows Phone extensions, microsoft experssion blend for WP 7.1 and WCF data service client for wp7.1.

Note that if Visual Studio 2010 has been installed on your machine, you must install vs2010 SP1. At the same time, because the current wpdt 7.1 Beta has not released a localized version, it is best to install the English version if you have to install an independent vs2010 version on your own.

In addition, wpdt 7.1 beta already comes with VB support. Therefore, if you have installed VB extension for wpdt 7.0, You Need To uninstall it before installing wpdt 7.1 beta.

After the installation is complete, open vs2010 and you will find that there are several more types in the Silverlight for Windows Phone Project template, as shown in:

The most striking one is the last four: "Windows Phone 3D graphics application", which is obviously a sl program integrated with the xNa framework; in addition, there are two agent projects for playing music and one task scheduler agent project.

When you create a new project, you will be prompted whether you want a Windows Phone 7.0 project or a 7.1 project. If you only want to develop a program for Windows Phone 7.0, you can select the former, when you need to upgrade the project, right-click the project in solution manager of Visual Studio and select "upgrade to Windows Phone 7.1" to upgrade the project to mango. However, this conversion is irreversible, that is, it cannot be downgraded from 7.1 of projects to 7.0 of projects.

New toys: acceleration simulation and Location Simulation

Currently, it is a hot topic to develop games related to gestures, but it is relatively difficult to debug them. Wpdt 7.1 Beta has a built-in attack dedicated to simulating an accelerometer. You only need to click the small arrow on the right of the simulator to enable the Acceleration Sensor simulation function. You only need to drag the red dot in the middle of the mobile phone with the mouse to simulate different operations on the mobile phone. At the same time, you can also use the drop-down box below to easily restore the mobile phone's posture or exercise according to the pre-recording.

In Windows Phone 7, it is very troublesome for you to develop applications related to geographic locations for debugging. At least you have to download a Dedicated GPS simulator. In wpdt 7.1beta, it is much more convenient. In the previous page, select "location" on the tab to open the geographic location simulator. You can even set a series of points in this tool, and then let it automatically trigger to simulate the user's motion track.

Okay, I know you have many expectations in addition to these two tools, such as the cellular simulator, remote resource manager, and tools... Because Windows Phone 7 does not allow programs to intercept text messages or calls, it is estimated that the cellular simulator is useless. However, it is necessary to provide remote resource manager and tools when wpdt 7.1 is officially released (even if you can only view the structures in the independent storage space of the currently debugged program.

Of course, if you only have these two tools, they are not very powerful. Wpdt 7.1 beta provides a function that allows you to monitor the efficiency of your application.

Profiler

Want to know that your program code consumes the most resources? What code takes the longest time? Want to make your program faster and faster? All of this is inseparable from profiler. Find "debug" in the menu of vs2010 and select "start Windows Phone Performance Analysis" to open profiler to analyze your program.

After the program runs, you will get a detailed analysis report, which can be used as a reference for improving the performance of your program.

Well, I believe you are full of curiosity and expectation about mango through the introduction of these four chapters? What are you waiting? Get started. In fact, the previous things are all nonsense. If you really want to know about mango, don't forget.

Refer to the following content
  • What's new in Windows Phone Developer Tools (mango)
  • Code samples for Windows Phone (supported des 22 new mango-specific samples, and stored others that have been updated for Mango)
  • Windows Phone how-to index (33 new for mango, more than 90 altogether)
  • Windows Phone OS application compatibility
  • Windows Phone mango Training Course (10 new hands-on labs)
  • Game Development for Windows Phone mango

Note:This article is based on some of the course content of mix11 and the document of Windows Phone Developer Tools 7.1 (Beta) with my own understanding, which may lead to some deviations. At the same time, the knowledge about mango mentioned in this article may change after the official version of mango is listed.

Additional reading:
[Mix11] reveal mango in multiple figures;
Mango-developer (1)
Mango-developer (2)
Mango-developer (3)

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.