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

Creating and building a Google Glass application


In this section, we will look at how to create a native Google Glass wearable application that will enable us to communicate with our wearable device, so that we can create custom voice messages as well as access the Google Glass camera to take a photo and save the image to our wearable device.

Firstly, create a new project in Android Studio by following these simple steps:

  1. Launch Android Studio, and then click on the File | New Project menu option.

  2. Next, enter HelloGoogleGlass for the Application name field.

  3. Then, provide the name for the Company Domain field.

  4. Next, choose Project location where you would like to save your application code:

  5. Finally, click on the Next button to proceed to the next step.

    Next, we will need to specify the form factors for the Glass wearable device that our application will run on. On this screen, we will need to choose the minimum SDK version for the Glass wearable device.

  6. Click on the Glass option and choose Glass...