Google Cloud Messaging
The service provides a simple, lightweight mechanism that servers can use to tell mobile applications to contact the server directly, to fetch updated application or user data. The service handles all aspects of queueing of messages and delivery to the target application running on the target device.
The free service has the ability to send a lightweight message informing the Android application of new data to be fetched from the server. Larger messages can be sent with up to 4 KB of payload data. Each notification message size is limited to 1024 bytes, and Google limits the number of messages a sender sends in aggregate, and the number of messages a sender sends to a specific device.
Applications on an Android device don’t need to be running to receive messages. The system will wake up the application via a mechanism called Intent Broadcast when the message arrives, as long as the application is set up with the proper broadcast receiver and permissions. GCM does not provide any built-in user interface or other handling for message data. Instead, it simply passes raw message data received straight to the application, which has full control of how to handle it. For example, the application might post a notification, display a custom user interface, or silently sync data.
|This section requires expansion. (September 2014)|
The transition to Google Cloud Messaging was first announced when the Android service was unveiled on June 27, 2012, at Google I/O. The Chrome service was announced before Google I/O 2013 in a blog post titled 'Building efficient apps and extensions with push messaging.'
- "Google Cloud Messaging for Android". Google Inc.
- "Android Cloud to Device Messaging Framework". Google Inc.
- "Android 2.2 Platform Highlights". Google Inc.
- "Google Cloud Messaging (GCM) - Google Play for Developers Help". Google Inc.
- Tarantola, Andrew (June 27, 2012). "Google’s New Cloud Messaging System Does More for Less". Gizmodo. Retrieved August 10, 2012.
- Scott, Mark (May 9, 2013). "Building efficient apps and extensions with push messaging". Google. Retrieved May 14, 2013.
- Official Android Developer Page
- Official Chrome Developer Page
- GCM Collegelib Seminar
- Google Chrome Push Notifications implementation by MindAsk
|This mobile phone–related article is a stub. You can help Wikipedia by expanding it.|