Mango-developer (4)

Source: Internet
Author: User

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 ).

Wpdt 7.1beta can be used in addition to mango (7.1)ProgramIn addition, you can also develop
7 (7.0) programs. To install wpdt 7.1 beta, you do not need to install additional wpdt in advance.
7. A series of things, such as vs2010, already contain everything you need. To install the tool, you must install the tool on either Vista (SP2) or Windows
7 or later. It comes with the necessary 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 Windows Phone
7.0 of the program, you can select the former. When you need to upgrade later, right-click the project in solution manager of Visual Studio and select "upgrade
Windows Phone 7.1 "can be upgraded to a mango project. 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. Wwpdt 7.1
In beta, we have built an attack specifically designed to simulate the acceleration sensor. You only need to click the small arrow on the right of the simulator to enable the Acceleration Sensor simulation function. You just need to drag your hand
The red dot in the middle of the machine can 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... Only because Windows Phone
7 does not allow the program to intercept text messages or phone calls, so it is estimated that the cellular simulator is useless. However, if wpdt can be officially released
7.1 it is necessary to provide remote Resource Manager (even if you can only view the structure of the currently debugged program in the independent storage space) and tools.

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 the end of your programCodeWhat resources are most consumed? What code takes the longest time? Want to make your program faster and faster? All of this is inseparable from profiler. From vs2010
Find "debug" in the menu and select "start Windows Phone performance ".
Analysis, you can 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.