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
Credits
About the Author
About the Reviewers
www.PacktPub.com
Customer Feedback
Preface
2
Let us Help Capture What is on Your Mind - WearRecyclerView and More
3
Let us Help Capture What is on Your Mind - Saving Data and Customizing the UI
5
Measuring Your Wellness and Syncing Collected Sensor Data
9
Let us Chat in a Smart Way - Notifications and More

Types of Maps


A map type governs the overall of a map. For example, an atlas usually contains political maps that focus on showing boundaries, and road maps show all of the roads for a city or a region. The Google Maps Android API offers four types of maps, as well as an option to have no map at all. Let's look at the options in more detail:

  • Normal: Typical road map. Shows roads, some built by humans, and important natural features like rivers. Road and feature labels are also visible.
  • Hybrid: Satellite photograph data with maps added. Road and feature labels are also visible.
  • Satellite: Satellite data. Road and feature labels are not visible.
  • Terrain: Topographic data. The includes colors, contour lines and labels, and perspective shading. Some roads and labels are also visible.
  • None: No tiles. The will be rendered as an empty grid with no tiles loaded.

Let's see this in the WearMapdiary application. Let's change the map type for the application. In the OnMapready method, add the following...