3
votes

I have few questions regarding MPNS(Microsoft Push Notification Service) For Windows Phone.

As we know there are three types of Push Notifications in windows phone

  1. Toast Notification
  2. Shell Tile Notification
  3. Raw Data Notification

  4. Can we show Toast and Tile at the same time. Mean when toast is received via MPNS and it also updates my tile count too for my app tile.

  5. Suppose my app is not launched and its not in running state or its in background. If there is some toast or tile notification is received. And server send some payload in this push. Can we get that when app launched after the push and we can get this payload within our app.

  6. What is TTL(Time To Live) time of push or can we set that within our payload.

2
Wp8 brought new kind of notifications - voip ;-)Nagg
@Nagg: Its Just For Incoming Call Task And We Need New Capability For That As Per My Knowledge. But In My Way I Am Not Going For VOIP. I Just want to use for IM or Marketing Push. Thats Was My Question :)Arslan Pervaiz

2 Answers

1
votes

For raw and VoIP toasts, a background agent can handle the incoming push, and you can then write data to the isolated storage. A raw/VoIP toast can also update a tile, and show a message toast at the same time, for a single push payload.

Tile and Message Toasts have by definition no agent, so no code handling the incoming data.

What is TTL(Time To Live) time of push or can we set that within our payload.

You got 30 seconds before the OS kills the agent process.

1
votes

Can we show Toast and Tile at the same time. Mean when toast is received via MPNS and it also updates my tile count too for my app tile.

You have to do two different pushes for this. It's different payloads.

Suppose my app is not launched and its not in running state or its in background. If there is some toast or tile notification is received. And server send some payload in this push. Can we get that when app launched after the push and we can get this payload within our app.

You mean save some data into for example isolated storage when the notification is received? That is not possible. Is it possible to process the push notification data in Windows Phone 7