So I'm trying the Notification Hubs on Azure.
I have set things up according to this blog post. I have done the GCM setup in my Android code so I have a valid regId:
String connectionString = "Endpoint=sb://<MYNAMESPACE>.servicebus.windows.net/;SharedAccessKeyName=DefaultListenSharedAccessSignature;SharedAccessKey=<MYKEY>";
hub = new NotificationHub("<MYHUB>", connectionString, this);
hub.register(regid, "myTag");
So I get:
com.microsoft.windowsazure.messaging.NotificationHubUnauthorizedException: Unauthorized
on the hub.register method call.
Any ideas?