2. WHAT IS GLASS?
Wearable computing device that interacts with
human digital information through natural
language voice commands
Experience the glass. Slide# 1.
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?
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.
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'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 >>