Get started

Before you begin, we suggest that you familiarize yourself with the device. You can find a high-level overview about Glass EE2 in our help center. To develop applications for Glass Enterprise, you need to be familiar with Android development because the platform is based on Android Open Source Project (AOSP). You can also take a look at sample applications to learn more.

Glass Android OS

Glass EE2 runs on Android Oreo 8.1 (API level 27), but it doesn't include Google Mobile Services (GMS) or Google Play services. This might impact your choice of Google APIs. You need Android Studio and Android SDK 8.1 (API 27) to develop applications.

Device information

You can find information about the device in the settings on the "About device" card.

If you prefer to use a console to collect device information, use the following instructions.

Firmware version

To get the firmware version, use the following command:

adb shell getprop ro.build.id

Serial number

To get the serial number, use one of the following methods:

Adb command

adb devices

Fastboot command

fastboot getvar serialno

Legacy serial number

fastboot oem device-info

The legacy serial number is stored as legacy serialno.

Migrate from EE1 to EE2

The GDK (Glass Developer Kit) is deprecated on EE2 in favor of the standard Android API level 27 (Android Oreo 8.1) throughout. The first step to port your application from EE1 to EE2 is to remove all references to the GDK.

Screen mirroring

To facilitate development, we recommend that you use a casting app like Vysor or scrcpy to view results and remotely control Glass.

Hardware profile

To make your emulator more like the display on Glass, Import this hardware profile into Android Virtual Device Manager.