是否可以在Windows Phone 7中处理推送通知数据 [英] Is it possible to process the push notification data in Windows Phone 7

查看:91
本文介绍了是否可以在Windows Phone 7中处理推送通知数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对我的学生项目有疑问.

i have a question for my student project.

我目前在Windows Phone 7上使用推送通知,想询问是否有可能(如Android中一样)在后台处理传递的数据,创建唤醒锁等.

I am currently using push notification an the Windows Phone 7 and wanted to ask if it is possible - like as it is in Android - to process the delivered data in background, creating a wakelock or something.

以下是scenerio在Android中的工作方式: 1.我向设备发送了一条通知(更精确地向C2DM Server发送,但是现在不重要了). 2.该应用程序在关闭时会收到我的通知,在屏幕上显示一个磁贴并将数据保存在数据库中,以便我以后可以使用它们.

Here the scenerio how it works in Android: 1. I send a notification to the device (more precise to the C2DM Server, but that doesn't matters now). 2. The App receives my notification while it is closed, shows a tile on the screens and saves the data in a database so i can work with them later.

在应用程序未运行时,是否可以将推送通知接收的数据存储在Windows Phone 7中的数据库/隔离存储中?

Is it possible to store the data received by a push notification in a database/isolated storage in Windows Phone 7 while the Application is not running?

推荐答案

正如米克所说.目前尚不可能.

As Mick said. That's not possible at the moment.

旨在使用瓷砖和吐司通知向用户提供更新的信息,或提示用户有更多可用的信息标签.

Tile and toast notifications are intended to be used provide updated information to the user or prompt the user that there is more information availabel.

如果这然后提示用户打开应用程序,则应该触发该应用程序从服务器获取任何新信息.然后,您可以适当地保存/存储此信息.

If this then prompts the user to open the app, that should be the trigger for the app to get any new information from the server. You can then save/store this information as appropriate.

这篇关于是否可以在Windows Phone 7中处理推送通知数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆