c# - Push Notification for windows phone 7 -


I am creating an application for Windows Phone 7 where I need to add push notifications in some time, Whenever some new data has been added to the application, can anyone suggest me how to do this from the backend? I googled it but did not get much help. Please tell me the procedure to do this.

ASP.NET can send notifications to the browser. For this, a sample can be found here in the Windows Phone Dev Center sample.

Alternatively, you can use PHP to send push notifications too.

The overall steps for getting this type will be as follows:

  1. Under the app, enter the code to implement push notifications A new push notification channel Create and subscribe to the device on that channel.
  2. On successful subscription, use a unique push notification URI
  3. Push Notification URR in the ASP.NET sample page and some dummy Send content. Or alternatively use the following code for PHP:

    $ uri = " your push notification URI "

    $ notif = new WindowsPhoneNotification ($ uri );
    $ noticef-> push_stost ("title", "description");

All steps should be abbreviated in order to establish and receive push notifications. If you are using ASP.NET, the MSDN sample is self-sufficient. If you want a step-by-step tutorial, you will refer to here


Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -