Questions tagged [chrome-gcm]

Google Cloud Messaging for Chrome (GCM) is a service for signed-in Chrome users that helps developers send message data from servers to their Chrome apps and extensions.

Google Cloud Messaging for Chrome (GCM) is a service for signed-in Chrome users that helps developers send message data from servers to their Chrome apps and extensions. The service is intended to wake up an app or extension, and/or alert a user. For example, calendar updates could be pushed to users even when their calendaring app isn't open.

The service handles all aspects of queueing and delivering messages. To use the service, you must agree to the Google Cloud Messaging for Chrome API Terms of Service.

Messages must conform to these constraints:

Maximum payload length: 256 bytes

Maximum subchannels: 4

Maximum API requests per day: 10,000

Google API client libraries

You may use the REST interface defined here to access Google Cloud Messaging for Chrome from your application. We also offer Google API client libraries for a number of popular programming languages that can be used to access the API. For more information, see Google APIs Client Libraries.

Insert method

The gcm_for_chrome.messages.insert method sends a message to your app or extension user.

Authentication

Authentication is required to send messages to users. Using OAuth 2.0 for Web Server Applications describes this in greater detail.

URL

The URL used to obtain access to the GCM for Chrome service: https://accounts.google.com/o/auth2/auth.

78 questions
0
votes
1 answer

Is it possible to stream data using GCM?

I want to build an Android app that streams data from wireless sensors (about 3 kb/s) to my server. To wake up the phone it turned out I cannot easily use a socket from my server, but need a GCM push notification. However, if Im implementing all the…
Maestro
  • 9,046
  • 15
  • 83
  • 116
0
votes
1 answer

Messaging between Android application and Chrome extension

I'm hoping to use Google Cloud Messaging to send messages between an Android application and a Google Chrome extension. The basic process would be: Android app starts up... ... Android app sends initial message to Chrome extension (on PC) ... Chrome…
0
votes
1 answer

How to get an OAuth access token from Google Cloud Messaging on a remote server

I have a general comprehension question about OAuth access token retrieval for a Google Chrome Extension. I have a popup HTML window in the browser that uses Jquery to request data from the server (a LAMP stack on AWS). The data is presented by PHP…
1 2 3 4 5
6