据我所知,Ios 和 Android gcm 能够在推送通知事件到达时打开应用程序。对于 wp7,我只找到有关如何更新磁贴或显示消息的示例。但我需要全屏显示位图。当我发送推送通知时,有没有办法打开我的应用程序?
在此先感谢您的帮助。
据我所知,Ios 和 Android gcm 能够在推送通知事件到达时打开应用程序。对于 wp7,我只找到有关如何更新磁贴或显示消息的示例。但我需要全屏显示位图。当我发送推送通知时,有没有办法打开我的应用程序?
在此先感谢您的帮助。
There is no way you can launch anything via a push notification on Windows Phone. Raw, toast and tile are the only acceptable types, none of which is able to invoke code execution outside the pre-defined boundaries (e.g. launch the app when the toast is tapped).
Since you are displaying an image, your best bet would be focusing on the tile updating mechanism. Remember, however, that there are no guarantees that the user will see the tile (unless pinned), or keep it on the home screen permanently.
如果您使用通知机制发送 Toast 通知,然后点击 Toast 将启动应用程序,然后您可以指定要在应用程序中导航到的页面。
请查看以下内容以获取更多信息:
http://msdn.microsoft.com/en-us/library/hh202967(v=vs.92).aspx