diff options
Diffstat (limited to 'docs/html/wear/index.jd')
| -rw-r--r-- | docs/html/wear/index.jd | 405 |
1 files changed, 405 insertions, 0 deletions
diff --git a/docs/html/wear/index.jd b/docs/html/wear/index.jd new file mode 100644 index 0000000..b977554 --- /dev/null +++ b/docs/html/wear/index.jd @@ -0,0 +1,405 @@ +page.title=Android Wear +page.viewport-width=970 +fullpage=true +no_footer_links=true +page.customHeadTag=<link rel="stylesheet" type="text/css" href="/wear/css/wear.css"> + +@jd:body + +<style> +.fullpage>#footer, +#jd-content>.content-footer.wrap { + display:none; +} +</style> + + + + +<div id="video-container"> + <div id="video-frame"> + <div class="video-close"> + <span id="icon-video-close"> </span> + </div> + <script src="//ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script> + <div id="ytapiplayer"> + <a href="http://www.youtube.com/watch?v=0xQ3y902DEQ"><img width=940 + src="https://i1.ytimg.com/vi/0xQ3y902DEQ/maxresdefault.jpg"></a><!--You need Flash player 8+ and JavaScript enabled to view this video. --> + </div> + </div> +</div> + + + +<div class="wear-body-content"> + <div class="wear-hero-container"> + <div class="wear-section wear-hero"> + <div class="wear-hero-scrim"></div> + <div class="wear-hero-wrap"> + <div class="vertical-center-outer"> + <div class="vertical-center-inner"> + + <div class="col-10"> + <div class="wear-section-header"> + <div class="wear-h1 hero">Android Wear</div> + <div class="wear-subhead hero">Information that moves with you</div> + </div> + <div class="wear-hero-description"> + <p>Small, powerful devices, worn on the body. + Useful information when you need it most. + Intelligent answers to spoken questions. + Tools to help reach fitness goals. + Your key to a multiscreen world.</p> + </div> + + <div class="wear-body"> + <a href="/wear/preview/start.html" class="wear-button wear-primary" style="margin-top: 40px;"> + Get the Developer Preview + </a> + <a id="watchVideo" href="https://youtube.googleapis.com/v/0xQ3y902DEQ"> + <div class="wear-video-link">Watch the video</div> + </a> +<script> +$("#watchVideo").on("click", function(e) { + $("#video-container").fadeIn(400, function(){$("#video-frame").show()}); + + var params = { allowScriptAccess: "always"}; + var atts = { id: "ytapiplayer" }; + swfobject.embedSWF("//www.youtube.com/v/0xQ3y902DEQ?enablejsapi=1&playerapiid=ytplayer&version=3&HD=1;rel=0;showinfo=0;modestbranding;origin=developer.android.com;autohide=1;autoplay=1", + "ytapiplayer", "940", "526.4", "8", null, null, params, atts); + + e.preventDefault(); +}); +$("#icon-video-close").on("click", function() { + ytplayer = document.getElementById("ytapiplayer"); + try { + ytplayer.stopVideo(); + $(ytplayer).hide(); + $("#video-container").fadeOut(400); + } catch(e) { + console.log('Video not available'); + $("#video-container").fadeOut(400); + } +}); +</script> + </div> + </div> + + </div> + </div> + </div> <!-- end .wrap --> + <div class="wear-scroll-down-affordance"> + <a class="wear-down-arrow" href="#extending-android-to-wearables"> + <img src="/wear/images/carrot.png" alt="Scroll down to read more"> + </a> + </div> + </div> <!-- end .wear-section .wear-hero --> + </div> <!-- end .wear-hero-container --> + + <div class="wear-rest-of-page"> + <div class="wear-section" id="extending-android-to-wearables"> + <div class="wrap"> + <div class="wear-section-header"> + <div class="wear-h1">Extending Android to Wearables</div> + <div class="wear-subhead"> + Android Wear extends the Android platform to a new generation of wearable devices. <br> + The user experience is designed specifically for wearables. + </div> + </div> + + <div class="wear-body"> + <div class="wear-breakout cols"> + <div class="col-3-wide"> + + <div class="wear-inset-video-container"> + <img class="wear-bezel-only" src="/wear/images/screens/bezel.png" alt=""> + <img class="gif" src="/wear/images/screens/reservation_animated.gif"> + </div> + + <p class="wear-small"> + Say “Ok Google” to ask questions and get stuff done. + </p> + </div> + <div class="col-3-wide"> + <img src="/wear/images/screens/circle_message2.png" alt="Image of a Hangouts message"> + <p class="wear-small"> + Get glanceable, actionable information at just the right time throughout the day. + </p> + </div> + <div class="col-3-wide"> + <img src="/wear/images/screens/fitness-24.png" alt="Image showing "> + <p class="wear-small"> + A wide range of sensors is available to your applications, from accelerometers to heart rate monitors. + </p> + </div> + </div> + + <p> + The Android Wear Developer Preview lets you create wearable experiences for your existing Android apps and see how they will appear on square and round Android wearables. + </p> + + <p> + Later this year, we’ll be launching the Android Wear SDK, enabling even more customized experiences. + </p> + </div> + </div> <!-- end .wrap --> + </div> <!-- end .wear-section --> + + <div class="wear-section wear-gray-background"> + <div class="wrap"> + <div class="wear-section-header"> + <div class="wear-h1">Developer Preview</div> + <div class="wear-subhead"> + Your app’s notifications will already appear on Android wearables. <br> + With the new Android Wear APIs you can customize and extend those notifications. + </div> + </div> + + + <div class="wear-body"> + <div class="wear-breakout cols"> + <div class="col-3-wide"> + <img src="images/screens/14_circle_voicereply.png" alt=""> + <p>Receive Voice Replies</p> + <p class="wear-small"> + Add actions to your notifications to allow users to reply by voice or touch. The system delivers the text to your app on the phone. + </p> + <p class="wear-small"> + <a href="/wear/notifications/remote-input.html">Learn about input actions</a> + </p> + </div> + <div class="col-3-wide"> + + + <div class="wear-inset-video-container"> + <img class="wear-bezel-only" src="/wear/images/screens/bezel.png" alt=""> + <img class="gif" src="/wear/images/screens/pages_animated.gif"> + </div> + + <p>Add Notification Pages</p> + <p class="wear-small"> + Add additional pages to your notification that are visible on the wearable device to provide detailed information on the wrist. + </p> + <p class="wear-small"> + <a href="/wear/notifications/pages.html">Learn about pages</a> + </p> + </div> + <div class="col-3-wide"> + <img src="images/screens/11_stack_B.png" alt=""> + <p>Stack Multiple Notifications</p> + <p class="wear-small"> + Your app should consolidate similar notifications. On a wearable, you can stack them together so the details for each are immediately available. + </p> + <p class="wear-small"> + <a href="/wear/notifications/stacks.html">Learn about stacks</a> + </p> + </div> + </div> + + <p> + You can also trigger your notifications contextually using existing Android APIs. For example, use <a href="{@docRoot}training/location/geofencing.html">geofences</a> to provide glanceable information to your users when they are at home, or use the <a href="{@docRoot}training/location/activity-recognition.html">activity detection APIs</a> to send messages to your users’ wrists while they are bicycling. + </p> + + <p>See the <a href="{@docRoot}wear/design/index.html">Android Wear Developer Preview Design Principles</a> for more suggestions on creating great wearable experiences.</p> + + </div> + </div> <!-- end .wrap --> + </div> <!-- end .wear-section --> + + <div class="wear-section" style="background-color:#f5f5f5"> + <div class="wrap"> + <div class="wear-section-header"> + <div class="wear-pre-h1">Coming soon</div> + <div class="wear-h1">The Android Wear SDK</div> + <div class="wear-subhead"> + The Developer Preview is just the beginning for Android Wear. + </div> + </div> + + <div class="wear-body"> + <p> + In the coming months we’ll be launching new APIs and features for Android wearables to create even more unique experiences for the wrist: + </p> + + <div class="wear-breakout cols"> + <div class="col-4"> + <img src="/wear/images/features/ts1.png" alt=""> + <p>Build Custom UI</p> + <p class="wear-small"> + Create custom card layouts and run activities directly on wearables. + </p> + </div> + <div class="col-4"> + <img src="/wear/images/features/ts2.png" alt=""> + <p>Send Data</p> + <p class="wear-small"> + Send data and actions between a phone and a wearable with data replication APIs and RPCs. + </p> + </div> + <div class="col-4"> + <img src="/wear/images/features/ts3.png" alt=""> + <p>Control Sensors</p> + <p class="wear-small"> + Gather sensor data and display it in real-time on Android wearables. + </p> + </div> + <div class="col-4"> + <img src="/wear/images/features/ts4.png" alt=""> + <p>Voice Actions</p> + <p class="wear-small"> + Register your app to handle voice actions, like "Ok Google, take a note." + </p> + </div> + </div> + + </div> + </div> <!-- end .wrap --> + </div> <!-- end .wear-section --> + + <div class="wear-section wear-white-background"> + <div class="wrap"> + <div class="wear-section-header"> + <div class="wear-h2">Building an Ecosystem</div> + <div class="wear-body wear-align-center"> + <p class="wear-small"> + We’re working with several partners to bring you watches powered by Android Wear later this year! + </p> + </div> + </div> + + <div class="wear-partners cols"> + <div class="col-4"> + <img src="/wear/images/partners/asus.png" alt="Asus"> + </div> + <div class="col-4"> + <img src="/wear/images/partners/broadcom.png" alt="Broadcom"> + </div> + <div class="col-4"> + <img src="/wear/images/partners/fossil.png" alt="Fossil"> + </div> + <div class="col-4"> + <img src="/wear/images/partners/htc.png" alt="HTC"> + </div> + <div class="col-4"> + <img src="/wear/images/partners/intel.png" alt="Intel"> + </div> + <div class="col-4"> + <img src="/wear/images/partners/lg.png" alt="LG"> + </div> + <div class="col-4"> + <img src="/wear/images/partners/mediatek.png" alt="Mediatek"> + </div> + <div class="col-4"> + <img src="/wear/images/partners/mips.png" alt="MIPS"> + </div> + <div class="col-4"> + <img src="/wear/images/partners/motorola.png" alt="Motorola"> + </div> + <div class="col-4"> + <img src="/wear/images/partners/qualcomm.png" alt="Qualcomm"> + </div> + <div class="col-4"> + <img src="/wear/images/partners/samsung.png" alt="Samsung"> + </div> + </div> + </div> <!-- end .wrap --> + </div> <!-- end .wear-section --> + + <div class="wear-section wear-red-background"> + <div class="wrap"> + <div class="wear-section-header"> + <div class="wear-h1 wear-align-left">Start working with Android Wear</div> + <div class="wear-subhead wear-subhead-red"> + <p> + Your app’s notifications will already appear on Android wearables. <br> + With the new Android Wear APIs, you can customize and extend those notifications. + </p> + <p> + We’re excited about wearables and the experiences developers can create with them. <br> + We can’t wait to see what you do next.</p> + </div> + </div> + <div class="wear-body"> + <a href="/wear/preview/start.html" class="wear-button wear-secondary" style="margin-top: 20px;"> + Get the Developer Preview + </a> + </div> + </div> + </div> + + <div class="wear-section"> + <div class="wrap"> + <div class="cols"> + <div class="wear-body"> + <div class="col-3-wide"> + <a target="_blank" href="https://www.youtube.com/playlist?list=PLWz5rJ2EKKc-kIrPiq098QH9dOle-fLef"> + <img class="wear-social-image" src="//www.google.com/images/icons/product/youtube-128.png" alt=""> + </a> + <div class="wear-social-copy"> + <p>DevBytes</p> + <p class="wear-small"> + Learn how to optimize your app notifications for wearable devices in this <a target="_blank" href="https://www.youtube.com/playlist?list=PLWz5rJ2EKKc-kIrPiq098QH9dOle-fLef">DevBytes video</a> using the Android Wear Developer Preview. + </p> + </div> + </div> + <div class="col-3-wide"> + <a target="_blank" href="http://android-developers.blogspot.com/2014/03/android-wear-developer-preview.html"> + <img class="wear-social-image" src="/wear/images/blogger.png" alt=""> + </a> + <div class="wear-social-copy"> + <p>Blog Post</p> + <p class="wear-small"> + Read more about the Android Wear Developer Preview announcement + at the <a target="_blank" href="http://android-developers.blogspot.com/2014/03/android-wear-developer-preview.html">Android Developers Blog</a>. + </p> + </div> + </div> + <div class="col-3-wide"> + <a target="_blank" href="http://g.co/androidweardev"> + <img class="wear-social-image" src="//www.google.com/images/icons/product/gplus-128.png" alt="+Android Wear Developers"> + </a> + <div class="wear-social-copy"> + <p>G+ Community</p> + <p class="wear-small"> + Follow us on Google+ to stay up-to-date on Android Wear development and join the discussion! + </p> + <p class="wear-small"> + <a target="_blank" href="http://g.co/androidweardev">+Android Wear Developers</a> + </p> + </div> + </div> + </div> + </div> + </div> <!-- end .wrap --> + </div> <!-- end .wear-section --> + </div> <!-- end .wear-rest-of-page --> + + + <div class="content-footer wrap" itemscope="" itemtype="http://schema.org/SiteNavigationElement"> + <div class="layout-content-col col-16" style="padding-top:4px"> + <style>#___plusone_0 {float:right !important;}</style> + <div class="g-plusone" data-size="medium"></div> + </div> + </div> + <div id="footer" class="wrap" style="width:940px;position:relative;top:-35px;z-index:-1"> + <div id="copyright"> + Except as noted, this content is + licensed under <a href="http://creativecommons.org/licenses/by/2.5/"> + Creative Commons Attribution 2.5</a>. For details and + restrictions, see the <a href="/license.html">Content + License</a>. + </div> + </div> + + + </div> <!-- end wear-body-content --> + + <script> + $("a.wear-down-arrow").on("click", function(e) { + $("body").animate({ + scrollTop: $(".wear-hero").height() + 76 + }, 1000, "easeOutQuint"); + e.preventDefault(); + }); + </script> + |
