Tag Archives: Android Wear

Android Wear: New complications tools and watch friendly UI library

Posted by Hoi Lam, Lead Developer Advocate, Android Wear
Android Wear 2.0 gives users more informative watch faces and provides developers with new ways to build useful apps. These new opportunities have been well received by users and developers alike. To help developers take advantage of these new features, we have released a suite of complication API tools, to make it easier for developers to add complication support to their watch faces, and a new Wear UI library, to help developers build watch friendly user interfaces.

New Complications API tools for Watch Face developers

Complications are bite-sized pieces of information displayed directly on the watch face. They can also be great shortcuts into your favorite apps. We introduced the Complications API last year to enable watch faces to receive data from any app that the user selects, and display the data to the user in a way that is stylistically coherent. Today, we are introducing four new tools to make it easier for watch face developers to integrate with the Complications API:

  • TextRenderer - Auto-sizes text to fit in bounds defined by watch face makers.
  • ComplicationDrawable - A full rendering solution for complications, that handles all the styling for you, and adjusts the layout to fit the space you specify
  • Easy watch face settings sample - Adoptable sample code that makes it easier to build complication settings with a rich and usable experience.
  • Complication test suite - A sample data provider to help check that your watch face can handle all the combinations of fields that can make up complication data.

It's never been easier to integrate complications into your watch faces.

New Wear UI Library for Wear developers

We have provided Android view components for building watch friendly user interfaces since the launch of Android Wear 1.0. Developers have told us that they would like to see these components open sourced. So, starting at Google I/O, we are open sourcing some components and providing some Android Wear UI components in the Android Support Library. This brings a number of advantages, including more consistent APIs with the rest of the Support Library, more frequent releases, and better responsiveness to developer feedback. We will:

  • Migrate Wearable Support classes - Migrate and update Android Wear specific view components, such as WearableRecyclerView, from android.support.wearable.view in Wearable Support to android.support.wear.widget in the Android Support Library. This new package is available as open source. In terms of developer impact, we expect the migration process to be simple, with minor API name changes to bring consistency with the existing Android Support Library.
  • Merge some Android Wear functionality to Android - Some Android Wear components have a lot of overlap with Android, e.g. CircledImageView and DelayedConfirmationView. We will merge the Android Wear specific functionality with the Android counterparts under android.support.v4.widget.
  • Deprecate outdated user interface patterns - Two user interface patterns are deprecated with Android Wear 2.0: the Card pattern and the Multi-directional layout. As a result, we have deprecated all supporting classes, such as GridViewPager and CardFragment. Please refer to the class reference docs for their replacements.

In the first wave of these changes, we migrated the WearableRecyclerView, BoxInsetLayout and SwipeDismissFrameLayout classes to the new Android Wear UI Library. We expect the migration process to continue during 2017, and developers will have until mid-2018 to migrate to the new UI components. For additional information, see Using the Wear UI Library.

Get started and give us feedback!

To get started with these new tools, simply update the Android Support Library in Android Studio and update your gradle build files to import the new support libraries. In addition to the documentation links above, check out the Google I/O session - Android Wear UI development best practice - where lead engineers for these tools will be on-hand to explain the technical details.

We will continue to update these tools over the next few months, based on your feedback. The sooner we hear from you, the more we can include, so don't be shy! Let us do some of the heavy lifting for your Android Wear apps and watch faces.

On-Device Machine Intelligence



To build the cutting-edge technologies that enable conversational understanding and image recognition, we often apply combinations of machine learning technologies such as deep neural networks and graph-based machine learning. However, the machine learning systems that power most of these applications run in the cloud and are computationally intensive and have significant memory requirements. What if you want machine intelligence to run on your personal phone or smartwatch, or on IoT devices, regardless of whether they are connected to the cloud?

Yesterday, we announced the launch of Android Wear 2.0, along with brand new wearable devices, that will run Google's first entirely “on-device” ML technology for powering smart messaging. This on-device ML system, developed by the Expander research team, enables technologies like Smart Reply to be used for any application, including third-party messaging apps, without ever having to connect with the cloud…so now you can respond to incoming chat messages directly from your watch, with a tap.
The research behind this began last year while our team was developing the machine learning systems that enable conversational understanding capability in Allo and Inbox. The Android Wear team reached out to us and was interested to know whether it would be possible to deploy this Smart Reply technology directly onto a smart device. Because of the limited computing power and memory on smart devices, we quickly realized that it was not possible to do so. Our product manager, Patrick McGregor, realized that this presented a unique challenge and an opportunity for the Expander team to return to the drawing board to design a completely new, lightweight, machine learning architecture — not only to enable Smart Reply on Android Wear, but also to power a wealth of other on-device mobile applications. Together with Tom Rudick, Nathan Beach, and other colleagues from the Android Wear team, we set out to build the new system.

Learning with Projections
A simple strategy to build lightweight conversational models might be to create a small dictionary of common rules (input → reply mappings) on the device and use a naive look-up strategy at inference time. This can work for simple prediction tasks involving a small set of classes using a handful of features (such as binary sentiment classification from text, e.g. “I love this movie” conveys a positive sentiment whereas the sentence “The acting was horrible” is negative). But, it does not scale to complex natural language tasks involving rich vocabularies and the wide language variability observed in chat messages. On the other hand, machine learning models like recurrent neural networks (such as LSTMs), in conjunction with graph learning, have proven to be extremely powerful tools for complex sequence learning in natural language understanding tasks, including Smart Reply. However, compressing such rich models to fit in device memory and produce robust predictions at low computation cost (rapidly on-demand) is extremely challenging. Early experiments with restricting the model to predict only a small handful of replies or using other techniques like quantization or character-level models did not produce useful results.

Instead, we built a different solution for the on-device ML system. We first use a fast, efficient mechanism to group similar incoming messages and project them to similar (“nearby”) bit vector representations. While there are several ways to perform this projection step, such as using word embeddings or encoder networks, we employ a modified version of locality sensitive hashing (LSH) to reduce dimension from millions of unique words to a short, fixed-length sequence of bits. This allows us to compute a projection for an incoming message very fast, on-the-fly, with a small memory footprint on the device since we do not need to store the incoming messages, word embeddings, or even the full model used for training.
Projection step: Similar messages are grouped together and projected to nearby vectors. For example, the messages "hey, how's it going?" and "How's it going buddy?" share similar content and might be projected to the same vector 11100011. Another related message “Howdy, everything going well?” is mapped to a nearby vector 11100110 that differs only in 2 bits.
Next, our system takes the incoming message along with its projections and jointly trains a “message projection model” that learns to predict likely replies using our semi-supervised graph learning framework. The graph learning framework enables training a robust model by combining semantic relationships from multiple sources — message/reply interactions, word/phrase similarity, semantic cluster information — learning useful projection operations that can be mapped to good reply predictions.
Learning step: (Top) Messages along with projections and corresponding replies, if available, are used in a machine learning framework to jointly learn a “message projection model”. (Bottom) The message projection model learns to associate replies with the projections of the corresponding incoming messages. For example, the model projects two different messages “Howdy, everything going well?” and “How’s it going buddy?” (bottom center) to nearby bit vectors and learns to map these to relevant replies (bottom right).
It’s worth noting that while the message projection model can be trained using complex machine learning architectures and the power of the cloud, as described above, the model itself resides and performs inference completely on device. Apps running on the device can pass a user’s incoming messages and receive reply predictions from the on-device model without data leaving the device. The model can also be adapted to cater to the user’s writing style and individual preferences to provide a personalized experience.
Inference step: The model applies the learned projections to an incoming message (or sequence of messages) and suggests relevant and diverse replies. Inference is performed on the device, allowing the model to adapt to user data and personal writing styles.
To get the on-device system to work out of the box, we had to make a few additional improvements such as optimizing for speeding up computations on device and generating rich, diverse replies from the model. We will have a forthcoming scientific publication that describes the on-device machine learning work in more detail.

Converse from Your Wrist
When we embarked on our journey to build this technology from scratch, we weren’t sure if the predictions would be useful or of sufficient quality. We’re quite surprised and excited about how well it works even on Android wearable devices with very limited computation and memory resources. We look forward to continuing to improve the models to provide users with more delightful conversational experiences, and we will be leveraging this on-device ML platform to enable completely new applications in the months to come.

You can now use this feature to respond to your messages directly from your Google watches or any watch that runs Android Wear 2.0. It is already enabled on Google Hangouts, Google Messenger, and many third-party messaging apps. We also provide an API for developers of third-party Wear apps.

Acknowledgements
On behalf of the Google Expander team, I would also like to thank the following people who helped make this technology a success: Andrei Broder, Andrew Tomkins, David Singleton, Mirko Ranieri, Robin Dua and Yicheng Fan.

Android Wear 2.0 is here with new hardware features!

Posted by Hoi Lam, Lead Developer Advocate, Android Wear


Today, we are releasing the final SDK for Android Wear 2.0. In this release, we have added support for the new hardware features announced yesterday. If you have not done so already, it really is time to publish your apps so as to not miss the consumer hardware launch tomorrow.
Throughout the developer preview program, you have given us a lot of constructive feedback as well as bug reports. Thank you again!

Android Wear 2.0 recap



Android Wear 2.0 is our biggest update since we launched Wear in 2014, with numerous platform and developer enhancements. Some of the highlights include:
  • Material Design for Android Wear - A new system user interface and design guidelines, featuring a darker colour palette, vertical layout and visual components such as the WearableRecyclerView and WearableNavigationDrawer. We have also enhanced notifications on the watch with the new MessagingStyle rich notification style and inline actions.
  • Watch Face Complications - Complications are areas of the watch face that display information other than time. Apps can supply data to supported watch faces by creating a ComplicationProviderService, and watch faces can render this data in a style that suits the watch face design.
  • Standalone Android Wear apps and iOS support - Apps can now be downloaded directly to Wear devices via an on-watch Google Play Store. In addition, these apps can access the internet directly without relying on phone apps. This means that apps can now run on Android Wear devices that are paired to iOS devices.

New hardware support

The first two watches with Android Wear 2.0 give users more ways to interact with their smartwatches. In the final SDK, we have added API support for physical button locations and rotary input. At present, developers will need the new LG Watch Style or LG Watch Sport to test these new functionalities; however, we are working to add these new hardware features to the emulator. Stay tuned for updates! The SDK also includes a few other final bug fixes, such as support for more than three items in the Wearable Action Drawer.

App review changes

Now that Android Wear 2.0 is live, we'll soon update the Android Wear App Quality review process with two important changes. First, enhancing your phone app notifications for Android Wear will no longer be sufficient for passing the review. Second, it will soon be required that you upload a watch APK that's compatible with Android Wear 2.0. Only apps that pass these criteria will receive badging in Play Store on the phone and be eligible for top charts for Android Wear apps. These changes will ensure a more consistent experience for users and allow us to streamline the review process for you.

The journey doesn't stop here!

The Android Wear 2.0 developer preview lasted longer than we originally planned, but we think that the extra time has paid off in a big way. Thank you once again for your input and patience. You helped us achieve a higher quality bar than we could have achieved on our own.

We have integrated the Android Wear 2.0 Developer Preview documentation into the main Wear developer documentation site, and have also made factory images available for the preview devices. For developer related bugs, please continue to file developer bug reports or post comments in our Android Wear Developers community.

From the Android Wear team: Thank you again for your feedback and support!



Android Wear 2.0: Make the most of every minute

While traditional watches tell the time, Android Wear watches make the most of your time. In an instant, you can check when and where you’re meeting a friend, whether you’ll need an umbrella tonight, or how many minutes you’ve been active today—all without reaching for your phone. Today, we’re announcing Android Wear 2.0 to give you more informative watch faces, better workouts, new ways to use apps, more ways to stay in touch and on-the-go help from the Google Assistant. We’re also introducing two new watches that run Android Wear 2.0.

Android Wear 2.0 Watch Face

More personalized, helpful watch faces

You can now personalize your Android Wear always-on watch face with information and actions from your favorite apps. Simply glance at your wrist to check your next appointment, stock performance, progress on fitness goals, or whatever is important to you. A quick tap on your watch face lets you instantly order an Uber ride, start a workout, or get in touch with your significant other. Interested in different info throughout the day? Just swipe to switch your watch face as you go from the office to the gym to dinner with friends and home again.

Better ways to work out

Google Fit, the pre-installed fitness app on most Android Wear watches, now lets you track your pace, distance, calories burned and heart rate* as you’re walking, running or cycling. You can also measure weight-lifting reps, in addition to push-ups, sit-ups and squats. When you work out with a cellular-connected Android Wear watch, you can stay in touch with calls and messages, stream tunes from Google Play Music and still use your favorite apps right on your watch.

New ways to use apps

With Android Wear 2.0, you can choose which apps you want on your watch and download them directly from the new on-watch Google Play Store. If your watch has a cellular connection, you can make calls and use your watch apps no matter where your phone is. Whether you use an Android phone or iPhone, you’ll be able to use apps built for Android Wear 2.0, like AccuWeather, Android Pay*, Bring!, Foursquare, Google Fit, Google Messenger, Google Play Music, Lifesum, Robinhood, Runkeeper, Runtastic, Strava, Telegram, Uber and many more.

More ways to respond to messages

Now it’s easier than ever to read and respond to a message right from your watch. When you receive a message, you can expand the notification and tap to respond by dictating, typing or handwriting your answer, or drawing an emoji. Try it out on apps like Facebook Messenger, Glide, Google Messenger, Hangouts, Telegram or WhatsApp. Need to respond quickly and discreetly? Use Smart Reply, which instantly and intelligently suggests different responses based on the message you received.

The Google Assistant on your wrist

Android Wear 2.0 brings the Google Assistant to your wrist, so you can find answers and get things done—hands free. Ask your Google Assistant about the weather or remind yourself to bring an umbrella. Make a restaurant reservation or navigate to work. You can even update your shopping list right from your wrist. To ask for help, just hold down the power button on your watch or say “Ok Google." The Google Assistant is available in English and German on Android Wear and will be available in other languages in the coming months.

Introducing LG Watch Style and LG Watch Sport

The first watches with Android Wear 2.0 are the LG Watch Style and LG Watch Sport—both designed in collaboration with Google.


LG Watch Style & LG Watch Sport

The LG Watch Style is thin, light, beautiful to look at, and comfortable to wear. It’s available in three classic designs and finishes—silver, rose gold and titanium—and compatible with snap-and-swap 18mm leather and silicone bands out of the box, so you can quickly switch bands to match your look or the occasion. The rotating power button lets you easily scroll through your stream, bring up the app launcher, or get help from your Google Assistant.

The LG Watch Sport is Android Wear’s most powerful watch yet. Available in titanium and dark blue, the LG Watch Sport comes with a high performance elastomer strap, NFC for payments, GPS for tracking exercise and navigation, a heart rate sensor for your workouts, and cellular connectivity. With dedicated buttons for Google Fit and Android Pay, plus a rotating power button, it lets you instantly launch your favorite apps. From phone calls to payments, LG Watch Sport is pretty much everything you need whether you’re running the trails or just running some errands.

If you’re in the U.S., you can find the LG Watch Style at Best Buy and the Google Store and the LG Watch Sport at AT&T, Verizon and the Google Store, starting February 10. These watches will be available at carriers and retailers across Canada, Russia, Saudi Arabia, South Africa, South Korea, Taiwan, UAE and UK in the coming weeks.

Android Wear 2.0 will be available for all supported watches in the coming weeks. We hope Android Wear 2.0 lets you stay more informed, organized, healthy and connected to what matters most.

Android Wear: Make the most of every minute

*  Some features require hardware sensors which are not available on all Android Wear watches.


Current watches getting Android Wear 2.0 include: ASUS ZenWatch 2 & 3, Casio Smart Outdoor Watch, Casio PRO TREK Smart, Fossil Q Founder, Fossil Q Marshal, Fossil Q Wander, Huawei Watch, LG G Watch R, LG Watch Urbane & 2nd Edition LTE, Michael Kors Access Smartwatches, Moto 360 2nd Gen, Moto 360 for Women, Moto 360 Sport, New Balance RunIQ, Nixon Mission, Polar M600 and TAG Heuer Connected.


Android Wear 2.0: Make the most of every minute

While traditional watches tell the time, Android Wear watches make the most of your time. In an instant, you can check when and where you’re meeting a friend, whether you’ll need an umbrella tonight, or how many minutes you’ve been active today—all without reaching for your phone. Today, we’re announcing Android Wear 2.0 to give you more informative watch faces, better workouts, new ways to use apps, more ways to stay in touch and on-the-go help from the Google Assistant. We’re also introducing two new watches that run Android Wear 2.0.

Android Wear 2.0 Watch Face

More personalized, helpful watch faces

You can now personalize your Android Wear always-on watch face with information and actions from your favorite apps. Simply glance at your wrist to check your next appointment, stock performance, progress on fitness goals, or whatever is important to you. A quick tap on your watch face lets you instantly order an Uber ride, start a workout, or get in touch with your significant other. Interested in different info throughout the day? Just swipe to switch your watch face as you go from the office to the gym to dinner with friends and home again.

Better ways to work out

Google Fit, the pre-installed fitness app on most Android Wear watches, now lets you track your pace, distance, calories burned and heart rate* as you’re walking, running or cycling. You can also measure weight-lifting reps, in addition to push-ups, sit-ups and squats. When you work out with a cellular-connected Android Wear watch, you can stay in touch with calls and messages, stream tunes from Google Play Music and still use your favorite apps right on your watch.

New ways to use apps

With Android Wear 2.0, you can choose which apps you want on your watch and download them directly from the new on-watch Google Play Store. If your watch has a cellular connection, you can make calls and use your watch apps no matter where your phone is. Whether you use an Android phone or iPhone, you’ll be able to use apps built for Android Wear 2.0, like AccuWeather, Android Pay*, Bring!, Foursquare, Google Fit, Google Messenger, Google Play Music, Lifesum, Robinhood, Runkeeper, Runtastic, Strava, Telegram, Uber and many more.

More ways to respond to messages

Now it’s easier than ever to read and respond to a message right from your watch. When you receive a message, you can expand the notification and tap to respond by dictating, typing or handwriting your answer, or drawing an emoji. Try it out on apps like Facebook Messenger, Glide, Google Messenger, Hangouts, Telegram or WhatsApp. Need to respond quickly and discreetly? Use Smart Reply, which instantly and intelligently suggests different responses based on the message you received.

The Google Assistant on your wrist

Android Wear 2.0 brings the Google Assistant to your wrist, so you can find answers and get things done—hands free. Ask your Google Assistant about the weather or remind yourself to bring an umbrella. Make a restaurant reservation or navigate to work. You can even update your shopping list right from your wrist. To ask for help, just hold down the power button on your watch or say “Ok Google." The Google Assistant is available in English and German on Android Wear and will be available in other languages in the coming months.

Introducing LG Watch Style and LG Watch Sport

The first watches with Android Wear 2.0 are the LG Watch Style and LG Watch Sport—both designed in collaboration with Google.


LG Watch Style & LG Watch Sport

The LG Watch Style is thin, light, beautiful to look at, and comfortable to wear. It’s available in three classic designs and finishes—silver, rose gold and titanium—and compatible with snap-and-swap 18mm leather and silicone bands out of the box, so you can quickly switch bands to match your look or the occasion. The rotating power button lets you easily scroll through your stream, bring up the app launcher, or get help from your Google Assistant.

The LG Watch Sport is Android Wear’s most powerful watch yet. Available in titanium and dark blue, the LG Watch Sport comes with a high performance elastomer strap, NFC for payments, GPS for tracking exercise and navigation, a heart rate sensor for your workouts, and cellular connectivity. With dedicated buttons for Google Fit and Android Pay, plus a rotating power button, it lets you instantly launch your favorite apps. From phone calls to payments, LG Watch Sport is pretty much everything you need whether you’re running the trails or just running some errands.

If you’re in the U.S., you can find the LG Watch Style at Best Buy and the Google Store and the LG Watch Sport at AT&T, Verizon and the Google Store, starting February 10. These watches will be available at carriers and retailers across Canada, Russia, Saudi Arabia, South Africa, South Korea, Taiwan, UAE and UK in the coming weeks.

Android Wear 2.0 will be available for all supported watches in the coming weeks. We hope Android Wear 2.0 lets you stay more informed, organized, healthy and connected to what matters most.

Android Wear: Make the most of every minute

*  Some features require hardware sensors which are not available on all Android Wear watches.


Current watches getting Android Wear 2.0 include: ASUS ZenWatch 2 & 3, Casio Smart Outdoor Watch, Casio PRO TREK Smart, Fossil Q Founder, Fossil Q Marshal, Fossil Q Wander, Huawei Watch, LG G Watch R, LG Watch Urbane & 2nd Edition LTE, Michael Kors Access Smartwatches, Moto 360 2nd Gen, Moto 360 for Women, Moto 360 Sport, New Balance RunIQ, Nixon Mission, Polar M600 and TAG Heuer Connected.


Source: Android


Android Wear 2.0: Make the most of every minute

While traditional watches tell the time, Android Wear watches make the most of your time. In an instant, you can check when and where you’re meeting a friend, whether you’ll need an umbrella tonight, or how many minutes you’ve been active today—all without reaching for your phone. Today, we’re announcing Android Wear 2.0 to give you more informative watch faces, better workouts, new ways to use apps, more ways to stay in touch and on-the-go help from the Google Assistant. We’re also introducing two new watches that run Android Wear 2.0.

More personalized, helpful watch faces

You can now personalize your Android Wear always-on watch face with information and actions from your favorite apps. Simply glance at your wrist to check your next appointment, stock performance, progress on fitness goals, or whatever is important to you. A quick tap on your watch face lets you instantly order an Uber ride, start a workout, or get in touch with your significant other. Interested in different info throughout the day? Just swipe to switch your watch face as you go from the office to the gym to dinner with friends and home again.

Android Wear 2.0 Watch Face

Better ways to work out

Google Fit, the pre-installed fitness app on most Android Wear watches, now lets you track your pace, distance, calories burned and heart rate* as you’re walking, running or cycling. You can also measure weight-lifting reps, in addition to push-ups, sit-ups and squats. When you work out with a cellular-connected Android Wear watch, you can stay in touch with calls and messages, stream tunes from Google Play Music and still use your favorite apps right on your watch.

New ways to use apps

With Android Wear 2.0, you can choose which apps you want on your watch and download them directly from the new on-watch Google Play Store. If your watch has a cellular connection, you can make calls and use your watch apps no matter where your phone is. Whether you use an Android phone or iPhone, you’ll be able to use apps built for Android Wear 2.0, like AccuWeather, Android Pay*, Bring!, Foursquare, Google Fit, Google Messenger, Google Play Music, Lifesum, Robinhood, Runkeeper, Runtastic, Strava, Telegram, Uber and many more.

More ways to respond to messages

Now it’s easier than ever to read and respond to a message right from your watch. When you receive a message, you can expand the notification and tap to respond by dictating, typing or handwriting your answer, or drawing an emoji. Try it out on apps like Facebook Messenger, Glide, Google Messenger, Hangouts, Telegram or WhatsApp. Need to respond quickly and discreetly? Use Smart Reply, which instantly and intelligently suggests different responses based on the message you received.

The Google Assistant on your wrist

Android Wear 2.0 brings the Google Assistant to your wrist, so you can find answers and get things done—hands free. Ask your Google Assistant about the weather or remind yourself to bring an umbrella. Make a restaurant reservation or navigate to work. You can even update your shopping list right from your wrist. To ask for help, just hold down the power button on your watch or say “Ok Google." The Google Assistant is available in English and German on Android Wear and will be available in other languages in the coming months.

Introducing LG Watch Style and LG Watch Sport

The first watches with Android Wear 2.0 are the LG Watch Style and LG Watch Sport—both designed in collaboration with Google.


LG Watch Style & LG Watch Sport

The LG Watch Style is thin, light, beautiful to look at, and comfortable to wear. It’s available in three classic designs and finishes—silver, rose gold and titanium—and compatible with snap-and-swap 18mm leather and silicone bands out of the box, so you can quickly switch bands to match your look or the occasion. The rotating power button lets you easily scroll through your stream, bring up the app launcher, or get help from your Google Assistant.

The LG Watch Sport is Android Wear’s most powerful watch yet. Available in titanium and dark blue, the LG Watch Sport comes with a high performance elastomer strap, NFC for payments, GPS for tracking exercise and navigation, a heart rate sensor for your workouts, and cellular connectivity. With dedicated buttons for Google Fit and Android Pay, plus a rotating power button, it lets you instantly launch your favorite apps. From phone calls to payments, LG Watch Sport is pretty much everything you need whether you’re running the trails or just running some errands.

If you’re in the U.S., you can find the LG Watch Style at Best Buy and the Google Store and the LG Watch Sport at AT&T, Verizon and the Google Store, starting February 10. These watches will be available at carriers and retailers across Canada, Russia, Saudi Arabia, South Africa, South Korea, Taiwan, UAE and UK in the coming weeks.

Android Wear 2.0 will be available for all supported watches in the coming weeks. We hope Android Wear 2.0 lets you stay more informed, organized, healthy and connected to what matters most.

Android Wear: Make the most of every minute

*  Some features require hardware sensors which are not available on all Android Wear watches.


Current watches getting Android Wear 2.0 include: ASUS ZenWatch 2 & 3, Casio Smart Outdoor Watch, Casio PRO TREK Smart, Fossil Q Founder, Fossil Q Marshal, Fossil Q Wander, Huawei Watch, LG G Watch R, LG Watch Urbane & 2nd Edition LTE, Michael Kors Access Smartwatches, Moto 360 2nd Gen, Moto 360 for Women, Moto 360 Sport, New Balance RunIQ, Nixon Mission, Polar M600 and TAG Heuer Connected.


Source: Android


Final Android Wear 2.0 Developer Preview: iOS support. Time to upload your apps to the Play Store!

Posted by Hoi Lam, Developer Advocate 

Cross platform support by Telegram Messenger

Today, we are releasing the fifth and final developer preview for Android Wear 2.0. In this release, we have added iOS support and included a number of bug fixes and enhancements. Apps compiled with this preview are now ready for final submission to the Google Play Store, so it's time to publish your apps. As Android Wear 2.0 approaches its final release in early February, we would like to thank you for your continued feedback during the developer preview program. Your input has helped us uncover bugs as well as drive critical product decisions. Thank you!

iOS Support


Since 2015, you've been able to pair Android Wear watches with iPhones, and now you can distribute your apps to iPhone-paired watches as well. To do so, just set the standalone=true flag in your watch app manifest. This lets the Play Store know that your watch app doesn't require an Android phone app, and therefore can appear in the Play Store on watches paired to iPhones. To pair your watch to an iPhone and test, just follow these steps.

The available network bandwidth for standalone apps can be lower than expected, as the platform balances battery savings vs network bandwidth. Make sure to check out these guidelines for accessing the network, including accessing Wi-Fi and cellular networks on watches paired with iPhones.

Also with this developer preview release, Android Wear apps running on watches paired with iOS devices will be able to perform phone hand-off flows such as OAuth and RemoteIntent for launching a web page on a paired iOS device.

Uploading Your App to the Google Play Store


The final developer preview includes an update to the Wearable Support Library. Apps compiled with API level 25 and this support library are considered ready for deployment in the Google Play Store. Please note that there are no updates to the preview watch image or emulator in this developer preview release.


Other Enhancement and Bug Fixes


  • Navigation Drawer: Flip a flag to toggle to the single-page, icon-only action drawer, which provides faster, more streamlined navigation to different views in your app.
  • NFC HCE support: NFC Host Card Emulation FEATURE_NFC_HOST_CARD_EMULATION is now supported.
  • ProGuard and Complication API: New ProGuard configuration means complication data container classes will no longer be obfuscated. This fixes a ClassNotFoundException when watch faces are trying to access data supplied by a complication data provider.

Countdown to Launch


Thank you for the fantastic level of feedback we have gotten from you as developers. Check out g.co/wearpreview for the latest builds and documentation, and be sure to publish your apps before the Android Wear 2.0 consumer launch in early February. As we work towards the consumer launch and beyond, please continue filing bugs or posting comments in our Android Wear Developers community. We can't wait to see your Android Wear 2.0 apps!

Get a glimpse of Wear 2.0’s upcoming standalone apps

Kacey Fahey, Marketing Programs Manager, Google Play

The upcoming Android Wear 2.0 experience will introduce standalone apps, expanding your potential reach to both Android and iOS audiences with Wear devices. Users will be able to search, install, and use apps without ever leaving their device. See how other developers are enhancing their user experience with standalone apps for messaging, travel & local, and health & fitness.

Glide

Having a watch app further simplifies video messaging with Glide. Using the Wear Complications API, Glide is now able to live broadcast directly from the watch face. By tapping contact shortcuts from the watch face, you can now launch directly into a conversation. This experience brings speed and intimacy to the world of messaging, making wrist-based communication more accessible and effortless.
Foursquare

Travelers around the world use Foursquare’s Android Wear app to discover hidden gems and be in the know about the best places to eat, drink and explore. With their upcoming 2.0 app, the team has a clean new canvas for rich notifications giving users an immersive experience with Foursquare content.

“The standalone nature of the Android Wear 2.0 app will offer a big boost in search performance and app responsiveness so you spend less time staring at the screen and more time exploring the world around you,” said Kyle Fowler, Software Engineer at Foursquare.
Lifesum

Lifesum helps users make better food choices, improve their exercise, and reach health goals. The upcoming 2.0 experience complements the existing Lifesum mobile app and as a standalone app, it will allow users to more easily track water and meals throughout the day.

“It's all about increasing access and being there for the user in a quick and simple way. We believe a simplified way of tracking meals and water will make it easier for our users on their journey of becoming healthier and happier,” said Joakim Hammer, Android Developer at Lifesum

Check out g.co/wearpreview for the latest builds and documentation about the recently released Android Wear Developer Preview 4.
How useful did you find this blogpost?


Android Wear 2.0 Developer Preview 4: Authentication, In-App Billing, and more

Posted by Hoi Lam, Developer Advocate

A key part of Android Wear 2.0 is letting watch apps work as standalone apps, so users can respond to messages, track their fitness, and use their favorite apps, even when their phone isn't around. Developer Preview 4 includes a number of new APIs that will help you build more powerful standalone apps.

Seamless authentication

To make authentication a seamless experience for both Android phone and iPhone users, we have created new APIs for OAuth and added support for one-click Google Sign-in. With the OAuth API for Android Wear, users can tap a button on the watch that opens an authentication screen on the phone. Your watch app can then authenticate with your server side APIs directly. With Google Sign-In, it's even easier. All the user needs to do is select which account they want to authenticate with and they are done.

In-app billing

In addition to paid apps, we have added in-app billing support, to give you another way to monetize your Android Wear app or watch face. Users can authorize purchases quickly and easily on the watch through a 4-digit Google Account PIN. Whether it's new levels in a game or new styles on a watch face, if you can build it, users can buy it.

Cross-device promotion

What if your watch app doesn't work standalone? Or what if it offers a better user experience when both the watch and phone apps are installed? We've been listening carefully to your feedback, and we've added two new APIs (PlayStoreAvailability and RemoteIntent) to help you navigate users to the Play Store on a paired device so they can more easily install your app. Developers can also open custom URLs on the phone from the watch via the new RemoteIntent API; no phone app or data layer is required.

// Check Play Store is available
int playStoreAvailabilityOnPhone =
    PlayStoreAvailability.getPlayStoreAvailabilityOnPhone(getApplicationContext());

if (playStoreAvailabilityOnPhone == PlayStoreAvailability.PLAY_STORE_ON_PHONE_AVAILABLE) {
    // To launch a web URL, setData to Uri.parse("https://g.co/wearpreview")
    Intent intent =
        new Intent(Intent.ACTION_VIEW)
            .addCategory(Intent.CATEGORY_BROWSABLE)
            .setData(Uri.parse("market://details?id=com.google.android.wearable.app"));
    // mResultReceiver is optional; it can be null.
    RemoteIntent.startRemoteActivity(this, intent, mResultReceiver);
}

Swipe-to-dismiss is back

Many of you have given us the feedback that the swipe-to-dismiss gesture from Android Wear 1.0 is an intuitive time-saver. We agree, and have reverted back to the previous behavior with this developer preview release. To support swipe-to-dismiss in this release, we've made the following platform and API changes:

  • Activities now automatically support swipe-to-dismiss. Swiping an activity from left to right will result in it being dismissed and the app will navigate down the back stack.
  • New Fragment and View support. Developers can wrap the containing views of a Fragment or Views in general in the new SwipeDismissFrameLayout to implement custom actions such as going down the back stack when the user swipes rather than exiting the activity.
  • Hardware button now maps to "power" instead of "back" which means it can no longer be intercepted by apps.

Additional details are available under the behavior changes section of the Android Wear Preview site.

Compatibility with Android Wear 1.0 apps

Android Wear apps packaged using the legacy embedded app mechanism can now be delivered to Android Wear 2.0 watches. When a user installs a phone app that also contains an embedded Android Wear app, the user will be prompted to install the embedded app via a notification. If they choose not to install the embedded app at that moment, they can find it in the Play Store on Android Wear under a special section called "Apps you've used".

Despite support for the existing mechanism, there are significant benefits for apps that transition to the multi-APK delivery mechanism. Multi-APK allows the app to be searchable in the Play Store on Android Wear, to be eligible for merchandising on the homepage, and to be remotely installed from the web to the watch. As a result, we strongly recommend that developers move to multi-APK.

More additions in Developer Preview 4

  • Action and Navigation Drawers: An enhancement to peeking behavior allows the user to take action without scrolling all the way to the top or bottom of a list. Developers can further fine-tune drawer peeking behavior through new APIs, such as setShouldPeekOnScrollDown for the action drawer.
  • WearableRecyclerView: The curved layout is now opt-in, and with this, the WearableRecyclerView is now a drop-in replacement for RecyclerView.
  • Burn-in protection icon for complications: Complication data providers can now provide icons for use on screens susceptible to burn-in. These burn-in-safe icons are normally the outline of the icon in interactive mode. Previously, watch faces may have chosen not to display the icon at all in ambient mode to prevent screen burn-in.

Feedback welcome!

Thanks for all your terrific feedback on Android Wear 2.0. Check out g.co/wearpreview for the latest builds and documentation, keep the feedback coming by filing bugs or posting in our Android Wear Developers community, and stay tuned for Android Wear Developer Preview 5!

Android Wear: The Magic Minute Project

What’s possible in a minute? You can fall in love. Launch a rocket ship. Set a rap world record.

Today, Android Wear is teaming up with with makers, doers, and dreamers to launch The Magic Minute Project. It’s a collection of one-minute films celebrating what time means to all of us—told one #MagicMinute at a time.

A music and video producer, Andrew Huang has a penchant for working within absurd, self-imposed limitations. Using his Android Wear watch to time his performance, Andrew attempts to rap 300 words in one #MagicMinute.


Bruna Kajiya is a Brazilian kiteboarder and World Champion and the first woman to land a double handle pass in kiteboarding. The final minute of a competition is always the most intense: The riders perform their "all or nothing" tricks and everything is on the line.

Time trials have become popular in Parkour. Setting a route across an urban landscape, leaping between rooftops—it's seen as the highest test of practice. Kie Willis, one of the most well known freerunners in the world, attempts a one-minute Parkour while keeping his heart rate low.

Putting together the perfect look takes time, but a versatile accessory can help. Zanita Whittington—model, photographer, and creative director—completes her look by personalizing her Android Wear watch face.

Mike Relm is a world renowned turntablist and director, known for sampling music in surprisingly innovative ways to create new sounds. He has sampled and scratched many sounds in his life, but this is the first time using his wife’s voice!

Just as traditional watches help tell the time, Android Wear watches help make the most of our time. Whatever makes a minute magical to you, why not share it with the world too? It can be anything you imagine: paint, play, code, cook, rap or render.

Submit your own #MagicMinute for a chance to be featured in The Magic Minute Project film. Follow @AndroidWear on Twitter or visit g.co/magicminute to explore the best #MagicMinute videos.