2

I am working with GCM Notification in my Android Project. But I am getting error when I integrate with server Like

Unauthorized Error 401

When I run same code on localhost everything works fine without any error.& I am getting notification also in my android emulator from localhost.

please help.

dhrut
  • 147
  • 1
  • 9
  • put your send massage code.. and you server url.. – Dhaval Parmar Mar 30 '13 at 05:34
  • http://www.androidhive.info/2012/10/android-push-notifications-using-google-cloud-messaging-gcm-php-and-mysql/ I have followed this link. – dhrut Mar 30 '13 at 05:43
  • check this [link](http://stackoverflow.com/questions/12285123/sending-notifications-to-google-cloud-messaging-with-php-gives-me-unauthorized-e) – Amol Sawant Mar 30 '13 at 10:08
  • I have already set server key though I am getting this error.. – dhrut Apr 01 '13 at 04:04
  • You're likely to get a better, more helpful and tailored response if you post code samples so that people can see what you're doing. What you have here is the equivalent of asking a doctor friend to help you feel better and telling them that when you move your arm, you feel pain. – Travis Apr 25 '13 at 13:10

0 Answers0