Intro to
Google Glass Development
with the GDK
Norton Lam
Tech Lead, Mobile Practice, Magenic
mobilevangelist.com, @orchinib
What Glass is
• Wearable computer
• Display equivalent to 25” screen 8 feet away
• Voice controlled
• Useful for quick hits of information (3-5 seconds)
What Glass isn’t
• Not a replacement for your smartphone
• Not good for reading or watching videos
• Not good for playing games
• No keyboard
Demo of Capabilities
Glass Development
• Mirror API
• Glass Development Kit (GDK)
• Hybrid
Mirror API
• HTML & CSS
• Uses Oauth2
• Platform independent
- Java
- .NET
- PHP
- Python
GDK
• Android 4.0.4
• Rumors of Android 4.4.x - KitKat
• XML Layouts
• Real-time user interaction
• Access to hardware
• Offline functionality
Hybrid
• Insert card into timeline
• Menu item opens an Android Intent
Glass Hardware
• Resolution : 640x360
• Storage : 16GB - 12GB Usable
• RAM : 1GB - 682 MB for developers
• Connectivity
- Wireless
- Bluetooth
• Camera
- Photos - 5MP
- Videos - 720p
Sensors
• Touchpad
• Accelerometer
• Gyroscope
• Magnetometer
• Ambient light sensor
• Proximity sensor
User Experience
• Static Card
• Live Card
• Immersion
Static Card
• Right of home
• No layout control
• No user interaction
Live Card
• Left of home
• Card or Android XML Layout
Live Card
• Some user interaction
• Backed by an Android Service
Immersion
• Takes over Glass UX
• Android XML Layout
Immersion
• Real-time user interaction
• Access to hardware
• Offline functionality
Code Examples
GDK Hello World
https://github.com/Mobilevangelist/google-glass-hello-world
GDK Kitchen Sink
https://github.com/Mobilevangelist/google-glass-kitchen-sink

Intro to Google Glass Development with the GDK