SlideShare a Scribd company logo
1 of 27
Dinesh Ganesan
GDG Baltimore V 1.0
Development – Code labs
WHAT IS GLASS?
Wearable computing device that interacts with
human digital information through natural
language voice commands
Experience the glass. Slide# 1.
What it can do?
Slide# 2.
Slide# 3.
 Integrated screen display – Semi Transparent.
 Camera –to capture Video/Picture.
 Mini-Projector – to display the visual.
 Hidden battery inside the frame
HOW DOES IT WORK?
Application Model.
Experience the glass.
Slide# 4.
1. GDK : Similar to iOS/Android Native App
2. Mirror API: Similar to mobile web
User Experience.
Experience the timeline card. Slide# 5.
Time Location Engagement
Relevant Natural Language
Gesture
Gestures
Experience the timeline card.
Tap Wake up
Natural Language
Wink
Slide# 6.
Mirror vs GDK
Learn more Slide# 7.
Mirror API Dev
Quick start : Mirror API Slide# 8.
Required Tools :
 Cloud based Mirror APIs.
 Objects
 Timeline
 Subscriptions
 Locations
 Contacts
 JSON
Mirror - TestEnv
Mirror Playground Slide# 9.
Mirror Playground is the best online tool to
validate the static card’s look and feel with JSON
text. It has couple of pre-built templates for the
beginners, and allows to create custom UI
templates. All you need to do it just modify the
JSON object with HTML tags.
Mirror Apps
Slide# 10.
GDK Dev : Step1
Slide#
 Install Android SDK
 Subscribe GDK thru SDK Manager
 Turn on ‘Debug’ in Glass
SDK Quickstart 11
GDK Dev : Step2
Slide#
 Create a sample ‘Compass’ app.
 Create/Download samples from
the url
https://github.com/harrywye/gdk
demo/tree/master/apidemo
 Compilation success?
GDK DemoApps 12
GDK Dev : Step3
Slide#
 Create a new voice command.
 Handling Gesture event.
 Defining Context Menu.
GDK DemoApps 13
GDK Dev : Step4
Slide#
 Navigation
 How to set the Navigation mode.
GDK DemoApps 14
GDK
Code
SnippetsExperience Voice Command / Touch capability.
Slide# 15.
Step #1. Launch Android Eclipse
Step #2. Click File -> New -> Android Project
Step #3. Select ‘Android Sample Project’
Step #4. Click ‘Next’
Step #5. Select ‘Glass Development Kit Sneak Peek”
Step
#4
Step
#5
Slide# 16.
Step #6. Launch Android Eclipse
Step
#6
Yay! My 1st Glass – GDK project Created
Slide# 17.
Step #6. Launch Android Eclipse
Step
#6
Yay! My 1st Glass – GDK project Created
Slide# 18
“ok glass show a compass”
Slide# 19.
Slide# 20
File Name : AndroidManifest.xml
Q? What does it take to implement ‘Voice command’ in my App?
1. Add an intent filter.
2. Add a string in resvaluesstring.xml file.
Slide# 21.
File Name : res/xml/compass_show.xml
3. Add a XML for voice trigger.
res/xml/<my_voice_trigger>.xml
Q? How do I change ‘show a compass’ command ?
Ans : Just modify the text in string.xml, in this case, modify the value of show_compass_voice_trigger node value
from ‘show a compass’ into something ‘open my compass’.
Slide# 22
listen to
take a note
post an update
show a compass
start a run
start a bike ride
find a recipe
record a recipe
check me in
start a stopwatch
start a timer
start a round of golf
translate this
learn a song
tune an instrument
play a game
start a workout
A. Use the Google recommended action commands.
B. Use lower case alphabets
C. Use action commands/verbs
D. For apostrophe use ‘&apos’ - or avoid using it 
Ex. What&apos;s on my wallet
More info >>
Slide# 23
File Name : mainActivity.java
1. Create a class variable at your main activity class.
res/xml/<my_voice_trigger>.xml
Slide# 24
2. Create a gesture detector object for the activity class and assign it to the mGestureDetector variable.
File Name : mainActivity.java
3. Finally implement the handlers.
res/xml/<my_voice_trigger>.xml
Slide# 25
More info >>
Thank You.
Works Cited:
http://www.google.com/glass/start/
http://www.google.com/glass/start/what-it-does/
https://developers.google.com/glass/tools-downloads/playground
http://www.brillen-sehhilfen.de/en/googleglass/
@GDGBaltimore
@dineshmd
Slide# 26.

More Related Content

What's hot

Android wear design principles
Android wear design principles Android wear design principles
Android wear design principles Skcript
 
Android study jams
Android study jamsAndroid study jams
Android study jamsGDSCIIITR
 
Ppt of tutorial android app
Ppt of tutorial android appPpt of tutorial android app
Ppt of tutorial android appDharmendra Saini
 
Week 1 - Android Study Jams
Week 1 - Android Study JamsWeek 1 - Android Study Jams
Week 1 - Android Study JamsJoannaCamille2
 
Project presentation (Loginradius SDK for Android)
Project presentation (Loginradius SDK for Android)Project presentation (Loginradius SDK for Android)
Project presentation (Loginradius SDK for Android)shwetarathi Rathi
 
Starting Native Development on Google Glass
Starting Native Development on Google GlassStarting Native Development on Google Glass
Starting Native Development on Google GlassLance Nanek
 
デブサミ2012 appinventorユーザー会
デブサミ2012 appinventorユーザー会デブサミ2012 appinventorユーザー会
デブサミ2012 appinventorユーザー会Takeaki Tada
 
Android + training + philippines
Android + training + philippinesAndroid + training + philippines
Android + training + philippineskerwin1116
 
An Overview of Google Glass GDK
An Overview of Google Glass GDKAn Overview of Google Glass GDK
An Overview of Google Glass GDKDave Slocombe
 
Debugging and Tuning Mobile Web Sites with Modern Web Browsers
Debugging and Tuning Mobile Web Sites with Modern Web BrowsersDebugging and Tuning Mobile Web Sites with Modern Web Browsers
Debugging and Tuning Mobile Web Sites with Modern Web BrowsersTroy Miles
 
Infinum iOS Talks #1 - Becoming an iOS developer swiftly by Vedran Burojevic
Infinum iOS Talks #1 - Becoming an iOS developer swiftly by Vedran BurojevicInfinum iOS Talks #1 - Becoming an iOS developer swiftly by Vedran Burojevic
Infinum iOS Talks #1 - Becoming an iOS developer swiftly by Vedran BurojevicInfinum
 
Getting Started with Android - OSSPAC 2009
Getting Started with Android - OSSPAC 2009Getting Started with Android - OSSPAC 2009
Getting Started with Android - OSSPAC 2009sullis
 
Android chat in the cloud
Android chat in the cloudAndroid chat in the cloud
Android chat in the cloudfirenze-gtug
 

What's hot (19)

Android wear design principles
Android wear design principles Android wear design principles
Android wear design principles
 
Android study jams
Android study jamsAndroid study jams
Android study jams
 
Ppt of tutorial android app
Ppt of tutorial android appPpt of tutorial android app
Ppt of tutorial android app
 
Cs4hs android-01hello
Cs4hs android-01helloCs4hs android-01hello
Cs4hs android-01hello
 
Week 1 - Android Study Jams
Week 1 - Android Study JamsWeek 1 - Android Study Jams
Week 1 - Android Study Jams
 
Project presentation (Loginradius SDK for Android)
Project presentation (Loginradius SDK for Android)Project presentation (Loginradius SDK for Android)
Project presentation (Loginradius SDK for Android)
 
Intro to Android Programming
Intro to Android ProgrammingIntro to Android Programming
Intro to Android Programming
 
Starting Native Development on Google Glass
Starting Native Development on Google GlassStarting Native Development on Google Glass
Starting Native Development on Google Glass
 
デブサミ2012 appinventorユーザー会
デブサミ2012 appinventorユーザー会デブサミ2012 appinventorユーザー会
デブサミ2012 appinventorユーザー会
 
Android + training + philippines
Android + training + philippinesAndroid + training + philippines
Android + training + philippines
 
Synapseindia android apps application
Synapseindia android apps applicationSynapseindia android apps application
Synapseindia android apps application
 
An Overview of Google Glass GDK
An Overview of Google Glass GDKAn Overview of Google Glass GDK
An Overview of Google Glass GDK
 
Debugging and Tuning Mobile Web Sites with Modern Web Browsers
Debugging and Tuning Mobile Web Sites with Modern Web BrowsersDebugging and Tuning Mobile Web Sites with Modern Web Browsers
Debugging and Tuning Mobile Web Sites with Modern Web Browsers
 
techSocAndroid1
techSocAndroid1techSocAndroid1
techSocAndroid1
 
Infinum iOS Talks #1 - Becoming an iOS developer swiftly by Vedran Burojevic
Infinum iOS Talks #1 - Becoming an iOS developer swiftly by Vedran BurojevicInfinum iOS Talks #1 - Becoming an iOS developer swiftly by Vedran Burojevic
Infinum iOS Talks #1 - Becoming an iOS developer swiftly by Vedran Burojevic
 
Effective Android UI - English
Effective Android UI - EnglishEffective Android UI - English
Effective Android UI - English
 
Getting Started with Android - OSSPAC 2009
Getting Started with Android - OSSPAC 2009Getting Started with Android - OSSPAC 2009
Getting Started with Android - OSSPAC 2009
 
Roadmap to Development
Roadmap to DevelopmentRoadmap to Development
Roadmap to Development
 
Android chat in the cloud
Android chat in the cloudAndroid chat in the cloud
Android chat in the cloud
 

Similar to Google Glass - An Intro presentation to conduct code lab events.

AN IDE FOR ANDROID MOBILE PHONES WITH EXTENDED FUNCTIONALITIES USING BEST DEV...
AN IDE FOR ANDROID MOBILE PHONES WITH EXTENDED FUNCTIONALITIES USING BEST DEV...AN IDE FOR ANDROID MOBILE PHONES WITH EXTENDED FUNCTIONALITIES USING BEST DEV...
AN IDE FOR ANDROID MOBILE PHONES WITH EXTENDED FUNCTIONALITIES USING BEST DEV...IJCNCJournal
 
Introduction To Android For Beginners.
Introduction To Android For Beginners.Introduction To Android For Beginners.
Introduction To Android For Beginners.Sandeep Londhe
 
Android Training in Chandigarh | Industrial Training in Android Apps Development
Android Training in Chandigarh | Industrial Training in Android Apps DevelopmentAndroid Training in Chandigarh | Industrial Training in Android Apps Development
Android Training in Chandigarh | Industrial Training in Android Apps DevelopmentBig Boxx Animation Academy
 
Easy steps to develop android application (tutorial)
Easy steps to develop android application (tutorial)Easy steps to develop android application (tutorial)
Easy steps to develop android application (tutorial)Dewan Razib
 
Reverse engineering Java et contournement du mécanisme de paiement inapp Android
Reverse engineering Java et contournement du mécanisme de paiement inapp AndroidReverse engineering Java et contournement du mécanisme de paiement inapp Android
Reverse engineering Java et contournement du mécanisme de paiement inapp AndroidJUG Lausanne
 
Creating the first app with android studio
Creating the first app with android studioCreating the first app with android studio
Creating the first app with android studioParinita03
 
Google Glass, the GDK, and HTML5
Google Glass, the GDK, and HTML5Google Glass, the GDK, and HTML5
Google Glass, the GDK, and HTML5Oswald Campesato
 
Push it! How to use Google Cloud Messaging in your Android App
Push it! How to use Google Cloud Messaging in your Android AppPush it! How to use Google Cloud Messaging in your Android App
Push it! How to use Google Cloud Messaging in your Android AppAchim Fischer
 
Introduction to Android - Mobile Portland
Introduction to Android - Mobile PortlandIntroduction to Android - Mobile Portland
Introduction to Android - Mobile Portlandsullis
 
Ionic - Revolutionizing Hybrid Mobile Application Development
Ionic - Revolutionizing Hybrid Mobile Application DevelopmentIonic - Revolutionizing Hybrid Mobile Application Development
Ionic - Revolutionizing Hybrid Mobile Application DevelopmentJustin James
 
Android Study Jam - Introduction
Android Study Jam - IntroductionAndroid Study Jam - Introduction
Android Study Jam - IntroductionHitanshDoshi
 
androidPramming.ppt
androidPramming.pptandroidPramming.ppt
androidPramming.pptBijayKc16
 
Android SDK and PhoneGap
Android SDK and PhoneGapAndroid SDK and PhoneGap
Android SDK and PhoneGapDoncho Minkov
 
Seminar on android app development
Seminar on android app developmentSeminar on android app development
Seminar on android app developmentAbhishekKumar4779
 

Similar to Google Glass - An Intro presentation to conduct code lab events. (20)

AN IDE FOR ANDROID MOBILE PHONES WITH EXTENDED FUNCTIONALITIES USING BEST DEV...
AN IDE FOR ANDROID MOBILE PHONES WITH EXTENDED FUNCTIONALITIES USING BEST DEV...AN IDE FOR ANDROID MOBILE PHONES WITH EXTENDED FUNCTIONALITIES USING BEST DEV...
AN IDE FOR ANDROID MOBILE PHONES WITH EXTENDED FUNCTIONALITIES USING BEST DEV...
 
Introduction To Android For Beginners.
Introduction To Android For Beginners.Introduction To Android For Beginners.
Introduction To Android For Beginners.
 
Android Training in Chandigarh | Industrial Training in Android Apps Development
Android Training in Chandigarh | Industrial Training in Android Apps DevelopmentAndroid Training in Chandigarh | Industrial Training in Android Apps Development
Android Training in Chandigarh | Industrial Training in Android Apps Development
 
Android - Getting started with Android
Android - Getting started with Android Android - Getting started with Android
Android - Getting started with Android
 
Easy steps to develop android application (tutorial)
Easy steps to develop android application (tutorial)Easy steps to develop android application (tutorial)
Easy steps to develop android application (tutorial)
 
Reverse engineering Java et contournement du mécanisme de paiement inapp Android
Reverse engineering Java et contournement du mécanisme de paiement inapp AndroidReverse engineering Java et contournement du mécanisme de paiement inapp Android
Reverse engineering Java et contournement du mécanisme de paiement inapp Android
 
Creating the first app with android studio
Creating the first app with android studioCreating the first app with android studio
Creating the first app with android studio
 
Android Stsucture
Android StsuctureAndroid Stsucture
Android Stsucture
 
Google Glass, the GDK, and HTML5
Google Glass, the GDK, and HTML5Google Glass, the GDK, and HTML5
Google Glass, the GDK, and HTML5
 
Push it! How to use Google Cloud Messaging in your Android App
Push it! How to use Google Cloud Messaging in your Android AppPush it! How to use Google Cloud Messaging in your Android App
Push it! How to use Google Cloud Messaging in your Android App
 
Introduction to Android - Mobile Portland
Introduction to Android - Mobile PortlandIntroduction to Android - Mobile Portland
Introduction to Android - Mobile Portland
 
Ionic - Revolutionizing Hybrid Mobile Application Development
Ionic - Revolutionizing Hybrid Mobile Application DevelopmentIonic - Revolutionizing Hybrid Mobile Application Development
Ionic - Revolutionizing Hybrid Mobile Application Development
 
Android Study Jam - Introduction
Android Study Jam - IntroductionAndroid Study Jam - Introduction
Android Study Jam - Introduction
 
Android tutorial1
Android tutorial1Android tutorial1
Android tutorial1
 
androidPramming.ppt
androidPramming.pptandroidPramming.ppt
androidPramming.ppt
 
Nativescript with angular 2
Nativescript with angular 2Nativescript with angular 2
Nativescript with angular 2
 
Android SDK and PhoneGap
Android SDK and PhoneGapAndroid SDK and PhoneGap
Android SDK and PhoneGap
 
Bird.pdf
 Bird.pdf Bird.pdf
Bird.pdf
 
Developing for Google Glass
Developing for Google GlassDeveloping for Google Glass
Developing for Google Glass
 
Seminar on android app development
Seminar on android app developmentSeminar on android app development
Seminar on android app development
 

Recently uploaded

Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsPrecisely
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 

Recently uploaded (20)

Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power Systems
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 

Google Glass - An Intro presentation to conduct code lab events.

  • 1. Dinesh Ganesan GDG Baltimore V 1.0 Development – Code labs
  • 2. WHAT IS GLASS? Wearable computing device that interacts with human digital information through natural language voice commands Experience the glass. Slide# 1.
  • 3. What it can do? Slide# 2.
  • 4. Slide# 3.  Integrated screen display – Semi Transparent.  Camera –to capture Video/Picture.  Mini-Projector – to display the visual.  Hidden battery inside the frame HOW DOES IT WORK?
  • 5. Application Model. Experience the glass. Slide# 4. 1. GDK : Similar to iOS/Android Native App 2. Mirror API: Similar to mobile web
  • 6. User Experience. Experience the timeline card. Slide# 5. Time Location Engagement Relevant Natural Language Gesture
  • 7. Gestures Experience the timeline card. Tap Wake up Natural Language Wink Slide# 6.
  • 8. Mirror vs GDK Learn more Slide# 7.
  • 9. Mirror API Dev Quick start : Mirror API Slide# 8. Required Tools :  Cloud based Mirror APIs.  Objects  Timeline  Subscriptions  Locations  Contacts  JSON
  • 10. Mirror - TestEnv Mirror Playground Slide# 9. Mirror Playground is the best online tool to validate the static card’s look and feel with JSON text. It has couple of pre-built templates for the beginners, and allows to create custom UI templates. All you need to do it just modify the JSON object with HTML tags.
  • 12. GDK Dev : Step1 Slide#  Install Android SDK  Subscribe GDK thru SDK Manager  Turn on ‘Debug’ in Glass SDK Quickstart 11
  • 13. GDK Dev : Step2 Slide#  Create a sample ‘Compass’ app.  Create/Download samples from the url https://github.com/harrywye/gdk demo/tree/master/apidemo  Compilation success? GDK DemoApps 12
  • 14. GDK Dev : Step3 Slide#  Create a new voice command.  Handling Gesture event.  Defining Context Menu. GDK DemoApps 13
  • 15. GDK Dev : Step4 Slide#  Navigation  How to set the Navigation mode. GDK DemoApps 14
  • 16. GDK Code SnippetsExperience Voice Command / Touch capability. Slide# 15.
  • 17. Step #1. Launch Android Eclipse Step #2. Click File -> New -> Android Project Step #3. Select ‘Android Sample Project’ Step #4. Click ‘Next’ Step #5. Select ‘Glass Development Kit Sneak Peek” Step #4 Step #5 Slide# 16.
  • 18. Step #6. Launch Android Eclipse Step #6 Yay! My 1st Glass – GDK project Created Slide# 17.
  • 19. Step #6. Launch Android Eclipse Step #6 Yay! My 1st Glass – GDK project Created Slide# 18
  • 20. “ok glass show a compass” Slide# 19.
  • 22. File Name : AndroidManifest.xml Q? What does it take to implement ‘Voice command’ in my App? 1. Add an intent filter. 2. Add a string in resvaluesstring.xml file. Slide# 21.
  • 23. File Name : res/xml/compass_show.xml 3. Add a XML for voice trigger. res/xml/<my_voice_trigger>.xml Q? How do I change ‘show a compass’ command ? Ans : Just modify the text in string.xml, in this case, modify the value of show_compass_voice_trigger node value from ‘show a compass’ into something ‘open my compass’. Slide# 22
  • 24. listen to take a note post an update show a compass start a run start a bike ride find a recipe record a recipe check me in start a stopwatch start a timer start a round of golf translate this learn a song tune an instrument play a game start a workout A. Use the Google recommended action commands. B. Use lower case alphabets C. Use action commands/verbs D. For apostrophe use ‘&apos’ - or avoid using it  Ex. What&apos;s on my wallet More info >> Slide# 23
  • 25. File Name : mainActivity.java 1. Create a class variable at your main activity class. res/xml/<my_voice_trigger>.xml Slide# 24 2. Create a gesture detector object for the activity class and assign it to the mGestureDetector variable.
  • 26. File Name : mainActivity.java 3. Finally implement the handlers. res/xml/<my_voice_trigger>.xml Slide# 25 More info >>