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
Documentation
● https://developers.google.com/glass● https://github.com/googleglass● http://stackoverflow.
com/questions/tagged/google-gdk● https://code.google.com/p/google-glass-
api/issues/list
Bonus + Q + A
Follow me:http://google.com/+DavidVávrahttp://twitter.com/destil