1page.title=Google Cloud Messaging for Android 2page.tags=gcm 3header.hide=1 4@jd:body 5 6 7<div class="landing-banner"> 8 9<div class="col-5" style="min-height:100px"> 10 <img src="{@docRoot}images/gcm/gcm-logo.png" /> 11</div> 12<div class="col-7"> 13 14 <h1 itemprop="name" style="margin-bottom:0;">Google Cloud Messaging for Android</h1> 15 <p itemprop="description"> 16 Google Cloud Messaging for Android (GCM) is a service that allows you to send data 17from your server to your users' Android-powered device, and also to receive messages from 18devices on the same connection. The GCM service handles all aspects of queueing of messages 19and delivery to the target Android application running on the target device. GCM is 20completely free no matter how big your messaging needs are, and there are no quotas. 21</p> 22 23</div> 24</div> 25 26<div class="landing-docs"> 27 <div class="col-6 normal-links"> 28 <h3 style="clear:left">Key Developer Features</h3> 29 <h4>Send data from your server to users' Android-powered devices</h4> 30 <p>This could be a lightweight 31message telling your app there is new data to be fetched from the 32server (for instance, a movie uploaded by a friend), or it could be a message containing 33up to 4kb of payload data (so apps like instant messaging can consume the message directly). 34<a href="{@docRoot}google/gcm/gcm.html">GCM Architectural Overview.</a></p> 35 36 <h4>Send "send-to-sync" messages</h4> 37 <p>A send-to-sync (collapsible) message is often a "tickle" that tells a mobile 38 application to sync data from the server. For example, suppose you have an email 39 application. When a user receives new email on the server, the server pings the mobile 40 application with a "New mail" message. This tells the application to sync to the server 41 to pick up the new email. 42 <a href="{@docRoot}google/gcm/adv.html#s2s">Learn more »</a></p> 43 44 <h4>Send messages with payload</h4> 45 <p>Unlike a send-to-sync message, every "message with payload" (non-collapsible message) 46 is delivered. The payload the message contains can be up to 4kb. 47 <a href="{@docRoot}google/gcm/adv.html#payload">Learn more »</a></p> 48 </div> 49 50 51 <div class="col-6 normal-links"> 52 <h3 style="clear:left">New Features</h3> 53 54 55 56 <h4>Return Receipts</h4> 57 <p>You can use upstream messaging to get receipt notifications, confirming that a given 58 message was sent to a device. Your 3rd-party app server receives the receipt notification 59 from CCS once the message has been sent to the device. 60 <a href="{@docRoot}google/gcm/ccs.html#receipts">Learn more »</a></p> 61 62 63 <h4>Get Started</h4> 64 <p>Get started with a tutorial that walks you through creating a GCM app. 65 <a href="{@docRoot}google/gcm/gs.html">Learn more »</a></p> 66 </div> 67 68</div> 69 70 71