chrislong / gdkdemo

GDK demo apps and sample code

Home Page:http://www.gdkdemo.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Google Glass GDK Playground

GDK Demo is a collection of Glass Development Kit sample apps and example code. You can quickly test new GDK API features using the sample Glassware.

Refer to the official GDK doc for more information on the Glass Development Kit. This repository contains (will contain) a variety of example programs and sample code, and other apps and libraries, which are built with GDK, or which are otherwise relevant to Glassware development.

You can build the demo Glassware using Gradle:

gradle clean build

You can install it on your Glass (if you have one) using adb.

adb install -r build/apk/[app name]-release.apk

You can also import any of the Glassware projects into an IDE such as Android Studio.

API Demo

GDK Live Card Sample Code

The apidemo directory contains two Glass apps which demonstrate a simple implementation of the LiveCard API. The second app, Live Card Demo 2, includes a sample code for updating the LiveCard content via "low frequency rendering".

GDK Touch Gesture Sample Code

This Glassware shows to how to implement the Touch Gesture input modes. The app can be started using the following voice input:

OK, Glass. Start Gesture Demo

GDK Voice Input Sample Code

This demo Glassware uses the GDK Voice Input API. You can start the app via Voice Trigger, Start Voice Demo..., followed by the phrase dictate. This voice command opens a new activity, which includes the "dictation" function. Tap to start dictation.

GDK Location Sample Code

This example app uses the Android LocationManager API to display the user's dynamic location on the LiveCard.

GDK Sensor Sample Code

The Sensor Demo directory includes a number of example apps for using Android Sensor APIs. For more information, refer to the GDK doc on Sensors.

About

GDK demo apps and sample code

http://www.gdkdemo.com/

License:Other