Home | History | Annotate | Download | only in gcm
      1 page.title=Google Cloud Messaging for Android
      2 page.tags="gcm"
      3 header.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
     17 from your server to your users' Android-powered device, and also to receive messages from devices on the same connection. The GCM service handles all aspects of queueing of messages and delivery to the target Android application running on the target device. GCM is completely free no matter how big your messaging needs are, and there are no quotas.
     18 </p>
     19 
     20 </div>
     21 </div>
     22 
     23 <div class="landing-docs">
     24   <div class="col-6 normal-links">
     25     <h3 style="clear:left">Key Developer Features</h3>
     26     <h4>Send data from your server to users' Android-powered devices</h4>
     27     <p>This could be a lightweight
     28 message telling your app there is new data to be fetched from the
     29 server (for instance, a movie uploaded by a friend), or it could be a message containing
     30 up to 4kb of payload data (so apps like instant messaging can consume the message directly). <a href="{@docRoot}google/gcm/gcm.html">GCM Architectural Overview.</a></p>
     31 
     32     <h4>Send "send-to-sync" messages</h4>
     33     <p>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.
     34     <a href="{@docRoot}google/gcm/adv.html#s2s">Send-to-sync messages</a>.</p>
     35     </a>
     36 
     37     <h4>Send messages with payload</h4>
     38     <p>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.
     39     <a href="{@docRoot}google/gcm/adv.html#payload">Messages with payload</a>.</p>
     40   </div>
     41 
     42 
     43   <div class="col-6 normal-links">
     44     <h3 style="clear:left">New Features</h3>
     45     <h4>Faster, easier GCM setup</h4>
     46     <p>Streamlined registration makes it simple and fast to add GCM support to your Android app. <a href="{@docRoot}google/gcm/gs.html">Learn more &raquo;</a></p>
     47     <h4>Upstream messaging over XMPP</h4>
     48     <p>GCM's Cloud Connection Service (CCS) lets you communicate with Android devices over a persistent XMPP connection. The primary advantages of CCS are speed, and the ability to receive upstream messages (that is, messages from a device to the cloud). You can use the service in tandem with existing GCM APIs. Use <a href="https://services.google.com/fb/forms/gcm/">this form</a> to sign up for CCS. <a href="{@docRoot}google/gcm/ccs.html">Learn more &raquo;</a></p>
     49 
     50     <h4>Seamless multi-device messaging</h4>
     51     <p>Maps a single user to a notification key, which you can then use to send a single message to multiple devices owned by the user. Use <a href="https://services.google.com/fb/forms/gcm/">this form</a> to sign up for User Notifications. <a href="{@docRoot}google/gcm/notifications.html">Learn more &raquo;</a></p>
     52 
     53    <h4>Get Started</h4>
     54     <p>Get started using the new features with a tutorial that walks you through creating a GCM app. <a href="{@docRoot}google/gcm/gs.html">Learn more &raquo;</a></p>
     55   </div>
     56 
     57 </div>
     58 
     59 
     60