Google Glass App development€¦ · Development – Immersion • Cards are displayed in the form...

23
Google Glass App development Krishna Vattipalli Vice President @ Imaginnovate

Transcript of Google Glass App development€¦ · Development – Immersion • Cards are displayed in the form...

Google GlassApp development

Krishna VattipalliVice President @ Imaginnovate

WELCOME to

WEARABLE TECHNOLOGY

Google Glass

What does Google Glass do?

• Connected to Internet• Via WiFi, Bluetooth tethering

• Communicate with Smartphone• Bluetooth

• Camera• Photos, Video

• Location information• GPS

History...

• Google Glass was developed by Google X• Public testing began in April 2012• Publicly first released in June 2012 during

Google IO• Developer versions released in 2013• Glassware app store July 2013• Anyone can purchase developer versions from

Google Play store (US only) - 2014

Technical Specifications

• Google Glass software version XE21.3• Android 4.4.4• 5 MP camera, 720p Video recording• WiFi 802.11 b/g• Bluetooth• 16GB storage• 2GB RAM• 3 axis Gyroscope, Accelerometer, Magnetometer• Ambient light sensing and proximity sensor• Bone conduction audio transducer

Google Glass Live

• Navigation• Timeline• Settings• Email• Messaging• Sharing• Google Now• Camera

Timeline

• Past activities• Present activity• Future activities

Design Guidelines

• Do not distract user• Keep it relevant• Area constraint• Limited layouts• Battery• Device heats up quickly• Navigation constraints

Design – Cards (Layout)

Design – Colors, Fonts

• Pre-defined colors• Uses Black and White most of the time• Roboto Thin – Primary font (above 26px)• Roboto Light – Secondary (26px or less)• Text is dynamically resized, depending on content• Keep text simple, relevant and clean

Development - Patterns

• Notifications (Static Cards)• On going task (Live Cards)• Immersions

Development – Notifications

• This pattern inserts cards into the timeline as they happen.

• These cards are not invoked either by voice or touch

• Background service delivers these cards• Message notifications etc

Development – Ongoing task

• These are long running tasks, that users leave and come back frequently

• All Live cards must provide a way to stop the task

• Stopwatch, Maps etc

Development – Immersion

• Cards are displayed in the form of Android activities

• They take over the experience of the timeline until the function is ended by the user

• Users can end the card by swiping down• Game, Business app etc

Development – Options

• Mirror API• GDK

Development – Mirror API

• Web based services that interact with Google Glass.

• All functionality is provided over a cloud based API

• App code does not run on device• Best used for Notifcations (Static cards)

Mirror API - Steps

• User visits web application and authorizes app with OAuth2.0

• Mirror API handles user authentication• Post JSON implementation of Card to Mirror API• Mirror API pushes the card to Glass timeline• Photos, Locations etc can be accessed• Language independent• Java, Python , PHP examples available

Development - GDK

• GDK is an add-on to Android SDK• Apps run natively on the device• Great for Live Cards and Immersions• A startup Service or Activity should be

mentioned• Location Services• Access to Sensors• Access to low-level features for fine grained

control

GDK

• Widgets• Card Design• Card Scroller

• Voice Input• Touch Gestures

• Keyup• Keydown

Distribute

• Application submission checklist• App approval process• Voice command approval• Build new Voice commands• Website

Krishna VattipalliVice President @ Imaginnovate | [email protected]