Skip to main content

Posts

Showing posts with the label Google Cloud Messaging

Push Notification Using Google Cloud Messaging on Android

This is supposed to pay notifications tutorial which uses Android Studio as IDE, with target device running Android 4.0.4 or higher. Google Cloud Messaging (GCM)  The services offered by Google, which allows developers to implement their program Push messages. Using GCM, developers do not need to apply their method of data sent from the server to the client program. Configuring the Project in Google Developers Console Create a project in the Google developer Console Enable Api Google Cloud Messaging Configure your project Add the dependency to your project-level build.gradle: classpath 'com.google.gms:google-services:3.0.0' apply plugin: 'com.google.gms.google-services' dependencies { compile "com.google.android.gms:play-services-gcm:10.2.0" } Add the following to your application's manifest: AndroidManifest.xml < manifest package = "com.example.gcm" ... > < uses-sdk android:minSdkVersion = "8...