Skip to content

Commit 3616634

Browse files
labtopiaAndroid Git Automerger
authored andcommitted
am f3dda72: Merge "Doc change: updating lib links" into jb-mr1-dev
* commit 'f3dda7243c267a807d11a120219478f3a98f0275': Doc change: updating lib links
2 parents 12de574 + f3dda72 commit 3616634

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

docs/html/google/gcm/c2dm.jd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ page.title=Migration
7575
<dt><strong>Canonical registration ID</strong></dt>
7676
<dd>There may be situations where the server ends up with 2 registration IDs for the same device. If the GCM response contains a registration ID, simply replace the registration ID you have with the one provided. With this feature your application doesn't need to send the device ID to your server anymore. For more information, see <a href="adv.html#canonical">Advanced Topics</a>.</dd>
7777
</dl>
78-
<p>GCM also provides helper libraries (<a href="{@docRoot}google/gcm/client-javadoc/index.html">client</a> and <a href="{@docRoot}google/gcm/server-javadoc/index.html">server</a>) to make writing your code easier.</p>
78+
<p>GCM also provides client and server <a href="{@docRoot}reference/com/google/android/gcm/package-summary.html">helper libraries</a> to make writing your code easier.</p>
7979

8080
<h3 id="interop">Relationship between C2DM and GCM</h3>
8181

docs/html/google/gcm/demo.jd

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,7 @@ page.title=GCM Demo Application
3838
<li>A web server containing a page where you can send messages.</li>
3939
<li>An Android application that receives and displays such messages.</li>
4040
</ul>
41-
<p>Here is the API reference documentation for the helper libraries on which the demo is based:</p>
42-
<ul>
43-
<li><a href="{@docRoot}google/gcm/client-javadoc/index.html">Client Reference</a></li>
44-
<li><a href="{@docRoot}google/gcm/server-javadoc/index.html">Server Reference</a></li>
45-
</ul>
41+
<p>See the <a href="{@docRoot}reference/com/google/android/gcm/package-summary.html">reference</a> for the client and server helper libraries used in this demo.</p>
4642

4743
<p>The sections below describe how to download the demo code and helper libraries from the SDK Manager. The demo code and helper libraries are also available at the <a href="http://code.google.com/p/gcm">open source site</a>.
4844

docs/html/google/gcm/gs.jd

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ page.title=GCM: Getting Started
2525
</div>
2626
</div>
2727

28-
<p>This document describes how to write an Android application and the server-side logic, using the helper libraries (<a href="{@docRoot}google/gcm/client-javadoc/index.html">client</a> and <a href="{@docRoot}google/gcm/server-javadoc/index.html">server</a>) provided by GCM.</p>
28+
<p>This document describes how to write an Android application and the server-side logic, using the client and server <a href="{@docRoot}reference/com/google/android/gcm/package-summary.html">helper libraries</a> provided by GCM.</p>
2929

3030

3131
<h2 id="create-proj">Creating a Google API project</h2>
@@ -85,7 +85,9 @@ page.title=GCM: Getting Started
8585
<p class="note"><strong>Note:</strong> If you need to rotate the key, click <strong>Generate new key</strong>. A new key will be created while the old one will still be active for up to 24 hours. If you want to get rid of the old key immediately (for example, if you feel it was compromised), click <strong>Delete key</strong>.</p>
8686

8787
<h2 id="libs">Install the Helper Libraries</h2>
88-
<p>To perform the steps described in the following sections, you must first install the helper libraries (reference: <a href="{@docRoot}google/gcm/client-javadoc/index.html">client</a> and <a href="{@docRoot}google/gcm/server-javadoc/index.html">server</a>). From the SDK Manager, install <strong>Extras &gt; Google Cloud Messaging for Android Library</strong>. This creates a <code>gcm</code> directory under <code><em>YOUR_SDK_ROOT</em>/extras/google/</code> containing these subdirectories: <code>gcm-client</code>, <code>gcm-server</code>, <code>samples/gcm-demo-client</code>, <code>samples/gcm-demo-server</code>, and <code>samples/gcm-demo-appengine</code>.</p>
88+
<p>To perform the steps described in the following sections, you must first install the
89+
<a href="{@docRoot}reference/com/google/android/gcm/package-summary.html">helper libraries</a>.
90+
From the SDK Manager, install <strong>Extras &gt; Google Cloud Messaging for Android Library</strong>. This creates a <code>gcm</code> directory under <code><em>YOUR_SDK_ROOT</em>/extras/google/</code> containing these subdirectories: <code>gcm-client</code>, <code>gcm-server</code>, <code>samples/gcm-demo-client</code>, <code>samples/gcm-demo-server</code>, and <code>samples/gcm-demo-appengine</code>.</p>
8991

9092
<p class="note"><strong>Note:</strong> If you don't see <strong>Extras &gt; Google Cloud Messaging for Android Library</strong> in the SDK Manager, make sure you are running version 20 or higher. Be sure to restart the SDK Manager after updating it.</p>
9193

@@ -137,7 +139,7 @@ page.title=GCM: Getting Started
137139
<pre class="prettyprint pretty-xml">&lt;service android:name=&quot;.GCMIntentService&quot; /&gt;</pre>
138140

139141
</ol>
140-
<p>This intent service will be called by the <code>GCMBroadcastReceiver</code> (which is is provided by GCM library), as shown in the next step. It must be a subclass of <code>com.google.android.gcm.GCMBaseIntentService</code>, must contain a public constructor, and should be named <code>my_app_package.GCMIntentService</code> (unless you use a subclass of <code>GCMBroadcastReceiver</code> that overrides the method used to name the service).</p>
142+
<p>This intent service will be called by the <code>GCMBroadcastReceiver</code> (which is provided by the GCM library), as shown in the next step. It must be a subclass of <code>com.google.android.gcm.GCMBaseIntentService</code>, must contain a public constructor, and should be named <code>my_app_package.GCMIntentService</code> (unless you use a subclass of <code>GCMBroadcastReceiver</code> that overrides the method used to name the service).</p>
141143

142144
<p>The intent service must also define its sender ID(s). It does this as follows:</p>
143145
<ul>

0 commit comments

Comments
 (0)