Android (GCM) Push Notification Tutorial
This tutorial covers how to create a new Android application and integrate the push notification feature.
The GCM is now deprecated. Please use the FCM instead.
Check Android (FCM) Push Notification Tutorial for the details.
By completing this tutorial, you will be able to make necessary configurations for using the push notification feature. We also present some implementation tips at the end of the tutorial to give you some hints to expand your application.
This tutorial covers the GCM-based push.
GCM users are recommended to upgrade to FCM. See Android (FCM) Push Notification Tutorial if you are adding the push notification feature to your mobile app. Use this tutorial to maintain existing mobile apps.
This tutorial uses a modified version of the GCM sample code for Kii Cloud. The original sample code is available on GitHub. The GCM sample code is distributed by Google under the Apache License 2.0.
Prerequisite
Prior to going through this tutorial, you need some basic preparations for starting the Android application development.
Setting up the development tools
Install Android Studio. Also, install other Android development tools as needed.
You can use other development tools. In this tutorial, we will cover Android Studio only.
Registering as an Android developer
Register as an Android developer and have the privilege to create a new project and change the configurations on Google Developers Console.
Let us move to the first step: Create an Android Application.