Windows Phone Mango Push Notification Changes

Windows Phone Mango Push Notification Changes

The basic concept of push notifications for Windows Phone doesn’t change for Mango. There are still three types (Push Notifications in Windows Phone), tile, toast and raw, and your application still needs to register with the Microsoft Push Notification Service in order to make use of this feature. The differences are that there are extensions to the service, which both plug holes in the initial implementation and provide support for multiple tiles and the back of tiles. Let’s go through the different types of notifications and I’ll point out some of the differences.

Toast Notifications

One of the issues with toast notifications in WP7 was that when the user clicked on the toast they were taken into the application as if they’d clicked on the application from the apps list. There was no arguments or information passed into the application to indicate where it had been launched from. This made it rather painful to do anything useful with toast notifications, other than trying to encourage users back into the application.

In Mango there is an additional (optional) Param element that can be specified in the toast message payload. This is essentially a navigation uri, or a query string, that is passed into the application. The payload message structure looks similar to the following:

string toastMessage = "<?xml version="1.0" encoding="utf-8"?>" +
                                              "<wp:Notification >Setting up a Callback Registration Request

Build Mobile: Windows Phone Push Notifications

Build Mobile: Windows Phone Push Notifications

The fourth part of a series on Windows Phone Push Notifications has been posted on Build Mobile. If you’re interested, check out the direct links below:

Push Notifications in Windows Phone
WP7 Push Notifications Part 2

In the Mobile Corner at the Visual Studio Magazine my latest article on using some of the system styles in Windows Phone has been published:

Style Your Application with Windows Phone 7 System Resources

A full listing of articles on both Build Mobile and Visual Studio Magazine is available here

Windows Phone Developer Training: Are You Interested?

Windows Phone Developer Training: Are You Interested?

We’re looking to run Windows Phone developer training….. but need to know whether you’re interested! Complete the super-quick survey http://bit.ly/remixwp7 to let us know what you want. The quicker you respond, the quicker we’ll make a decision on when, where and how to run developer training.

Note: We’ve purposely dropped the “7” from the Windows Phone title in light of the announcement/SDK for Mango. If you’re skilled with WP7 but want to learn the ins and outs of Mango then make sure you add this to the comments so we can focus on that.