What is Google Cloud Messaging for Android?

Example

Characteristics of GCM

Key Concepts
Step 1- Move to the web browser and type the following address, then click on select a project dropdown button,
browser
Step 2- Click on Create a project button and at this time suppose we have no project, so just one.
create
Step 3- A window appears, give the project a name and apply the term and conditions. Note that it is not mandatory that your app name and project name is similar.
new
Step 4- After creating a project a dashboard appears and in the front box, you see the project Id and project number. Copy these two things since we have to use it later. Click on the left sidebar top box which I have highlighted.
dashboard
Step 5- Now click on API Manager,
Manager
Step 6- Now click on Google Cloud Messaging and after that you can see the enable button. Press it!
enable
Step 7- After enabling you can see the Alert message. Now click on Go to Credential.
message
Step 8- Now click on Browser key because we receive the data from the browser. So, I will press the browser key and if you send data from the server select Server key.
key
Step 9- Give the name and the second field can’t give anything. Click on Create button,
Create
Step 10- Now copy this API key since we have to use this later. Now our GCM work is complete and now we move to the Android Studio for further configuration.
API
Read more articles on Google Cloud Messaging