Development for Google Glass using Android GDK

Post on 28-Jan-2015

114 views 3 download

Tags:

description

Overview of the Google Glass GDK Preview and how I created glasware for Foursquare.

Transcript of Development for Google Glass using Android GDK

David Vávra, Inmite

Development for

using Android GDK

Hardware

Demo time

4 principles of Glassware design

Design for Glass

Don’t get in the way

Keep it relevant

Avoid the unexpected

Development for Glass

● Mirror API - March 2013

● Glass Development Kit (GDK) - November 2013○ Android 4.4○ offline, real-time, hardware, voice

User interface: Timeline card

● 640x360 px● black background, given font sizes & colors● bundles

User interface - timeline

Immersions

Menus

Finally the code!

● full API 19○ @android:style/Theme.DeviceDefault○ Activities = Immersions○ menu.xml○ Intents for Speech, Camera, Navigation, Browser, ...○ LocationProvider, Sensors, Camera

● Glass-specific extensions:○ class Card○ class CardScrollAdapter & CardScrollView○ class LiveCard (+ RemoteViews)○ class GestureDetector○ voice commands in manifest○ Authentication

Let’s dive into Glasquare code

http://github.com/destil/glasquare

Distribution

● adb install● MyGlass

○ checklist: https://developers.google.com/glass/distribute/checklist

○ design○ voice commands○ assets

Bonus + Q + A

Follow me:http://google.com/+DavidVávrahttp://twitter.com/destil