Home | History | Annotate | Download | only in play-services
      1 page.title=GCM Extensions
      2 page.tags="cloud","push","messaging"
      3 header.hide=1
      4 @jd:body
      5 
      6 <div class="landing-banner">
      7         
      8 <div class="col-6">
      9   <img src="" alt="">
     10 </div>
     11 <div class="col-6">
     12 
     13   <h1 itemprop="name" style="margin-bottom:0;">GCM Extensions for Android</h1>
     14    <p itemprop="description">
     15 GCM extension APIs make it easier to take advantage of enhanced messaging capabilities in your apps, and they can help you simplify your implementation of Google Cloud Messaging.</p>
     16 
     17 <p>You can use GCM extensions in any new or existing GCM implementation to build powerful multi-device messaging and presence features for your users.</p>
     18 
     19 </div>
     20 </div>
     21 
     22 
     23 <div class="landing-docs">
     24   <div class="col-6 normal-links">
     25     <h3 style="clear:left">Key Developer Features</h3>
     26 
     27     <h4>Faster, easier GCM setup</h4>
     28     <p>Streamlined registration makes it simple and fast to add GCM support to your Android app. <a href="{@docRoot}google/play-services/gcm/gs.html">Learn more &raquo;</a></p>
     29 
     30 
     31     <h4>Bidirectional messaging over XMPP</h4>
     32     <p>GCM's Cloud Connection Service (CCS) lets you communicate with Android devices over a persistent XMPP connection. Communication is asynchronous and bidirectional, and you can use the service in tandem with existing GCM APIs. You can 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>
     33 
     34    <!-- <p>To get started, sign up using <a href="https://services.google.com/fb/forms/gcm/">this form</a> and then learn how to <a href="{@docRoot}google/gcm/ccs.html">send XMPP messages</a>.</p> -->
     35     
     36     <h4>Seamless multi-device messaging</h4>
     37     <p>New user notifications let you send a single message simultaneously to all of a user's Android devices. </p>
     38 
     39     <p>GCM lets you map all of a user's multiple devices to a single notification key, which you can then reference as the target for messages that you are sending to that user. 
     40     <a href="{@docRoot}google/gcm/notifications.html">Learn more &raquo;</a></p>
     41     </a>
     42     
     43 
     44   </div>
     45 
     46 
     47   <div class="col-6 normal-links">
     48     <h3 style="clear:left">Getting Started</h3>
     49     <h4>1. Get the Google Play services SDK</h4>
     50     <p>The GCM Extension APIs are part of the Google Play services platform. To use the APIs, <a href="{@docRoot}google/play-services/setup.html">set up
     51       the Google Play services SDK</a>. 
     52     </p>
     53             
     54     <h4>2. Create a Google APIs project</h4>
     55     
     56     <p>To use GCM, you need to set up a Google APIs project and get an application key. If you are already using GCM, you can use your existing project and key. <a href="{@docRoot}google/play-services/gcm/gs.html#google_apis">Learn more &raquo;</a></p>
     57 
     58     <h4>3. Set up GCM in your app</h4>
     59     
     60     <p>To send and receive messages over GCM, you need to update the manifest and add code to register with GCM and handle messages. See <a href="{@docRoot}google/play-services/gcm/gs.html#manifest">Get Started</a> for details.
     61     </p>
     62     
     63     <h4>4. Integrate GCM with your backend servers</h4>
     64 
     65     <p>A complete GCM implementation requires a server-side implementation, in addition to the client implementation in your app. For complete information, make sure to read the <a href="{@docRoot}google/gcm/index.html">Google Cloud Messaging documentation</a>. 
     66 
     67   </div>
     68 
     69 </div>
     70