Skip to content

jferrer-vhm/azure-notificationhubs-samples

 
 

Repository files navigation

Notification Hubs Samples

This repository will contain sample code for Notification Hubs.

Push to Chrome Apps (PushToChromeApps folder)

Sample Chrome App to demonstrate how to use Azure Notification Hubs to push to Chrome Apps. See the tutorial here Chrome Apps tutorial

Push to Windows Phone Silverlight application (PushToSLPhoneApp folder)

Azure Notification Hubs Windows Phone SDK currently does not support using WNS with Windows Phone 8.1 Silverlight apps. This sample takes you through the steps to create a Windows Phone 8.1 Silverlight app which registers with Azure Notification Hubs (ANH) so that it can receive notifications via ANH.

Push to WNS sample (PushToWNSDirectly folder)

This sample is useful when you want to test the end to end flow between client app and WNS without Azure Notification Hubs in the picture. This helps in validating that your client app is set up correctly as well that you have the correct Package SID & Secret that you are configuring in the Azure Notification Hubs. In case the PNS responds with an error then you also get to see the exact error from the WNS itself providing additional information.

REST wrapper for Java (notificationhubs-rest-java folder)

The official Java SDK is now available at - Official Java SDK. Please refer to it going forward. The following is only for legacy reasons.

This is a fully working sample of a server SDK for Notification Hubs in Java. It contains REST wrappers for all operations including seding notifications and registration management.

REST wrapper for PHP (notificationhubs-rest-php folder)

This is a sample for sending notifications to Notification Hubs using PHP.

REST wrapper for Python (notificationhubs-rest-python folder)

This is a sample for sending notifications to Notification Hubs using Python.

Detailed readme is available here - http://azure.microsoft.com/en-us/documentation/articles/notification-hubs-python-backend-how-to/

About

Microsoft Azure Notification Hubs Samples

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • XML 38.8%
  • JavaScript 30.1%
  • Java 19.7%
  • C# 9.6%
  • Python 1.1%
  • PHP 0.6%
  • HTML 0.1%