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

Chapter 3. Let us Help Capture What is on Your Mind - Saving Data and Customizing the UI

Building the note-taking from scratch was a good learning experience. In this chapter, we will understand upgrading the same code for a new user interface with Wear design standards. The Wear-note 1 app will get migrated to Wear-note 2 with the following update:

  • Integrating the Realm database
  • UI updates
  • Integrating custom fonts and assets
  • Finalizing the project

To further assist the open wear-note 1 project in your Android Studio, compile the project and check the project screen by screen. You will discover that the main functionality of the application is saving notes on Wear devices. In this application, we have a white color background and black color font. SharedPreferences is helping the application to persist the data.

Further recapping, we know how to work with WearableRecyclerView, DelayedConfirmationView, and BoxInsetLayout for getting the best application experience on Wear devices.

Taking it forward...