Is it possible to process the push notification data in Windows Phone 7
i have a question for my student project.
开发者_StackOverflow中文版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.
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.
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?
This capability isn't exposed directly by the API at the moment. However, there is nothing stopping you calling back to your web service after the user taps your toast notification to query for any data that needs to be passed along.
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.
Yes, It's possible You can check out this link How to: Send a Push Notification for Windows Phone on MSDN
精彩评论