Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Google Glass Development
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
David Vávra
May 23, 2014
Technology
0
86
Google Glass Development
David Vávra
May 23, 2014
Tweet
Share
More Decks by David Vávra
See All by David Vávra
Doze Mode & App Standby in Android M
davidvavra
0
270
Android TV development
davidvavra
0
100
WearSquare: Introduction to Android Wear Design & Development
davidvavra
0
130
Android Wear Development
davidvavra
2
120
Other Decks in Technology
See All in Technology
Amazon Bedrock AgentCore EvaluationsでAIエージェントを評価してみよう!
yuu551
0
190
AI開発の落とし穴 〜馬には乗ってみよAIには添うてみよ〜
sansantech
PRO
10
5.5k
Tebiki Engineering Team Deck
tebiki
0
23k
Regional_NAT_Gatewayについて_basicとの違い_試した内容スケールアウト_インについて_IPv6_dual_networkでの使い分けなど.pdf
cloudevcode
1
190
小さく始めるBCP ― 多プロダクト環境で始める最初の一歩
kekke_n
0
110
2026年はチャンキングを極める!
shibuiwilliam
8
1.7k
AI時代、1年目エンジニアの悩み
jin4
1
130
【5分でわかる】セーフィー エンジニア向け会社紹介
safie_recruit
0
41k
AIとともに歩む情報セキュリティ / Information Security with AI
kanny
4
2.8k
あたらしい上流工程の形。 0日導入からはじめるAI駆動PM
kumaiu
4
600
日本語テキストと音楽の対照学習の技術とその応用
lycorptech_jp
PRO
1
380
みんなだいすきALB、NLBの 仕組みから最新機能まで総おさらい / Mastering ALB & NLB: Internal Mechanics and Latest Innovations
kaminashi
0
150
Featured
See All Featured
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
150
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.3k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.8k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.9k
Everyday Curiosity
cassininazir
0
120
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
110
The browser strikes back
jonoalderson
0
350
Thoughts on Productivity
jonyablonski
74
5k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
170
Why Our Code Smells
bkeepers
PRO
340
58k
Claude Code のすすめ
schroneko
67
210k
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
Transcript
David Vávra, Inmite Development for using Android GDK
None
None
None
None
None
None
None
None
None
None
None
None
Hardware
Demo time
4 principles of Glassware design
Design for Glass
Don’t get in the way
Keep it relevant
Avoid the unexpected
User interface: Timeline card • 640x360 px • black background,
given font sizes & colors • bundles
User interface - timeline
Immersions
Menus
None
GDK • Full API level 19 • no touch •
resolution 640x360 • no emulator • same API for Speech, Camera, Navigation, Browser, Location, Sensors
None
<style name="CustomTheme" parent= "@android:style/Theme.DeviceDefault" /> android { compileSdkVersion "Google Inc.:Glass
Development Kit Preview:19" …}
Card card1 = new Card(context); card1.setText("This card has a footer.");
card1.setFootnote("I'm the footer!"); View card1View = card1.getView();
res/xml/my_voice_trigger.xml <?xml version="1.0" encoding="utf-8"?> <trigger keyword="start my app" /> <uses-permission
android:name="com.google.android.glass.permission. DEVELOPMENT"/> <activity | service ...> <intent-filter> <action android:name="com.google.android.glass.action. VOICE_TRIGGER"/> </intent-filter> <meta-data android:name="com.google.android.glass.VoiceTrigger" android:resource="@xml/my_voice_trigger" /> </activity | service> AndroidManifest.xml
None
Menu The same onCreateOptionsMenu from Android SDK public class MainActivity
extends Activity { // ... @Override public boolean onKeyDown(int keyCode, KeyEvent event) { if (keyCode == KeyEvent.KEYCODE_DPAD_CENTER) { openOptionsMenu(); return true; } return super.onKeyDown(keyCode, event); } }
Live card
Creating live cards TimelineManager tm = TimelineManager.from(context); mLiveCard = tm.createLiveCard(LIVE_CARD_TAG);
mLiveCard.setViews(new RemoteViews(context.getPackageName(), R.layout.card_text)); mLiveCard.publish(LiveCard.PublishMode.REVEAL); // or SILENT
Updating live cards mRemoteViews.setTextViewText(R.id.text, "new message"); mLiveCard.setViews(mRemoteViews); Removing live cards
mLiveCard.unpublish();
Let’s dive into Glasquare code http://github.com/destil/glasquare
Distribution • adb install • MyGlass ◦ checklist: https://developers.google.com/glass/distribute/checklist ◦
design ◦ voice commands ◦ assets
None
Documentation • https://developers.google.com/glass • https://github.com/googleglass • http://stackoverflow. com/questions/tagged/google-gdk • https://code.google.com/p/google-glass-
api/issues/list
Q + A Follow me: http://google.com/+DavidVávra http://twitter.com/destil