Glass w/o Glass: Developing native Glass applications without the hardware with Mike DiGiovanni
description
Transcript of Glass w/o Glass: Developing native Glass applications without the hardware with Mike DiGiovanni
GLASS WITHOUT GLASSDeveloping native Glass applications without the hardware
About Mike DiGiovanni Mobile developer Why me?
Native Glassware Leader○ Winky○ Launchy○ Bulletproof○ GlassAuth○ Research into audio and sensor APIs
Participated in original Glass hackathonExtensive Android experienceWearables Gold Rush
A short look at Glass
Why native?
Low latency Control over the user experience Keep data away from Google
Pre-requisites
Android SDK - http://developer.android.com/sdk/ Good understanding of Android development
Glassless
A sample app Plain old Android SDK Basic sensor usage – Google sample Basic interaction usage - Google sample Basic TTS Example of maps static API and location – Jenny
Murphy of Google Examples of menu Examples of theming
Emulator Setup
Menus
XE7 - Google made a change to the underlying platform to present menus in a very Glassy way
Pulls from HDPI bucket Mostly white, subtle shading, hard to describe 70x70 icons
Themes
Touch management – Stop Watch
Touchpad on the side Translate to keystrokes
tab, dpad left – swipe backwardshift+tab, dpad right – swipe forwardback – swipe downdpad center - tap
Generic Motion Events
Sensors - Compass
Not the greatest Typical
registration Typical events
More sensors - Level
Can be used to balance it on your head straight
Gaming functions Typical registration Typical events
Location – Sugar Glider
Short confusing history NOW Standard location
provider registration and listening
Need maps?
Audio Recording – Wave form
Mono AudioSource mic AudioRecord
class
What APIs don’t work
Location API Voice Recognition Face detection Google APIs (Maps, +, Play Store)
Final conversion
Remove any usage of non hdpi bitmap based drawables
Likely that a menu will automatically show up and we wont have to do a dance
Evaluate Battery life Final GDK
Comparison app on Device vs Glass
LIVE DEMO!
Tips Screen off = App exit Don’t go out of your way Evaluate whether it’s really worth going native Think inside a timeline Make friends in the community XE10 Limit text, limit depth, limit functionality How can my company's software for Glass change our
customers lives? How can Glass hardware change my company?
Ideas
Second screen for gaming – HUD, Hidden info Pro camera Viewfinder for wifi cameras Presentation helper Think business specific Assistive devices
Resources Mike dg Google+ http://goo.gl/CmC9SH @evilmikedg Mike dg github http://www.github.com/kaze0 Mirror API https://developers.google.com/glass/about GDK https://developers.google.com/glass/gdk Glass Development G+ Community http://goo.gl/ctgLT0 Jenny Murphy - Google Developer https://github.com/mimming/
sugarglider General sensors -
http://developer.android.com/guide/topics/sensors/sensors_overview.html
Q&A