SilverlightShow: Implementing Push Notifications in Windows Phone 7 - UPDATED (April CTP) Comments http://www.silverlightshow.net/ Silverlight articles, Silverlight tutorials, Silverlight videos, Silverlight samples SilverlightShow.net http://www.rssboard.org/rss-specification Argotic Syndication Framework 2008.0.2.0, http://www.codeplex.com/Argotic en-US estoychev@completit.com (Emil Stoychev) Re: Implementing Push Notifications in Windows Phone 7 - UPDATED (April CTP) If you want to make it easier on yourself, it's also possible to use a <a href="https://pushbug.com/" re_target="null" target="_blank">managed notification service </a>for sending the push notification such as toast and tile to devices running your application.  <p>A great benefit of the service, is that you only need to have your application register with their web service, and then your done. They handle all the sending and status changes for your devices. Free subscription with 600 notifications a month, great for developers, and decent plans for larger amounts of notification and attached devices.</p> http://www.silverlightshow.net/items/Implementing-Push-Notifications-in-Windows-Phone-7.aspx#comment7710 Steffon http://www.silverlightshow.net/items/Implementing-Push-Notifications-in-Windows-Phone-7.aspx Wed, 21 Mar 2012 21:50:47 GMT RE: Implementing Push Notifications in Windows Phone 7 - UPDATED (April CTP) how we implement in the server side? http://www.silverlightshow.net/items/Implementing-Push-Notifications-in-Windows-Phone-7.aspx#comment5576 maor dahan http://www.silverlightshow.net/items/Implementing-Push-Notifications-in-Windows-Phone-7.aspx Thu, 24 Feb 2011 17:43:21 GMT RE: Implementing Push Notifications in Windows Phone 7 - UPDATED (April CTP) <p>Is there any plan to update this article which works for final release? It will be very helpful to many developers like me. </p> <p>Thanks a lot.</p> http://www.silverlightshow.net/items/Implementing-Push-Notifications-in-Windows-Phone-7.aspx#comment5421 Himanshu http://www.silverlightshow.net/items/Implementing-Push-Notifications-in-Windows-Phone-7.aspx Thu, 03 Feb 2011 08:15:27 GMT RE: Implementing Push Notifications in Windows Phone 7 - UPDATED (April CTP) nice overview. Can you provide more info on service to service protocol. http://www.silverlightshow.net/items/Implementing-Push-Notifications-in-Windows-Phone-7.aspx#comment4721 Subash Mandanapu http://www.silverlightshow.net/items/Implementing-Push-Notifications-in-Windows-Phone-7.aspx Thu, 21 Oct 2010 01:35:19 GMT RE: Implementing Push Notifications in Windows Phone 7 - UPDATED (April CTP) Yeah, I guess :) But the api changed to much, so I guess I won't update this article http://www.silverlightshow.net/items/Implementing-Push-Notifications-in-Windows-Phone-7.aspx#comment4005 zoltan.arvai http://www.silverlightshow.net/items/Implementing-Push-Notifications-in-Windows-Phone-7.aspx Sun, 18 Jul 2010 22:28:53 GMT RE: Implementing Push Notifications in Windows Phone 7 - UPDATED (April CTP) ok now we need an update for the BETA version haha! http://www.silverlightshow.net/items/Implementing-Push-Notifications-in-Windows-Phone-7.aspx#comment4002 chris http://www.silverlightshow.net/items/Implementing-Push-Notifications-in-Windows-Phone-7.aspx Sun, 18 Jul 2010 13:34:52 GMT RE: Implementing Push Notifications in Windows Phone 7 As soon as you see "Updated" in the title of this article, you'll have access to the changed source code and the updated article as well :) ) http://www.silverlightshow.net/items/Implementing-Push-Notifications-in-Windows-Phone-7.aspx#comment3804 zoltan.arvai http://www.silverlightshow.net/items/Implementing-Push-Notifications-in-Windows-Phone-7.aspx Wed, 16 Jun 2010 12:20:42 GMT RE: Implementing Push Notifications in Windows Phone 7 <p>Wow so many questions :)</p> <p>This sample was created with a previous CTP and it does not work with the current version. Let me update it!</p> <p>Just for clarity:</p> <p>The WPF application is simulating a service that sends messages to the WP7 through the notification service. So you have to add a link that identifies your phone for the service. The other input is just some bla bla, nothing else. (the message you want to send, like "hello from wpf".</p> <p>Now I'm gonna update this article</p> http://www.silverlightshow.net/items/Implementing-Push-Notifications-in-Windows-Phone-7.aspx#comment3803 zoltan.arvai http://www.silverlightshow.net/items/Implementing-Push-Notifications-in-Windows-Phone-7.aspx Wed, 16 Jun 2010 11:05:23 GMT RE: Implementing Push Notifications in Windows Phone 7 Can u detail out the steps on how I can use the WPF sample and try receiving push notifications? <div>I am new to this and hence am asking </div> http://www.silverlightshow.net/items/Implementing-Push-Notifications-in-Windows-Phone-7.aspx#comment3785 Sudhindra Kovalam http://www.silverlightshow.net/items/Implementing-Push-Notifications-in-Windows-Phone-7.aspx Sun, 13 Jun 2010 07:36:25 GMT RE: Implementing Push Notifications in Windows Phone 7 Was anyone able to create a Silverlight app pushing push notifications to the phone?  All I've seen so far are using WPF or a web service. http://www.silverlightshow.net/items/Implementing-Push-Notifications-in-Windows-Phone-7.aspx#comment3683 Chris I http://www.silverlightshow.net/items/Implementing-Push-Notifications-in-Windows-Phone-7.aspx Sun, 30 May 2010 07:55:44 GMT RE: Implementing Push Notifications in Windows Phone 7 <p>Need to change the toast message to get it to work for April CTP</p> <div class="reCodeBlock" style="border: #7f9db9 1px solid; overflow-y: auto;"> <div style="background-color: #fff;"><span style="margin-left: 0px !important;"><code style="color: blue;">"X-WindowsPhone-Target: toast\r\n\r\n"</code> <code style="color: #000;">+ </code></span></div> <div style="background-color: #f8f8f8;"><span style="margin-left: 0px !important;"><code style="color: blue;">"<?xml version='1.0' encoding='utf-8'?>"</code> <code style="color: #000;">+ </code></span></div> <div style="background-color: #fff;"><span style="margin-left: 0px !important;"><code style="color: blue;">"<wp:Notification xmlns:wp='WPNotification'>"</code> <code style="color: #000;">+ </code></span></div> <div style="background-color: #f8f8f8;"><span style="margin-left: 0px !important;"><code style="color: blue;">"<wp:Toast>"</code> <code style="color: #000;">+ </code></span></div> <div style="background-color: #fff;"><span style="margin-left: 0px !important;"><code style="color: blue;">"<wp:Text1>{0}</wp:Text1>"</code> <code style="color: #000;">+ </code></span></div> <div style="background-color: #f8f8f8;"><span style="margin-left: 0px !important;"><code style="color: blue;">"</wp:Toast>"</code> <code style="color: #000;">+ </code></span></div> <div style="background-color: #fff;"><span style="margin-left: 0px !important;"><code style="color: blue;">"</wp:Notification>"</code><code style="color: #000;">;</code></span></div> </div> http://www.silverlightshow.net/items/Implementing-Push-Notifications-in-Windows-Phone-7.aspx#comment3662 Chris I http://www.silverlightshow.net/items/Implementing-Push-Notifications-in-Windows-Phone-7.aspx Mon, 24 May 2010 20:24:20 GMT RE: Implementing Push Notifications in Windows Phone 7 I'm not getting URL,Please help me http://www.silverlightshow.net/items/Implementing-Push-Notifications-in-Windows-Phone-7.aspx#comment3645 Nilu http://www.silverlightshow.net/items/Implementing-Push-Notifications-in-Windows-Phone-7.aspx Fri, 21 May 2010 08:22:07 GMT RE: Implementing Push Notifications in Windows Phone 7 I'm getting an invalid cross thread exception when the phone is trying to receive the notification.  Anyone else got this? http://www.silverlightshow.net/items/Implementing-Push-Notifications-in-Windows-Phone-7.aspx#comment3580 Chris http://www.silverlightshow.net/items/Implementing-Push-Notifications-in-Windows-Phone-7.aspx Tue, 11 May 2010 17:19:53 GMT RE: Implementing Push Notifications in Windows Phone 7 In order to get this sample to work with the April Refresh, you need to add your publisher name to the app element in wmappmanifest. Once you do that, it should work again. <a href="http://download.microsoft.com/download/D/9/A/D9A6B6ED-D1CF-4FB3-86BD-62A55959175F/ReleaseNotes.htm">http://download.microsoft.com/download/D/9/A/D9A6B6ED-D1CF-4FB3-86BD-62A55959175F/ReleaseNotes.htm</a><a href="http://download.microsoft.com/download/D/9/A/D9A6B6ED-D1CF-4FB3-86BD-62A55959175F/ReleaseNotes.htm"></a> http://www.silverlightshow.net/items/Implementing-Push-Notifications-in-Windows-Phone-7.aspx#comment3528 Chris http://www.silverlightshow.net/items/Implementing-Push-Notifications-in-Windows-Phone-7.aspx Sun, 02 May 2010 21:45:11 GMT RE: Implementing Push Notifications in Windows Phone 7 Something is broken with the April Refresh CTP. All "channel.ChannelUri" is always NULL. <div><br /> </div> http://www.silverlightshow.net/items/Implementing-Push-Notifications-in-Windows-Phone-7.aspx#comment3525 neil http://www.silverlightshow.net/items/Implementing-Push-Notifications-in-Windows-Phone-7.aspx Sat, 01 May 2010 19:10:00 GMT RE: Implementing Push Notifications in Windows Phone 7 What is "channel name" in this sample? http://www.silverlightshow.net/items/Implementing-Push-Notifications-in-Windows-Phone-7.aspx#comment3524 neil http://www.silverlightshow.net/items/Implementing-Push-Notifications-in-Windows-Phone-7.aspx Sat, 01 May 2010 18:51:59 GMT RE: Implementing Push Notifications in Windows Phone 7 <p>Very good example, </p> <p>but could not manage of how to use it what data should i enter in WPF app and for app on Phone</p> http://www.silverlightshow.net/items/Implementing-Push-Notifications-in-Windows-Phone-7.aspx#comment3515 Vivek W http://www.silverlightshow.net/items/Implementing-Push-Notifications-in-Windows-Phone-7.aspx Thu, 29 Apr 2010 16:14:25 GMT RE: Implementing Push Notifications in Windows Phone 7 <p>Amit Kumar:</p> <p>Yes, absolutely! You may want to use raw notifications in that case, since if you app is running it would be nice to automatically present the news in your UI without the phone displaying toasts.</p> http://www.silverlightshow.net/items/Implementing-Push-Notifications-in-Windows-Phone-7.aspx#comment3511 zoltan.arvai http://www.silverlightshow.net/items/Implementing-Push-Notifications-in-Windows-Phone-7.aspx Wed, 28 Apr 2010 09:17:22 GMT RE: Implementing Push Notifications in Windows Phone 7 if application is already running then can i still receive push notifications? multiple in sequence while app is still on? http://www.silverlightshow.net/items/Implementing-Push-Notifications-in-Windows-Phone-7.aspx#comment3510 Amit Kumar http://www.silverlightshow.net/items/Implementing-Push-Notifications-in-Windows-Phone-7.aspx Wed, 28 Apr 2010 07:53:02 GMT RE: Implementing Push Notifications in Windows Phone 7 I don't know about the vibration since I only have the emulator. It definietly gives you a sound notification as well. If i have to guess i would go with vibration too (IPhone does the same) http://www.silverlightshow.net/items/Implementing-Push-Notifications-in-Windows-Phone-7.aspx#comment3459 zoltan.arvai http://www.silverlightshow.net/items/Implementing-Push-Notifications-in-Windows-Phone-7.aspx Wed, 21 Apr 2010 12:50:24 GMT RE: Implementing Push Notifications in Windows Phone 7 Can the push notification switches on the phone or alert the user via the vibration/sound? http://www.silverlightshow.net/items/Implementing-Push-Notifications-in-Windows-Phone-7.aspx#comment3427 K http://www.silverlightshow.net/items/Implementing-Push-Notifications-in-Windows-Phone-7.aspx Fri, 16 Apr 2010 10:53:36 GMT RE: Implementing Push Notifications in Windows Phone 7 RaviKumar: Good observation! Thank you, I missed it :) http://www.silverlightshow.net/items/Implementing-Push-Notifications-in-Windows-Phone-7.aspx#comment3383 zoltan.arvai http://www.silverlightshow.net/items/Implementing-Push-Notifications-in-Windows-Phone-7.aspx Tue, 13 Apr 2010 16:32:50 GMT RE: Implementing Push Notifications in Windows Phone 7 <p>Did any one know how to implement the security with WP7 applications?</p> <p>Thanks</p> <p>RK</p> http://www.silverlightshow.net/items/Implementing-Push-Notifications-in-Windows-Phone-7.aspx#comment3381 RaviKumar Bhuvanagiri http://www.silverlightshow.net/items/Implementing-Push-Notifications-in-Windows-Phone-7.aspx Tue, 13 Apr 2010 15:05:54 GMT RE: Implementing Push Notifications in Windows Phone 7 <p>Hi...It is nice article to start with Push Notification in WP7 but no need to subscribe for the event HttpNotificationReceived for toast notifications. If we want to catch the toast notification in WP7 application we can subscribe for ShellNotificationReceived event.</p> <p>But HttpNotificationReceived event is required for Raw Notifications.</p> <p>Thanks</p> <p>RK</p> http://www.silverlightshow.net/items/Implementing-Push-Notifications-in-Windows-Phone-7.aspx#comment3380 RaviKumar Bhuvanagiri http://www.silverlightshow.net/items/Implementing-Push-Notifications-in-Windows-Phone-7.aspx Tue, 13 Apr 2010 15:02:06 GMT