How to test Android GCM Push notification?

Recently I had to implement GCM in a project. I would like to share my learning on this that would definitely help others
Attached with the blog you can find the GCMDemo.apk for Android. Its an sample app that Google provide with android sdk.
Following are the steps to get message from GCM on this App:
  • Launch the GCMDemo application after installation. When the application would launch,it will show the registration ID which is actually the device token. It would be like APA91bGtMNMK2YYpNXwbH0EhStvKRGxhs3Qc2gAdFLJUaY81tzxHIfLMjPFYYrUhjAd9WWD6HyTpd0SVHxydrTG5R-x0MQjQZcnlS8NelCbf9KU7VflP3cDP6d4kbUNO1g8F-rIZrioo39yQGs1Rbe_lVauNwTvVh07PngDD1Z9BTlRra3_zQlk
  • To test the GCM go to And enter following three information and then submit the inform. As soon as you submit the form the message would appear on device(Both on notification Area as well as in the App):
  1. api Key (Browser key): Enter “llIzaSyBuM2dddjXoT0c5n77tjNMY-bxvdtJv9i” (without quotes)
  2. Registration ID: This would be the device token that we copied from the GCMDemo Android App above.
  3. Message: This would be the text of the message you want to send using GCM to android device.

4 thoughts on “How to test Android GCM Push notification?

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s