summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Scott Main <smain@google.com> 2013-11-13 21:23:20 -0800
committer Scott Main <smain@google.com> 2013-11-13 21:45:35 -0800
commitf0373abef91802cbaaa02a392965cf5d99a106e6 (patch)
treeac3f1e528dcdee5541b4665ccdd307b87469d48e
parent90b7f6311849fb68d2bc5fa0affb86c7e5d3a3b0 (diff)
add information about required meta-data for gcore
bug: 11553131 Change-Id: Ie3890c7894a017fc28e4a094a0e1ec3ac9f8c043
-rw-r--r--docs/html/google/play-services/setup.jd18
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/html/google/play-services/setup.jd b/docs/html/google/play-services/setup.jd
index fb656b748115..5c8c63b4da60 100644
--- a/docs/html/google/play-services/setup.jd
+++ b/docs/html/google/play-services/setup.jd
@@ -110,6 +110,14 @@ dependencies {
<img src="{@docRoot}images/tools/sync-project.png" style="vertical-align:bottom;margin:0;height:19px" />
in the toolbar.
</li>
+ <li>Open your app's manifest file and add the following tag as a child of the <a
+href="{@docRoot}guide/topics/manifest/application-element.html">{@code &lt;application>}</a>
+element:
+<pre>
+&lt;meta-data android:name="com.google.android.gms.version"
+ android:value="&#64;integer/google_play_services_version" />
+</pre>
+ </li>
</ol>
<p>You can now begin developing features with the
@@ -129,6 +137,16 @@ Library Project on the Command Line</a> for more information on how to do this.<
You should be referencing a copy of the library that you copied to your development
workspace&mdash;you should not reference the library directly from the Android SDK directory.</p>
+<p>After you've added the Google Play services library as a dependency for your app project,
+open your app's manifest file and add the following tag as a child of the <a
+href="{@docRoot}guide/topics/manifest/application-element.html">{@code &lt;application>}</a>
+element:
+<pre>
+&lt;meta-data android:name="com.google.android.gms.version"
+ android:value="&#64;integer/google_play_services_version" />
+</pre>
+
+
<p>Once you've set up your project to reference the library project,
you can begin developing features with the
<a href="{@docRoot}reference/gms-packages.html">Google Play services APIs</a>.</p>