I have been struggling with GCM implementation for some weeks now, but how I really want to get to understand how it works I decided to take \'baby steps\'.
First of
Is my answer with source code at your question How to implement a GCM Hello World for Android using Android Studio is not enough for you to create two simple GCM projects (server-side and client-side) yet? :)
Of course, the sample code I used is just for a very basic case "server app sends, client app receives and displays message".
To sum up, you need to do the following steps:
Project Number
, which
will be used as SENDER_ID
in my client project; and API server key
(created at Credentials), which
will be used as API_KEY
in my server project.CLIENT_REGISTRATION_TOKEN
variable in server app.Hope this helps!
P/S: I don't use any appengine-web.xml
file