blob: 84647b7e18a5cc3c9c23942bf5c68c69ff08428e [file] [log] [blame]
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width">
<meta name="Description" content="Google Play services will fully roll out to the hundreds of millions of Android devices in early July. Because of this, we usually wait to release the Google Play services SDK until all users receive the most updated Google Play services on their devices…">
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico">
<title>Google Play services Preview for Wear | Android Developers</title>
<!-- STYLESHEETS -->
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Roboto:light,regular,medium,thin,italic,mediumitalic,bold" title="roboto">
<link href="/assets/css/default.css" rel="stylesheet" type="text/css">
</head>
<body>
<div class="col-12" id="doc-col">
<h1 itemprop="name">Google Play services Preview for Wear</h1>
<div id="jd-content">
<div class="jd-descr" itemprop="articleBody">
<p>Google Play services 5.0 is currently being rolled out to the world.
We usually wait to release the Google Play services SDK until the rollout completes.
This ensures that your newly-updated apps can run on the most devices as possible.</p>
<p>However, if you want to develop for Android Wear now, complete the following steps to get
special access to all the things you need to start developing, without waiting for the rollout to
complete.</p>
<p class="warning"><b>Warning</b>: Do not publish any apps that are built with Google Play services
SDK 5.0 until the rollout is completed over the coming days. Your apps will break on most user
devices, which will degrade your apps’ user experience. We’ll publish an update to the
<a href="http://android-developers.blogspot.com/">Android Developer blog</a> when the rollout is done.
</p>
<h2 style="margin-bottom: 0px;">1. Get Whitelisted for the Preview</h2><hr>
<p>If you attended Google I/O, your registered Google account is automatically whitelisted for
these preview resources. You're done! Head to Step 2.</p>
<p><strong><em>If you didn't attend Google I/O</em></strong> or want to use a different account,
click following link to and get whitelisted.</p>
<a style="font-size:24px" href="https://groups.google.com/group/io14androidweardev/subscribe" target="_blank">
Join the Preview Group</a>
<h2 style="margin-bottom: 0px;">2. Download Required Apps</h2><hr>
<p>You'll need the following apps to get the most out of Android Wear. You must be whitelisted
in the Preview Group above and you must install these apps in this exact order:</p>
<ol>
<li><a href="https://play.google.com/apps/testing/com.google.android.gms">Google Play services</a>:
Allows your Android Wear device to communicate with your handheld device. This is required to
use the Android Wear app and other apps listed below.</li>
<li><a href="https://play.google.com/apps/testing/com.google.android.googlequicksearchbox">Google
Search</a>: Enables searches from Android Wear</li>
<li><a href="https://play.google.com/apps/testing/com.google.android.wearable.app">Android Wear
Companion</a>: The app for pairing a handheld to a wearable and providing syncing of
notifications and data
</li>
<p class="note"><b>Note:</b> After becoming a tester, it can take up to 1 hour to get access to
the preview versions of these apps.</p>
</ol>
<p>To obtain these apps from Google Play, click each app link above and follow these instructions,
preferably from your mobile browser:</p>
<ol>
<li>Click the <b>Become a Tester</b> button to opt-in to the preview version of the app. The page
confirms that you're a tester after clicking.</li>
<li>Click the <b>Download &lt;app name&gt; from the Play Store</b> link to go to Google Play
Store download page to get the app. The
following screenshot shows how the opt-in process looks like:
<img style="margin-top:40px" src="/preview/images/opt-in.png" /></li>
</ol>
<h2>3. Download Optional Apps</h2>
<p>Please join the Test Group and install the following apps to enhance your Android Wear experience:
</p>
<ol>
<li><a href="https://play.google.com/apps/testing/com.google.android.keep">Google Keep</a>:
Supports the "Take a note" command</li>
<li><a href="https://play.google.com/apps/testing/com.google.samples.apps.iosched">Google I/O
2014</a>:
Supports session feedback from Android Wear</li>
</ol>
<h2 style="margin-bottom: 0px;">4. Start Building</h2><hr>
<p>The Google Play services SDK is required if you want to sync and send data between wearable
and handheld devices. To get the new SDK that is compatible with the Google Play services
APK that you just installed, follow these steps: </p>
<p class="note"><b>Note:</b> Android Studio is required for Wear development.</p>
<ol>
<li><a href="/sdk/installing/studio.html">Download and install Android Studio</a></li>
<li>Start SDK Manager.</li>
<li>Update the Android SDK Tools and Platform-tools to versions 23 and 20 respectively.</li>
<li>Click <b>Tools > Manage Add-on Sites > User Defined Sites</b>.</li>
<li>Click <b>New</b>, enter
<code>https://dl-ssl.google.com/android/repository/addon-play-services-5.xml</code> into the
text field, and click <b>OK</b>.</li>
<li>Click Close. You should now see new emulator images that support this preview
release of Google Play services and the Google Play services client libraries you need to
start developing.</li>
<li><a href="http://storage.googleapis.com/androiddevelopers/preview/google-play-services-preview.zip">Download</a> the Google Play
services reference documentation for this preview release.</li>.
</ol>
<p>When you're done here, check out the <a href="/training/building-wearables.html">Building Apps for Wearables</a>
training classes for information on how to build for Wear.</p>
</div> <!-- end jd-content -->
</div><!-- end doc-content -->
</div> <!-- end body-content -->
</body>
</html>