Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Android Wear Projects

You're reading from  Android Wear Projects

Product type Book
Published in Jul 2017
Publisher Packt
ISBN-13 9781787123229
Pages 416 pages
Edition 1st Edition
Languages
Author (1):
Ashok Kumar S Ashok Kumar S
Profile icon Ashok Kumar S

Table of Contents (18) Chapters

Title Page
Credits
About the Author
About the Reviewers
www.PacktPub.com
Customer Feedback
Preface
Getting You Ready to Fly - Setting Up Your Development Environment Let us Help Capture What is on Your Mind - WearRecyclerView and More Let us Help Capture What is on Your Mind - Saving Data and Customizing the UI Measure Your Wellness - Sensors Measuring Your Wellness and Syncing Collected Sensor Data Ways to Get Around Anywhere - WearMap and the GoogleAPIclient Ways to Get Around Anywhere - UI controls and More Let us Chat in a Smart Way - Messaging API and More Let us Chat in a Smart Way - Notifications and More Just a Face for Your Time - WatchFace and Services More About Wear 2.0

Chapter 11. More About Wear 2.0

Android Wear 2.0 is a prominent update with plenty of new features bundled in, including Google Assistant, standalone applications, new watch faces, and support for third-party complications. In previous chapters, we explored how to write different kinds of Wear applications. Wear 2.0 offers more with the current market research and Google is working with partner companies to build a powerful ecosystem for Wear.

In this chapter, let's understand how we can take our existing skills forward with the following concepts:

  • Standalone applications
  • Curved layouts and more UI components
  • Complications API
  • Different navigations and actions
  • Wrist gestures
  • Input method framework
  • Distributing Wear apps to the Play store

Standalone applications


In Wear 2.0, standalone are feature of the wear ecosystem. How cool it will be using wear apps without your phone nearby! There are various scenarios in which Wear devices used to be phone dependent, for example, to receive new e-mail notifications, Wear needed to be connected to the phone for Internet services. Now, wear devices can independently connect to Wi-Fi and can sync all apps for new updates. The user can now complete more tasks with wear apps without a phone paired to it.

Identifying an app as a standalone

The idea of a standalone application is a great feature of the wear platform. Wear 2.0 differentiates the standalone app through a metadata element in the Android manifest file. Inside the tag <application>, the </application> metadata element is placed with com.google.android.wearable.standalone with the value true or false. The new metadata element indicates whether the wear app is a standalone app and doesn't require the phone to be paired...

Summary


In this chapter, we have understood standalone applications and the Complications API. We have seen how to detect companion apps using Capability API, and we have a clear idea of standalone applications and publishing a wear app too.

This chapter examined how we can reinforce the comprehension of wear 2.0 and its components, along with an exhaustive understanding of standalone apps, curved layouts and more UI components, and building Wear applications with navigation drawers and action drawers. It also offered a brief understanding of wrist gestures and using them in wear applications, using the input method framework, and distributing the wear application to the Google Play Store.

lock icon The rest of the chapter is locked
arrow left Previous Chapter
You have been reading a chapter from
Android Wear Projects
Published in: Jul 2017 Publisher: Packt ISBN-13: 9781787123229
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at £13.99/month. Cancel anytime}