Windows 7 toast notification

in a toast message on a Windows 7 phone, when you click on this message, the application opens, which is great,

I just want to go to a specific page when I click on the toast message,

Is there any way to do this?

in both 7 and mango updates

or

at http://samidipbasu.com/2011/06/14/push-notification-payloads/ in this link, when we read for notification of the toast, we have an additional parameter wp: Param in xml format for sending, How they sent wp: Param data on Windows 7.0 (before mango update). Any idea?

+4
source share
3 answers

@curiosity. The Toast and Tile payloads are predefined so that the OS can process these bits coming from MPNS after the application registers shellToast / shellTile. It is assumed that additional parameters in the payloads will be supported starting with Mango. Since your first page of the application (or any XAML page is in the URL) is launched from a deep toast, the developer must be able to listen to the OnNavigatedTo () event to do something special with the parameters of the incoming URL (query string). Please see some of the later posts on my blog for examples and let me know if this helps.

Thanks!

+1
source

Support for going to a specific page is supported in Mango. The following is an example that does not require an HTTP channel, but must be executed by the background agent (and not by the application itself):

var toast = new ShellToast { Title = "Title", Content = "Toast content", NavigationUri = new Uri("/SomeOtherView.xaml", UriKind.Relative) }; toast.Show(); 

NOTE. NavigationUri functionality is also supported by toasts sent via HTTP push notifications.

+3
source

all the information you need to know about push notifications is here

+1
source

All Articles