windows phone 8 - How can I send arbitrary data through a push notification? -


i need send data windows phone 8 app. want implement through push notifications.

i'm serializing data json , place in wp:param field in push notification. while app running in foreground, receive notification fine, can deserialize field , use data.

however, when app isn't in foreground, toast won't displayed @ all. when remove wp:param field notification, toast appear again, i'm assuming wp8 doesn't me putting json data in wp:param field.

how can send data , still have toast appear if app isn't in foreground.

the value provided in wp:param has url windows phone process , display toast.

the valid formats are:

  • /page1.xaml – defines screen navigate in app when app starts. string must begin "/".
  • /page1.xaml?value1=1234 &value2=9876 – defines screen navigate when app starts, along name/value pairs of info. string must begin "/".
  • ?value1=1234 &value2=9876 – contains name/value pairs of info passed default start screen of app. string must begin "?".

Comments

Popular posts from this blog

java - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -