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

The Google API console

The Google API console is a web portal that allows developers to manage Google services for their project and it can be at

  1. Visit the developer console with your Google account. Create a project packt-wear or something that is convenient for developers:
  1. After creating the project successfully, go to the API Manager | Library section and enable the Google Maps Android API:
  1. Click on the Enable button for enabling Maps for Android:
  1. After enabling the API in the console facility, we need to create the API key with the development machine's SHA1 and the project's package address, as follows:
  1. To get your machine's SHA1 fingerprint, open Android Studio. On the right-hand side of Android Studio, you will see the Gradle project menu. Then, follow these steps:
    1. Click on Gradle (on the right-hand side panel, you will see the Gradle Bar)
    2. Click on Refresh (click on Refresh; on the Gradle Bar, you will see a List of Gradle scripts for your project...