I want to use GCM Service in my application.
I have referred to the following link (Android Developer: Google GCM) but was not able to install the GCM Library in my eclipse.
From the SDK manager I am not getting GCM Library in the Extras Folder.
Can anyone please help me?
The first step in GCM is that a third-party server (such as an email server) sends a request to Google's GCM server. This server then sends the message to your device, through that open connection. The Android system looks at the message to determine which app it's for, and starts that app.
The Android push notifications through FCM actually treats the Data Messages as notification messages itself. As the interactions in the data messages are handled by the app itself, FCM's work is just to deliver a notification and the message content.
Google Cloud Messaging (GCM) is a service that allows you to send push notifications from your server to your users' Android devices, and also to receive messages from devices on the same connection.
I had similar issues and it was resolved once I updated Android SDK Tools to revision 20 and Android Platform SDK Tools to revision 12. Rev 19/11 would not shown up Extras > Google Cloud Messaging for Android Library in SDK Manager. And make sure that you restart SDK manager after updating.
It should then show up in SDK manager as shown bellow:
For me just an update don't work. But try to download and install new Android SDK from http://developer.android.com/sdk/index.html. After installing this it finally shows me new libraries in extras.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With