SlideShare a Scribd company logo
The Glass Class:
Introduction to Glassware
Development with Mirror API & GDK
July 7th – 11th 2014
Mark Billinghurst, Gun Lee
HIT Lab NZ
University of Canterbury
An Introduction to
Glassware Development with
Mirror API & GDK
Gun Lee
* Images in the slides are from variety of sources,
including http://developer.android.com and http://developers.google.com/glass
Glassware
 https://glass.google.com/glassware
Timeline Metaphor
A Card in the Timeline
Glassware and Timeline
Glassware and Timeline
 Static Cards
 Static content with text, HTML, images, and (link to)
video.
 e.g. notification messages, news clip
 Live Cards
 Dynamic content updated frequently.
 e.g. compass, timer
 Immersions
 Takes over the whole control, out from timeline.
 e.g. interactive game
Glassware Development
 Mirror API
 Server programming, online/web application
 Static cards / timeline management
 GDK
 Android programming, Java (+ C/C++)
 Live cards & Immersions
 https://developers.google.com/glass/
Mirror API
 REST API
 Java servlet, PHP, Go,
Python, Ruby, .NET
 Timeline based apps
 Static cards
- Text, HTML, media attachment (image & video)
- Standard and custom menu items
 Manage timeline
- Subscribe to timeline notifications
- Sharing with contacts
- Location based services
Mirror API based Web App
3. Insert a static card
User sees the card
Glassware Web app
https://developers.google.com/glass/develop/mirror/stories
https://developers.google.com/glass/develop/mirror/stories
https://developers.google.com/glass/develop/mirror/stories
Develop with Mirror API
 Create a project on Google APIs Console
 Prepare a web server
 https callback for OAuth 2.0
 Minimum storage for credentials
 Create a web application
 Java servlet, PHP, Go, Python, Ruby, .NET
 Implement Oauth 2.0 authentication
 Use Mirror API to make REST API calls
- Wrapper classes/methods provided
Mirror API in Raw HTTP
Mirror API
 Java
 Python
 PHP
Example
Example
 https://hello-glass-mirror.appspot.com
Example
 https://hello-glass-mirror.appspot.com
Example
 https://hello-glass-mirror.appspot.com
Example
On your Glass
GDK
 Glass Development Kit
 Android 4.4.2 + Glass specific APIs
 Use standard Android Development Tools
GDK
 GDK add-on features
 Timeline and cards
 Menu and UI
 Touch pad and gesture
 Media (sound, camera and voice input)
Live Cards vs. Immersions
 Live cards display frequently updated
information to the left of the Glass clock.
 Integrate rich content into the timeline
 Simple text/images to full-blown 3D graphics
 Immersions let you build a user
experience outside of the timeline.
 Build interactive experiences
 Extra control, less user input constraints
Live Cards
Immersions
Live Cards vs. Immersions
Develop with GDK
 Android 4.4.2 (API 19) GDK Preview from the
Android SDK Manager.
 Project settings:
 Minimum and Target SDK Versions: 19
 Compile with: GDK Preview
 Theme: None (allows the Glass theme to be applied.)
 GDK samples
 File > New Project > Android Sample Project
 On Glass, turn on USB debugging
 Settings > Device Info > Turn on debug
Example
 Launch with voice trigger
 Android App with a full-screen Activity
 No theme (Glass system theme applied.)
 Handle touch input
Example
Example
Summary
 Use Mirror API if you need ...
 Use GDK if you need ...
 Or use both
More Information
 Website
 https://developers.google.com/glass
 http://arforglass.org
 http://www.hitlabnz.org
 Gun Lee
 gun.lee@hitlabnz.org
 Mark Billinghurst
 mark.billinghurst@hitlabnz.org

More Related Content

What's hot (6)

PPTX
Introduction to Android Programming
'Zamin Mammadov
 
DOCX
shilpa-09-06-2016-16-02-13
shilpa patil
 
PPTX
Google Glass - An Intro presentation to conduct code lab events.
getdinesh
 
PPTX
Android studio 4.0 new features preview
Concetto Labs
 
PDF
Android chat in the cloud
firenze-gtug
 
PPTX
Android
Keshan Sodimana
 
Introduction to Android Programming
'Zamin Mammadov
 
shilpa-09-06-2016-16-02-13
shilpa patil
 
Google Glass - An Intro presentation to conduct code lab events.
getdinesh
 
Android studio 4.0 new features preview
Concetto Labs
 
Android chat in the cloud
firenze-gtug
 

Similar to The Glass Class - Tutorial1 - Introduction to Glassware Development (20)

PPT
Introduction to google glass
Anees Haider
 
PDF
Developing for Google Glass
Mark Billinghurst
 
PDF
eBook - Developing Applications for Google Glass
Unvired Inc.
 
PPTX
Google Glass, the GDK, and HTML5
Oswald Campesato
 
PPTX
Objets connectés : "We are able !"
OCTO Technology
 
PDF
Development for Google Glass using Android GDK
David Vávra
 
PPT
GoogleGlass
Quazi Hasib
 
PPTX
Google mirror api
Utpal Betai
 
PPTX
Google Glass, Intro, Glass, GDK, Mirror API
DroidConTLV
 
PPT
DevFest West 2013 @Google: LIGHTNING TALK : Learnings, Prototypes & Use Cases...
Tasneem Sayeed
 
PPT
Introduction to google glass and GDK
Cuelogic Technologies Pvt. Ltd.
 
PPTX
Google Glasses Integration with SAP
Gh14Cc10
 
PPTX
Google Glass Development Kit - Developer Zone
Utpal Betai
 
PPTX
Getting Started: Google Glass Apps with GDK
Zi Yong Chua
 
PDF
The Glass Class - Tutorial 2 - Mirror API
Gun Lee
 
PPTX
Google Glass in a Programmer's View
Amalan Dhananjayan
 
PPTX
WebCamp Zagreb 2014 mirror api
dselmanovic
 
PDF
An Overview of Google Glass GDK
Dave Slocombe
 
PPTX
Developing for Glass & Alfresco
Jared Ottley
 
PPTX
Introduction to Google glass - Regnier
Codemotion
 
Introduction to google glass
Anees Haider
 
Developing for Google Glass
Mark Billinghurst
 
eBook - Developing Applications for Google Glass
Unvired Inc.
 
Google Glass, the GDK, and HTML5
Oswald Campesato
 
Objets connectés : "We are able !"
OCTO Technology
 
Development for Google Glass using Android GDK
David Vávra
 
GoogleGlass
Quazi Hasib
 
Google mirror api
Utpal Betai
 
Google Glass, Intro, Glass, GDK, Mirror API
DroidConTLV
 
DevFest West 2013 @Google: LIGHTNING TALK : Learnings, Prototypes & Use Cases...
Tasneem Sayeed
 
Introduction to google glass and GDK
Cuelogic Technologies Pvt. Ltd.
 
Google Glasses Integration with SAP
Gh14Cc10
 
Google Glass Development Kit - Developer Zone
Utpal Betai
 
Getting Started: Google Glass Apps with GDK
Zi Yong Chua
 
The Glass Class - Tutorial 2 - Mirror API
Gun Lee
 
Google Glass in a Programmer's View
Amalan Dhananjayan
 
WebCamp Zagreb 2014 mirror api
dselmanovic
 
An Overview of Google Glass GDK
Dave Slocombe
 
Developing for Glass & Alfresco
Jared Ottley
 
Introduction to Google glass - Regnier
Codemotion
 
Ad

Recently uploaded (20)

PPTX
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
PPTX
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
PDF
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
PDF
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
PPTX
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
PDF
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
PDF
Blockchain Transactions Explained For Everyone
CIFDAQ
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PDF
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
PDF
Learn Computer Forensics, Second Edition
AnuraShantha7
 
PDF
Predicting the unpredictable: re-engineering recommendation algorithms for fr...
Speck&Tech
 
PDF
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PDF
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
PPTX
Q2 Leading a Tableau User Group - Onboarding
lward7
 
PDF
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
PDF
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
Blockchain Transactions Explained For Everyone
CIFDAQ
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
Learn Computer Forensics, Second Edition
AnuraShantha7
 
Predicting the unpredictable: re-engineering recommendation algorithms for fr...
Speck&Tech
 
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
Q2 Leading a Tableau User Group - Onboarding
lward7
 
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
Ad

The Glass Class - Tutorial1 - Introduction to Glassware Development