33. Mirror API
• Periodic notifications & Static Card
(Push notifications)
• RESTful API
• Choose a favorite language you like
Go Java .Net PHP Python Ruby
34.
35. Mirror API 可以做到
• 可⾃自由抽換⾃自⼰己建⽴立的 Static Card
• 聯絡⼈人(分享的對象)
• 語⾳音指令 (eg: Take a note)
• Location updates
36. Mirror API - OAuth Settings
• Google Developers Console
• 勾選 Mirror API
• 設定OAuth Client ID
37.
38.
39. Tips for Mirror API (PHP)
• Edited: $api_simple_key 不需要了
• 沒有 DNS 域名? ⽤用 DNS 反解吧
$ nslookup 114.42.21.220
Server: 10.100.83.253
Address: 10.100.83.253#53
Non-authoritative answer:
220.21.42.114.in-addr.arpa name = 114-42-21-220.dynamic.hinet.net.
http://114-42-21-220.dynamic.hinet.net/
40. Mirror API - OAuth Settings
• APPLICATION TYPE
• Web application
• AUTHORIZED JAVASCRIPT ORIGINS
• http://114-42-21-220.dynamic.hinet.net/
• AUTHORIZED REDIRECT URI
• http://114-42-21-220.dynamic.hinet.net/mirrorapi/
oauth2callback.php
51. Glass development
• Glass Development Kit (GDK)
• Ongoing task & Live Card (活動卡⽚片,即時卡⽚片)
• Low Frequency Rendering
• High Frequency Rendering
• Immersion (沉浸式體驗,獨佔式體驗)
55. VoiceTriggers.Command
• add an event
• calculate
• call me a car
• capture a panorama
• check me in
• check this out
• control my car
• control my home
• explore nearby
• explore the stars
• find a bike
• find a dentist
• find a doctor
• find a hospital
• find a passage
• find a place
• find a place to stay
• find a product
• find a recipe
• find a video
• find a website
• find reviews
• find the exchange rate
• find the price
• flip a coin
• give me feedback
• help me sign in
• keep me awake
• learn an instrument
• learn a song Pick one you like !
57. Layout
•Screen Size: 640 x 320
•Padding: 40 x 40
•Bottom Bar: 560 x 40
• https://developers.google.com/glass/develop/gdk/ui-widgets
• https://developers.google.com/glass/design/style
80. Product descriptions
Glassware
• A simple app that showed the current battery
level of glass. Unlike the percentage in
settings page, this app will response with
voice directly. Hopes you will like it!
Glass
81. Product descriptions
• 區分 Android app vs. the Glassware.
• Use Glass trademark
• Glass™
• Glass is a trademark of Google Inc.