Hi have just started working on GCM.
I followed the document at
http://docs.ishome.org/android/google/gcm/gcm.html.
1. Created Google project.
2. Created an android-key (As per the document).
3. Setup the gcm-demo-server, gcm-client provided by Google. Tried to get notification . But I get 'UnAUTHORIZED' error.
4. When I changed the API -key that I configured in gcm-demo-server to a new server key, (rather than android key), it started working.
What is it exactly that we need to provide server-key or android key for GCM? How do they differ?
Please help me understand.
Thanks!