Book Image

Android Wearable Programming

By : Steven F. Daniel
Book Image

Android Wearable Programming

By: Steven F. Daniel

Overview of this book

Table of Contents (14 chapters)
Android Wearable Programming
Credits
About the Authors
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

An introduction to GDK and the Google Mirror API


In this section, we will be discussing the Google Mirror API and how this is designed to give developers access to Glass development without any prerequisites, as this API is included as part of the core Glass OS, and does not rely on any third party development tools. Google provides developers with its cloud-based RESTful services that enable them to build Glassware apps by interacting with web service calls that are part of the Google API platform, and is fully hosted, managed, and maintained by Google.

The Mirror API works by allowing you to build web-based services that can interact with Google Glass by providing the functionality over a cloud-based API that does not require running code on a real Google Glass device.

When working with the Mirror API, you need to keep in mind the following things about this API:

  • Executes an OAuth 2.0 request to obtain an authentication token

  • Executes HTTP requests

  • Provides the ability to post timeline items...