page.title=Google Cloud Messaging for Android page.tags=gcm header.hide=1 @jd:body
This could be a lightweight message telling your app there is new data to be fetched from the server (for instance, a movie uploaded by a friend), or it could be a message containing up to 4kb of payload data (so apps like instant messaging can consume the message directly). GCM Architectural Overview.
A send-to-sync (collapsible) message is often a "tickle" that tells a mobile application to sync data from the server. For example, suppose you have an email application. When a user receives new email on the server, the server pings the mobile application with a "New mail" message. This tells the application to sync to the server to pick up the new email. Learn more »
Unlike a send-to-sync message, every "message with payload" (non-collapsible message) is delivered. The payload the message contains can be up to 4kb. Learn more »
You can use upstream messaging to get receipt notifications, confirming that a given message was sent to a device. Your 3rd-party app server receives the receipt notification from CCS once the message has been sent to the device. Learn more »
Get started with a tutorial that walks you through creating a GCM app. Learn more »