Windows Phone WNS通知导航到特定页面 - c#

它是Windows运行时,Windows Phone专用项目。

我正在使用Azure和Azure通知中心。所以我的问题是,有谁愿意如何导航到某些特定页面并发送ID等参数。

这是我的吐司模板,如字符串中所述:

   var toast = @"<toast><visual><binding template=""ToastText01""><text id=""1"">" + datatoshow + "</text></binding></visual></toast>";

我应该使用原始还是其他通知类型。非常感谢。

此链接对我的问题没有帮助:

https://msdn.microsoft.com/en-us/library/windows/apps/hh761494.aspx

参考方案

一个更好的文档页面是Quickstart: Sending a toast notification的“指定启动参数”段。该引用位于toast element定义中。

将toast元素的启动属性设置为一个字符串,该字符串将在激活时传递给应用程序。然后,该应用可以根据该字符串进行切换。

var toast = @"<toast launch=""?page=foo&id=7""><visual><binding template=""ToastText01""><text id=""1"">" + datatoshow + "</text></binding></visual></toast>";

当回复有时是一个对象有时是一个数组时,如何在使用改造时解析JSON回复? - java

我正在使用Retrofit来获取JSON答复。这是我实施的一部分-@GET("/api/report/list") Observable<Bills> listBill(@Query("employee_id") String employeeID); 而条例草案类是-public static class…

Div单击与单选按钮相同吗? - php

有没有一种方法可以使div上的click事件与表单环境中的单选按钮相同?我只希望下面的div提交值,单选按钮很丑代码输出如下:<input id="radio-2011-06-08" value="2011-06-08" type="radio" name="radio_date&#…

提交表单后显示模式对话框 - php

提交下载文件后,我有一张表格。我要自动而不是自动下载文件..以显示模态对话框并显示下载链接。<form name="softwareform" id="softwareform" action="../downloadlink.php" method="POST" alig…

DataSourceTransactionManager和JndiObjectFactoryBean和JdbcTemplate的用途是什么? - java

以下的用途是什么:org.springframework.jdbc.core.JdbcTemplate org.springframework.jdbc.datasource.DataSourceTransactionManager org.springframework.jndi.JndiObjectFactoryBean <tx:annotatio…

将python scikit学习模型导出到pmml - python

我想将python scikit-learn模型导出到PMML。哪个python软件包最合适?我阅读了有关Augustus的内容,但是我无法使用scikit-learn模型找到任何示例。 python大神给出的解决方案 SkLearn2PMML是 JPMML-SkLearn命令行应用程序周围的薄包装。有关受支持的Scikit-Learn Estimator和…