In this post we try to summarise the software apps we are going to use and the full setup of the Google Glass development enviroment. Finally we are going to deploy a simple example.
First of all, we need to install:
- Android Studio
- Android SDK (Already included in Android Studio IDE)
- Genymotion (Android emulator)
After the installation, we need to follow some more steps:
- To be able to compile Google Glass applications we need to download and install, through SDK Manager in Android Studio, the 15th version of Android SDK, named Ice Cream Sandwich Maintenance Release 1.
- To debug Google Glass apps is needed to download and install, through SDK Manager in Android Studio also, the Google USB Driver. However, as we are developing in Windows 8, a fix is needed. The following steps explains how to enable the proper driver for Google Glass.
- Install Google Glass companion MyGlass application to:
- Configure and manage Google Glasses.
- Get location updates from the smartphone GPS.
- Send text messages.
- Hangout with contacts.
- Install Glassware (Google Glass only) apps.
- Configure WiFi network from MyGlass application following these steps.
- Set Google Glass in debug mode. To achieve this you need to:
- Go to the settings card.
- Select the Device Info card in the settings.
- Scroll over to Turn on debug and tap it.
To test the enviroment setup, we clone a simple Google Glass app example from Github. The example shows the usage of the compass sensor in a live card (We are going to exaplain the desing components and concepts in future posts).
After cloning it, we:
- Import the project to Android Studio with Import Project.
- Set the proper Android SDK version 15 in Project Structure.
- Deploy it to Google Glass and watch it running