Top "Google-cloud-messaging" questions

Google Cloud Messaging is a service to allow data to be sent remotely to Android and iOS applications and Chrome extensions and packaged apps.

Clicking on Notification is not starting intended activity?

I am using GCM in my application and also using NotificationManager to Create a Notification whenever GCM message is received.…

android google-cloud-messaging android-notifications
Do GCM registration id's expire?

I know that C2DM registrations expire, and you are supposed to periodically refresh the registration ID. Is this the …

android android-notifications google-cloud-messaging
Refreshing activity on receiving gcm push notification

Update: GCM is deprecated, use FCM How to refresh activity on receiving gcm push notification if my app is open. …

android listview android-activity google-cloud-messaging
google-services.json location in the project tree

I am following this manual and I am unsure where I should exactly copy the file google-services.json? There's many …

android google-cloud-messaging
Google Cloud Messaging for Android Library not Found in the sdk Manager

I am trying to implement a push notification solution for android.I am following the steps given in the following …

android google-app-engine google-cloud-messaging android-sdk-tools
Get certificate and add it to a Java truststore, when only having https URL?

I'm trying to send push notifications to Android devices through the Google Cloud Message servers. The URL we use to …

java certificate google-cloud-messaging truststore
SHA1 certificate fingerprint

I am trying to make an app that can communicate with Google Cloud Messaging. I have looked at some tutorials …

android api google-maps sha1 google-cloud-messaging
How to avoid delay in Android GCM messages / change heartbeat

I've been reading many posts regarding a GCM issue that affects some people. It seems that in some devices/routers/…

android push-notification wifi google-cloud-messaging android-wifi
Android GCM sent successfully but not received on some devices

On the server side, I am using GCM server 1.0.2 library provided by Google. On the client side, I set up …

android google-cloud-messaging
Android GCM basic implementation

UPDATE: I fixed the problems in the code below so this makes a nice basic working example of how to …

android google-cloud-messaging