mpns

Microsoft push notification service pricing

☆樱花仙子☆ 提交于 2019-12-11 00:52:43
问题 I've read Microsoft documentation about Push Notification Service that they are offering for Windows phones but there is no information about pricing. I've read somewhere that it is free to use max 500 notification per day/per application/per device and it is unauthenticated mode but there is also authenticated mode which has no daily limit and cost some money. Is that true and if it is, how much is price? Also I am interested in information about saving messages in server if user is not

Windows Phone 7 Push Notifications Not Showing Up On My Phone

China☆狼群 提交于 2019-12-09 06:27:03
问题 UPDATE: The plot thickens. I changed my channel name and it is suddenly working (which means it wasn't a problem with my push service, since I'm getting the same HTTP response from the Microsoft Push Notification server). To me, however, this is not a solution. How will I be able to test this and KNOW my users are getting their push notifications if I'm getting the same response when it's not working as I do when it is? [ORIGINAL POST] I've been trying to get push notifications sent to my

wp8:Handle Toast notification when application is in backgroung

▼魔方 西西 提交于 2019-12-08 02:45:42
While my app is running I can receive toast notification,on ShellToastNotificationReceived(object sender, NotificationEventArgs e) event handler as keys in e.Collection. If my app is not running and a toast notification arrives, a toast is displayed but how i can i handle this notification? I mean which event is fire when my application is not running and notification arrives. I know background agent but its not fulfill my requirement Thanks. Windows Phone platform is responsible to handle Push Notifications and developers don't have a direct access for notification handling when an app is not

Toast notification, when app is not running

淺唱寂寞╮ 提交于 2019-12-08 01:10:58
问题 I write app on Windows Phone 8 with service of push notification (only toast), I have yet MSSQL Job which send pushes to my mobile app. Send data have this below format ( typeId is int, which tell what app should do with data ): <?xml version=\"1.0\" encoding=\"utf-8\"?> <wp:Notification xmlns:wp=\"WPNotification\"> <wp:Toast> <wp:Text1>title</wp:Text1> <wp:Text2>subtitle</wp:Text2> <wp:Data>typeId;data</wp:Data> </wp:Toast> </wp:Notification> When push income when I have running app, I can

How can I handle toast notifications on Windows Phone 7 when application is not running?

痞子三分冷 提交于 2019-12-07 18:59:27
问题 My Toast Message is string ToastPushXML = "<?xml version=\"1.0\" encoding=\"utf-8\"?>" + "<wp:Notification xmlns:wp=\"WPNotification\">" + "<wp:Toast>" + "<wp:Text1>{0}</wp:Text1>" + "<wp:Text2>{1}</wp:Text2>" + "<wp:Param>{2}</wp:Param>" + "</wp:Toast>" + "</wp:Notification>"; While my app is running I can receive my custom parameters (wp:myCustomParam1 and other) on ShellToastNotificationReceived(object sender, NotificationEventArgs e) event handler as keys in e.Collection But when my app

How to get device token id of windows phone for push notification?

北城以北 提交于 2019-12-07 06:20:17
问题 I am creating a windows phone 8 app in phone gap + mobile jquery using visual studio 2012. I want to get the device token id from the device for push notifications. Can anyone guide me as to how can I get device token id of windows phone 8? 回答1: You can use the DeviceExtendedProperties - byte[] myDeviceID = (byte[])Microsoft.Phone.Info.DeviceExtendedProperties.GetValue("DeviceUniqueId"); string idAsString = Convert.ToBase64String(myDeviceID); 回答2: For what reason you need the device ID? In

Windows Phone 7.5 - Push Notifications when app is tombstoned

不打扰是莪最后的温柔 提交于 2019-12-07 02:59:37
问题 I have written a Windows 7.5 phone app that registers for tile and toast push notifications with MPNS. I have all the infrastructure working and the phone registers with MPNS. I save the ChannelUri locally on the phone and then post the ChannelUri to a rest service endpoint on my website which records the device / ChannelUri. I'm able to send toast and tile messages from the web service and receive them on the phone without any problem. If the application is running I'm able to trap the

How can I handle toast notifications on Windows Phone 7 when application is not running?

我与影子孤独终老i 提交于 2019-12-06 12:57:01
My Toast Message is string ToastPushXML = "<?xml version=\"1.0\" encoding=\"utf-8\"?>" + "<wp:Notification xmlns:wp=\"WPNotification\">" + "<wp:Toast>" + "<wp:Text1>{0}</wp:Text1>" + "<wp:Text2>{1}</wp:Text2>" + "<wp:Param>{2}</wp:Param>" + "</wp:Toast>" + "</wp:Notification>"; While my app is running I can receive my custom parameters (wp:myCustomParam1 and other) on ShellToastNotificationReceived(object sender, NotificationEventArgs e) event handler as keys in e.Collection But when my app is not running and notification comes, the user taps on pop-up notification and app started, the

How to get device token id of windows phone for push notification?

馋奶兔 提交于 2019-12-05 12:35:02
I am creating a windows phone 8 app in phone gap + mobile jquery using visual studio 2012. I want to get the device token id from the device for push notifications. Can anyone guide me as to how can I get device token id of windows phone 8? You can use the DeviceExtendedProperties - byte[] myDeviceID = (byte[])Microsoft.Phone.Info.DeviceExtendedProperties.GetValue("DeviceUniqueId"); string idAsString = Convert.ToBase64String(myDeviceID); For what reason you need the device ID? In Windows Phone 8 you need to get a Push Notification cannel, that is an URL that unique identify your app & device

Windows Phone 7.5 - Push Notifications when app is tombstoned

為{幸葍}努か 提交于 2019-12-05 08:17:27
I have written a Windows 7.5 phone app that registers for tile and toast push notifications with MPNS. I have all the infrastructure working and the phone registers with MPNS. I save the ChannelUri locally on the phone and then post the ChannelUri to a rest service endpoint on my website which records the device / ChannelUri. I'm able to send toast and tile messages from the web service and receive them on the phone without any problem. If the application is running I'm able to trap the ShellToastNotificationReceived event and can read the push notification details and I save the message to a