World Library  
Flag as Inappropriate
Email this Article

Google Cloud Messaging

Article Id: WHEBN0036320711
Reproduction Date:

Title: Google Cloud Messaging  
Author: World Heritage Encyclopedia
Language: English
Subject: TextSecure, List of features in Android, Google Cloud, Apple Push Notification Service, Google services
Collection: Google Services, Mobile Telecommunications
Publisher: World Heritage Encyclopedia
Publication
Date:
 

Google Cloud Messaging

Google Cloud Messaging (GCM) is a service that enables developers to send data from servers to both Android applications or Chrome apps and extensions.

Contents

  • Description 1
  • Development 2
  • See also 3
  • References 4
  • External links 5
  • See also 6

Description

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.[1] 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.

Development

GCM first launched as Google's Android Cloud to Device Messaging (C2DM) service, first featured in Android 2.2 by Google.[2][3][4]

The transition to Google Cloud Messaging was first announced when the Android service was unveiled on June 27, 2012, at Google I/O.[5] The Chrome service was announced before Google I/O 2013 in a blog post titled 'Building efficient apps and extensions with push messaging.'[6]

See also

References

  1. ^ "Google Cloud Messaging for Android". Google Inc. 
  2. ^ "Android Cloud to Device Messaging Framework". Google Inc. 
  3. ^ "Android 2.2 Platform Highlights". Google Inc. 
  4. ^ "Google Cloud Messaging (GCM) - Google Play for Developers Help". Google Inc. 
  5. ^ Tarantola, Andrew (June 27, 2012). "Google’s New Cloud Messaging System Does More for Less".  
  6. ^ Scott, Mark (May 9, 2013). "Building efficient apps and extensions with push messaging".  

External links

  • Official Android Developer Page
  • Official Chrome Developer Page

See also


This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and USA.gov, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for USA.gov and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
 
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
 
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.
 


Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.