diff --git a/docs/html/google/gcm/c2dm.jd b/docs/html/google/gcm/c2dm.jd index 381460edeb60b..e8a7edb4249da 100644 --- a/docs/html/google/gcm/c2dm.jd +++ b/docs/html/google/gcm/c2dm.jd @@ -75,7 +75,7 @@ page.title=Migration
GCM also provides helper libraries (client and server) to make writing your code easier.
+GCM also provides client and server helper libraries to make writing your code easier.
Here is the API reference documentation for the helper libraries on which the demo is based:
- +See the reference for the client and server helper libraries used in this demo.
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 open source site. diff --git a/docs/html/google/gcm/gs.jd b/docs/html/google/gcm/gs.jd index df13373efe7d8..37ef684f8282d 100644 --- a/docs/html/google/gcm/gs.jd +++ b/docs/html/google/gcm/gs.jd @@ -25,7 +25,7 @@ page.title=GCM: Getting Started -
This document describes how to write an Android application and the server-side logic, using the helper libraries (client and server) provided by GCM.
+This document describes how to write an Android application and the server-side logic, using the client and server helper libraries provided by GCM.
Note: If you need to rotate the key, click Generate new key. 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 Delete key.
To perform the steps described in the following sections, you must first install the helper libraries (reference: client and server). From the SDK Manager, install Extras > Google Cloud Messaging for Android Library. This creates a gcm directory under YOUR_SDK_ROOT/extras/google/ containing these subdirectories: gcm-client, gcm-server, samples/gcm-demo-client, samples/gcm-demo-server, and samples/gcm-demo-appengine.
To perform the steps described in the following sections, you must first install the
+helper libraries.
+From the SDK Manager, install Extras > Google Cloud Messaging for Android Library. This creates a gcm directory under YOUR_SDK_ROOT/extras/google/ containing these subdirectories: gcm-client, gcm-server, samples/gcm-demo-client, samples/gcm-demo-server, and samples/gcm-demo-appengine.
Note: If you don't see Extras > Google Cloud Messaging for Android Library in the SDK Manager, make sure you are running version 20 or higher. Be sure to restart the SDK Manager after updating it.
@@ -137,7 +139,7 @@ page.title=GCM: Getting Started<service android:name=".GCMIntentService" />-
This intent service will be called by the GCMBroadcastReceiver (which is is provided by GCM library), as shown in the next step. It must be a subclass of com.google.android.gcm.GCMBaseIntentService, must contain a public constructor, and should be named my_app_package.GCMIntentService (unless you use a subclass of GCMBroadcastReceiver that overrides the method used to name the service).
This intent service will be called by the GCMBroadcastReceiver (which is provided by the GCM library), as shown in the next step. It must be a subclass of com.google.android.gcm.GCMBaseIntentService, must contain a public constructor, and should be named my_app_package.GCMIntentService (unless you use a subclass of GCMBroadcastReceiver that overrides the method used to name the service).
The intent service must also define its sender ID(s). It does this as follows: