mpns

Can I send parameters in push notifications to toast (Windows Phone)?

情到浓时终转凉″ 提交于 2019-12-04 07:20:40
I have a case in my app where I need to send a push notification to a user device when the application is offline and appears as a toast notification. I need when the user clicks on the toast message to navigate to a specific page in my application depending on the message. I know that this is available in toast notifications but can I send parameters from my server to the toast to determine the page? Eran Of course you can. The XML of the toast notification you send from your server looks like this: <?xml version="1.0" encoding="utf-8"?> <wp:Notification xmlns:wp="WPNotification"> <wp:Toast>

send push notification for windows phone 7 using php

本小妞迷上赌 提交于 2019-12-03 17:01:24
问题 I'm a web developer (PHP). I would like to searching for push notification to windows phone 7 using PHP but the result is always .NET. Please someone can help me. UPDATE : How to send multi-devices at once? because the delay time is around 1 second, so if I have 1000 devices to push, I may need 1000 seconds to wait. 回答1: The following is the PHP code to send a toast notification to the URL " _URL_TO_SEND_TO_ " which is the token received from the MPNS: <?php // Create the toast message

Windows Phone 8 push notification push channel always creates new channel uri

这一生的挚爱 提交于 2019-11-30 04:34:20
I wanted to check that my push notification implementation is correct. Each time I open my app (in actual fact I register the push channel only on a specific page so it's each time I go back and forth from that page) a new push channel URI is created which I store in my mobile services database to send push notifications to. This doesn't seem correct to me as each time the app/page is opened a new push channel URI is generated and so the list of channel URIs just grows and grows for each device that uses my app. I'd assume that you create a push channel, store the channel URI and push to it as

Push notification problem in Windows Phone 7

梦想的初衷 提交于 2019-11-29 23:27:07
问题 I tried the following tutorials to create the push notification in Windows Phone 7. http://www.sgtconker.com/2010/03/article-windows-phone-7-push-notifications/ http://www.silverlightshow.net/items/Implementing-Push-Notifications-in-Windows-Phone-7.aspx I can create the channel uri in the WP7 emulator without any error. However, when I post the push notification from the server to the channel uri. I could only receive the 404 error. Could anyone give me some help ? Thanks. ===== Update 1 (28

Windows Phone 8 notifications and background tasks

坚强是说给别人听的谎言 提交于 2019-11-29 11:15:34
I have searched the official forums and documentation and all other places, but haven't been able to find a concrete answer. Q. In Windows Phone 8, is it possible for an application to respond to a Push Notification, and perform a task, while it is in the background? As far as I can understand, for Toast and Tile Notifications , when the app is not in the foreground, there are no hooks at all for it to be able to respond to the incoming message. I think "raw notifications" are the correct choice for this, since I am not required to update the app tile, or even show a Toast Notification. But, I

Windows Phone 8 push notification push channel always creates new channel uri

喜你入骨 提交于 2019-11-29 01:59:15
问题 I wanted to check that my push notification implementation is correct. Each time I open my app (in actual fact I register the push channel only on a specific page so it's each time I go back and forth from that page) a new push channel URI is created which I store in my mobile services database to send push notifications to. This doesn't seem correct to me as each time the app/page is opened a new push channel URI is generated and so the list of channel URIs just grows and grows for each