1. in mango, the following starters and selectors are added: Address chooser task, Bing Maps task, Bing Maps directions task, game invite task, save contact task, save ringtone task, share link task, and share status. task
2. scheduled tasks and background proxies allow applicationsProgramIt can be executed in the backgroundCode, Even this application is not running on the foreground. Scheduled tasks can be classified into periodictask and resourceintensivetask. An application can have at most one background proxy.
3. The periodic proxy and resource-intensive proxy cannot consume more than 6 MB of memory while the audio proxy is limited to 15 MB. Once the memory limit is exceeded, these proxies will be terminated immediately.
4. Determine whether the current application is running on a real machine or a simulator.
If(Microsoft. devices. environment. devicetype=Microsoft. devices. devicetype. Device ){//Do something}
5. In mango, the button comes with command and commandparameter. You do not need to use eventtocommand or additional commands.
6. we can use shelltileschedule to regularly modify the pin to the start tile, but there is a limit that remoteimageuri can only be a remote image, not a local image, and the image size cannot exceed 80 KB, download time cannot exceed 30 seconds
7. In the screen lock status, shelltileschedule will not be executed.
8. You can use devicestatus. iskeyboarddeployed to determine whether the current device has a physical keyboard. Use devicestatus. iskeyboardpresent to determine whether the physical keyboard is on.
9. In background agents (background proxy), Some APIs are not supported, such as MessageBox, so do not try to use MessageBox in background agents, but we can use shelltoast to bring up a reminder. The specific unsupported APIs references http://msdn.microsoft.com/en-us/library/hh202962 (V = vs.92). aspx
10. geocoordinatewatcher: class used to obtain the current geographical location. The cached geographical location is used. The system clears the geographical cache every 15 minutes.