In July 2011, Microsoft officially launched the Windows Phone mango version. This is the most important upgrade to date for Windows Phone, bringing more than 500 updates. This section describes the main new features of Windows Phone mango.
1) fast switch between execution mode and Application
Since the mango version, the application execution model has added the dormant status. The application that enters the sleep status does not exit, thread activities related to the application are suspended and kept in the memory. Similar to the sleep mechanism in PC, an application can be quickly recovered from sleep state when it is activated again.
In Windows Phone OS 7.1, you can press and hold the back key to view applications in sleep state. You can select an application for fast switching.
2) Enhanced Contact and calendar Functions
After the mango version, applications can access contacts and calendar information in Windows Phone in read-only mode. Developers can use some methods (allowing users to select and send emails to them from their contact list, and search for their birthdays and other content) queries and interacts with user data to differentiate applications.
3) Background proxy
In the mango version, you can set scheduled tasks for applications by Using Background agents. There are two main types of background tasks: regular proxy and resource-intensive proxy.
4) live tiles
Developers can create a live tile on the home screen to display data in real time. For example, the weather conditions in the weather forecast and the number of emails received in real time in the mail receiving application.
5) Get device status information
Developers can access users' Windows Phone devices through the devicestatus class to determine whether the devices use batteries, external power supplies, and whether the keyboard is available or deployed. The device manufacturer and other information are also available. Developers can design applications to obtain and SET network connection options for Windows Phone.
6) camera and sensor API access
After the mango version, applications can directly access the original frame data of the camera, and control the flashlight and auto focus. Mango has added APIs for a variety of sensors, including compass, gyroscope, and mobile sensors.
7) Information Push
The push notification system becomes more powerful. The toast notification can be linked to a specific location in the application, and parameters can be passed. Tile notifications now support dual-sided applications and secondary tile.
8) socket support
TCP or UDP protocol can be used for network communication through socket. Socket allows two-way communication with cloud services and supports solutions such as instant messaging and multiplayer games.
9) Silverlight and xNa Integration
After the mango version, developers can integrate Silverlight and xNa to develop more outstanding applications. For example, they can improve the user experience of Silverlight applications by leveraging the rich graphic rendering capabilities in the xNa framework.
10) Windows Phone Simulator
Developers can use the Windows Phone simulator of mango to simulate more sensor data.
11) added support for Visual Basic.
In addition to C #, developers can now use Visual Basic to develop applications.
12) enhanced Web browsers Based on ie9
Supports HTML5 and background music playback, and uses hardware accelerators to improve the rendering capability of browsers.
13) added the starter and Selector tasks.
The new starters and Selector tasks after the mango version are as follows:
L address selector task
L game invitation task
L ringtone save task
L Bing map task
L Bing map navigation task
14) system tray and progress indicator
The Windows Phone System Tray of the mango version supports opacity and color settings, and a progress indicator is added. developers can use this indicator in applications to indicate the application execution progress.
15) Local Database
The mango version provides new APIs to manage local databases.
16) Support for odata clients
The Windows Phone developer tool contains the odata client proxy service, which authenticates the client identity and accesses the odata service using the LINQ query.
17) Globalization and Localization
In the mango version, 16 new regional support items are added, including multiple Asian languages and fonts for reading and user interfaces.