Working with the Google Glass Mirror API from Android. From https://github.com/emil10001/GlassFromAndroid/blob/master/src/com/feigdev/GOauthAndroid/MyActivity.java