Book Image

Android Wear Projects

By : Ashok Kumar S
Book Image

Android Wear Projects

By: Ashok Kumar S

Overview of this book

Android Wear Projects is your opportunity to step into the exciting new world of Android Wear app development. This book will help you to master the skills in Android Wear programming and give you a complete insight on wear app development. You will create five different Android Wear apps just like the most popular Android Wear apps. You will create a To-do list, a city maps app, a Wear messenger, Wear fitness tracker and Watch face. While you create these apps you will learn to create custom notifications, receive voice inputs in notifications, add pages to notifications and stack notifications. You will see how to create custom wear app layouts, the custom UIs specially designed for Wear. You will learn to handle and manage data and syncing data with other devices, create interactive Watch faces and also ensure the safety and security of your Wear apps by testing and securing your apps before you deploy them on the app store.
Table of Contents (18 chapters)
Title Page
About the Author
About the Reviewers
Customer Feedback
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
Measuring Your Wellness and Syncing Collected Sensor Data
Let us Chat in a Smart Way - Notifications and More

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 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...