SlideShare uma empresa Scribd logo
1 de 77
Baixar para ler offline
8

b

[

a

K

5
>
• GlassCamp : le principe, la communauté, les règles à respecter
• Fonctionnement des Glass
• Penser une application Google Glass
• WearScript JS
• GDK (ou Glassware Development Kit)

• Echange libre
• Test des Google Glass
• #Glasscamp
• @glasscamp

• @niji_digital
• @Juli3nD3v
• @dhbismuth
• @mathemagie
• @yanntolila
• @Kamaxe
Développeur :
• IOS
• Android
• Drupal 7
• Symfony 2

Envois un mail à dhbismuth@gmail.com
[

Présentation du groupe
DESIGNER

COLLABORER

Y
• DES MEETUP
• DES CONFÉRENCES
• UN HACKATON LE 17 JANVIER 2014

http://glasscamp.org/apply
02/2012

03/2013

04/2013

Début 2014

Lancement du projet
#IfihadGlass:

Distribution des premières
Google Glass aux personnes
sélectionnées

Livraison du SDK « Mirror API »

Lancement
des Google Glass
A

B

C

D

E
Contrôle vocal

Contrôle tactile

•
•
•
Les cartes de la timeline

Navigation dans la timeline
1. Landing page de l’application

2. Personnalisation des notifications

3. Début des notifications
PENSER L’INSTANT PRÉSENT
LE CONTEXTE, LE CONTEXE ET LE CONTEXTE
Contenu
Contexte

Usage

Contexte

Contenu
Usage
Contexte

Contenu

Usage

Lieu
Date
Historique
Préférences
Présence d’autres
Offre en cours
Météo
Cours de la bourse
Prochain métro
Tube du moment
…
ENRICHIR LA VIE DE SES UTILISATEURS
DONNER LA BONNE INFO AU BON MOMENT
MISER SUR L’INTERACTIVITÉ
USER INTERFACE

A
USER INTERFACE – THE TIMELINE
USER INTERFACE – THE TIMELINE
A
USER INTERFACE

B
USER INTERFACE – ONGOING TASKS
USER INTERFACE - ONGOING TASKS

B
Z
Wearscript (BrandynWhite)
A rapid prototyping
solution

Aurélien Fache @mathemagie
●
●
●
●
1/ Setup

OpenCV.apk
launchy.apk
CaptureActivity.apk
wearscript.apk

Linux (dedicated
hosting)
apt-get install golang
git
mercurial redis-server
+
http://golang.org/
LISTEN on 8080

JS + HTML (canvas, etc)
WS
2/ Authentification
http://mathemagie.net:8080/
JS API REFERENCE:

● SENSORS : pupil, gps, accelerometer, magneticField,
orientation, gyroscope, light, rotationVector, gravity
● CAMERA (PHOTO, VIDEO)
● WIFI (ON, OFF, SCAN)
● QR code scanner, Text-to-speech
● TIMELINE, CARD MANAGEMENT
● Gesture Recognition : SWIPE_DOWN, LONG_PRESS, etc etc
Les briques s’imbriquent
!
Ivan E. Sutherland
The ultimate
display (1965)
STEVE MANN
Thad Starner

“REDUCE THE TIME BETWEEN INTENTION AND ACTION”
Alan kay
Z
Une librairie
Un Add-On
Android SDK Manager

…android-sdk/add-ons/addon-google_gdk-google15/libs/gdk.jar
12 classes
1 interface
res/xml/voice_trigger_legorafi
<?xml version="1.0” encoding="utf-8"?>
<trigger keyword=”Le Gorafi”>
<input prompt=”A la une" />
</trigger>

AndroidManifest.xml
<activity
android:name=".ui.glass.HomeGlassActivity" >
<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/voice_trigger_legorafi"/>
</activity>
Appears in
the timeline

Access to
user input

Control
over user
interface

Major uses

Yes

No

No, must be
in the form
of aCard

Information
display
without user
interaction

Yes

Yes, but
timeline
takes
precedence

Yes, no
restrictions

Rich and
live content
with low
user
interaction

No

Yes, no
restrictions

Yes, no
restrictions

Rich and
live content
with high
user
interaction

Static
Cards

Live Cards

Immersions
Création de la carte
Card card = new Card(this);
card.setText("Content");
card.setFootnote("Footnote");
card.addImage(R.drawable.ic_niji);
TimelineManager timelineManager = TimelineManager.from(this);
timelineManager.insert(card);

Mais aussi, update, delete, query…
Création du service
Intent intent = TvPlayerService.getIntent(this,
TvPlayerService.ACTION_PLAY);
startService(intent);
finish();
Création de la carte
mLiveCard = mTimelineManager.createLiveCard(LIVE_CARD_ID);
mLiveCard.setDirectRenderingEnabled(true).getSurfaceHolder().addCallback(
mMediaPlayerDrawer);
Intent menuIntent = new Intent(this, TvMenuActivity.class);
mLiveCard.setAction(PendingIntent.getActivity(this, 0, menuIntent, 0));
mLiveCard.publish(LiveCard.PublishMode.REVEAL);
Création du menu – res/menu/activity_tv_menu.xml
<?xml version="1.0" encoding="utf-8"?>

<menu xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:id="@+id/menu_stop"
android:title="Stop"
android:icon="@drawable/ic_stop" />
</menu>

TvMenuActivity.java
@Override
public boolean onCreateOptionsMenu(Menu menu) {
MenuInflater inflater = getMenuInflater();
inflater.inflate(R.menu.activity_tv_menu, menu);
return true;
}
…
@Override
public void onResume() {
super.onResume();
openOptionsMenu();
}

…

@Override
public boolean onOptionsItemSelected(MenuItem item) {
// Handle item selection.
switch (item.getItemId()) {
case R.id.menu_stop:
stopService(new Intent(this, TvPlayerService.class));
return true;
default:
return super.onOptionsItemSelected(item);
}
}
TOUT EST
POSSIBLE !
mGestureDetector = createGestureDetector(this);
mCardScrollView = new CardScrollView(this) {
@Override
public final boolean dispatchGenericFocusedEvent(MotionEvent event) {
if (mGestureDetector.onMotionEvent(event)) {
return true;
}
return super.dispatchGenericFocusedEvent(event);
}
};
MyAdapter myAdapter = new MyAdapter();
mCardScrollView.setAdapter(myAdapter);
setContentView(mCardScrollView);
GestureDetector gestureDetector = new GestureDetector(context);
//Create a base listener for generic gestures
gestureDetector.setBaseListener( new GestureDetector.BaseListener() {
@Override
public boolean onGesture(Gesture gesture) {
Log.d("onGesture", gesture.name());
if (gesture == Gesture.TAP) {
// do something on tap
return true;
} else if (gesture == Gesture.TWO_TAP) {
// do something on two finger tap
return true;
} else if (gesture == Gesture.SWIPE_RIGHT) {
// do something on right (forward) swipe
return false;
} else if (gesture == Gesture.SWIPE_LEFT) {
// do something on left (backwards) swipe
return false;
}
return false;
}
});
CAPTURE VIDEO
AFFICHAGE RÉALITÉ AUGMENTÉE
GPS
CAPTEUR DE MOUVEMENT
VOICE RECOGNITION
COLOR RECOGNITION
…
ju.vermet@gmail.com
Z
GDK ?
SEUL ?

WEARSCRIPT

MIRROR API

EMULATEUR SUR
SMARTPHONE ANDROID

PLAYGROUND

+
t

@glasscamp
@dhbismuth
@mathemagie
@yanntolila
@KamaXe
Consultant en stratégie numérique au sein de Niji

david-henri.bismuth@niji.fr

Consultant en stratégie numérique au sein de Niji

Yann.tolila@niji.fr

Etudiant à la Web School Factory
Merci à nos
sponsors

Mais conteúdo relacionado

Destaque

Exmo Meet the Teacher 2015
Exmo Meet the Teacher 2015Exmo Meet the Teacher 2015
Exmo Meet the Teacher 2015haigles
 
Andrew Goodwin's Theory - Media Studies
Andrew Goodwin's Theory - Media StudiesAndrew Goodwin's Theory - Media Studies
Andrew Goodwin's Theory - Media Studiesalicegoodwinmedia
 
Medea Melea - Cannes Film Festival 2015
Medea Melea - Cannes Film Festival 2015Medea Melea - Cannes Film Festival 2015
Medea Melea - Cannes Film Festival 2015Leslie Bianchi
 
China Product Management
China Product ManagementChina Product Management
China Product ManagementSarvesh Mishra
 
Imaginary Fiend - Cannes Film Festival 2015
Imaginary Fiend - Cannes Film Festival 2015Imaginary Fiend - Cannes Film Festival 2015
Imaginary Fiend - Cannes Film Festival 2015Leslie Bianchi
 
Fast Fish Forum - join the movement!
Fast Fish Forum - join the movement!Fast Fish Forum - join the movement!
Fast Fish Forum - join the movement!Jurie Schoeman
 
Understanding fractions quiz review
Understanding fractions quiz reviewUnderstanding fractions quiz review
Understanding fractions quiz reviewhaigles
 
Defence industry in india
Defence industry in indiaDefence industry in india
Defence industry in indiaSarvesh Mishra
 

Destaque (12)

Mise en-scene
Mise en-scene Mise en-scene
Mise en-scene
 
Exmo Meet the Teacher 2015
Exmo Meet the Teacher 2015Exmo Meet the Teacher 2015
Exmo Meet the Teacher 2015
 
Andrew Goodwin's Theory - Media Studies
Andrew Goodwin's Theory - Media StudiesAndrew Goodwin's Theory - Media Studies
Andrew Goodwin's Theory - Media Studies
 
Medea Melea - Cannes Film Festival 2015
Medea Melea - Cannes Film Festival 2015Medea Melea - Cannes Film Festival 2015
Medea Melea - Cannes Film Festival 2015
 
Psc 433 paper
Psc 433 paperPsc 433 paper
Psc 433 paper
 
Question 5 - Answer
Question 5 - Answer Question 5 - Answer
Question 5 - Answer
 
China Product Management
China Product ManagementChina Product Management
China Product Management
 
Imaginary Fiend - Cannes Film Festival 2015
Imaginary Fiend - Cannes Film Festival 2015Imaginary Fiend - Cannes Film Festival 2015
Imaginary Fiend - Cannes Film Festival 2015
 
Fast Fish Forum - join the movement!
Fast Fish Forum - join the movement!Fast Fish Forum - join the movement!
Fast Fish Forum - join the movement!
 
Understanding fractions quiz review
Understanding fractions quiz reviewUnderstanding fractions quiz review
Understanding fractions quiz review
 
Through The Doors
Through The DoorsThrough The Doors
Through The Doors
 
Defence industry in india
Defence industry in indiaDefence industry in india
Defence industry in india
 

Semelhante a Google Glass Meetup 3/3 - 8 Janvier 2014

Basics of the Google Glass programming
Basics of the Google Glass programmingBasics of the Google Glass programming
Basics of the Google Glass programmingMiki Yutani
 
Android Accessibility for Everyone
Android Accessibility for EveryoneAndroid Accessibility for Everyone
Android Accessibility for Everyone경완 강
 
Being Epic: Best Practices for Android Development
Being Epic: Best Practices for Android DevelopmentBeing Epic: Best Practices for Android Development
Being Epic: Best Practices for Android DevelopmentReto Meier
 
Android N Highligts
Android N HighligtsAndroid N Highligts
Android N HighligtsSercan Yusuf
 
Wearable Development Ecosystem
Wearable Development EcosystemWearable Development Ecosystem
Wearable Development EcosystemAmish Gandhi
 
eBook - Developing Applications for Google Glass
eBook - Developing Applications for Google Glass eBook - Developing Applications for Google Glass
eBook - Developing Applications for Google Glass Unvired Inc.
 
WebCamp Zagreb 2014 mirror api
WebCamp Zagreb 2014   mirror apiWebCamp Zagreb 2014   mirror api
WebCamp Zagreb 2014 mirror apidselmanovic
 
Google Glass, the GDK, and HTML5
Google Glass, the GDK, and HTML5Google Glass, the GDK, and HTML5
Google Glass, the GDK, and HTML5Oswald Campesato
 
GOOGLE GLΛSS By Google X and Google.inc
GOOGLE GLΛSS By Google X and Google.incGOOGLE GLΛSS By Google X and Google.inc
GOOGLE GLΛSS By Google X and Google.incMujeeb Rehman
 
DevFest Kuala Lumpur - Implementing Google Analytics - 2011-09-29.ppt
DevFest Kuala Lumpur - Implementing Google Analytics - 2011-09-29.pptDevFest Kuala Lumpur - Implementing Google Analytics - 2011-09-29.ppt
DevFest Kuala Lumpur - Implementing Google Analytics - 2011-09-29.pptVinoaj Vijeyakumaar
 
A Noob’S Guide To Android Application Development
A Noob’S Guide To Android Application DevelopmentA Noob’S Guide To Android Application Development
A Noob’S Guide To Android Application DevelopmentZi Yong Chua
 
Browserscope oscon 2011
Browserscope oscon 2011Browserscope oscon 2011
Browserscope oscon 2011lsimon
 
Experience with Google Glass and Business Applications
Experience with Google Glass and Business ApplicationsExperience with Google Glass and Business Applications
Experience with Google Glass and Business ApplicationsMarkus Van Kempen
 
What's new in Android at I/O'16
What's new in Android at I/O'16What's new in Android at I/O'16
What's new in Android at I/O'16Elif Boncuk
 

Semelhante a Google Glass Meetup 3/3 - 8 Janvier 2014 (20)

First8 / AMIS Google Glass scanner development
First8 / AMIS Google Glass scanner development First8 / AMIS Google Glass scanner development
First8 / AMIS Google Glass scanner development
 
12206857
12206857 12206857
12206857
 
Basics of the Google Glass programming
Basics of the Google Glass programmingBasics of the Google Glass programming
Basics of the Google Glass programming
 
Android Accessibility for Everyone
Android Accessibility for EveryoneAndroid Accessibility for Everyone
Android Accessibility for Everyone
 
Google glass
Google glassGoogle glass
Google glass
 
Droidcon Paris 2015
Droidcon Paris 2015Droidcon Paris 2015
Droidcon Paris 2015
 
Being Epic: Best Practices for Android Development
Being Epic: Best Practices for Android DevelopmentBeing Epic: Best Practices for Android Development
Being Epic: Best Practices for Android Development
 
Android N Highligts
Android N HighligtsAndroid N Highligts
Android N Highligts
 
Wearable Development Ecosystem
Wearable Development EcosystemWearable Development Ecosystem
Wearable Development Ecosystem
 
eBook - Developing Applications for Google Glass
eBook - Developing Applications for Google Glass eBook - Developing Applications for Google Glass
eBook - Developing Applications for Google Glass
 
Google analytics
Google analyticsGoogle analytics
Google analytics
 
WebCamp Zagreb 2014 mirror api
WebCamp Zagreb 2014   mirror apiWebCamp Zagreb 2014   mirror api
WebCamp Zagreb 2014 mirror api
 
Google Glass, the GDK, and HTML5
Google Glass, the GDK, and HTML5Google Glass, the GDK, and HTML5
Google Glass, the GDK, and HTML5
 
Android development first steps
Android development   first stepsAndroid development   first steps
Android development first steps
 
GOOGLE GLΛSS By Google X and Google.inc
GOOGLE GLΛSS By Google X and Google.incGOOGLE GLΛSS By Google X and Google.inc
GOOGLE GLΛSS By Google X and Google.inc
 
DevFest Kuala Lumpur - Implementing Google Analytics - 2011-09-29.ppt
DevFest Kuala Lumpur - Implementing Google Analytics - 2011-09-29.pptDevFest Kuala Lumpur - Implementing Google Analytics - 2011-09-29.ppt
DevFest Kuala Lumpur - Implementing Google Analytics - 2011-09-29.ppt
 
A Noob’S Guide To Android Application Development
A Noob’S Guide To Android Application DevelopmentA Noob’S Guide To Android Application Development
A Noob’S Guide To Android Application Development
 
Browserscope oscon 2011
Browserscope oscon 2011Browserscope oscon 2011
Browserscope oscon 2011
 
Experience with Google Glass and Business Applications
Experience with Google Glass and Business ApplicationsExperience with Google Glass and Business Applications
Experience with Google Glass and Business Applications
 
What's new in Android at I/O'16
What's new in Android at I/O'16What's new in Android at I/O'16
What's new in Android at I/O'16
 

Google Glass Meetup 3/3 - 8 Janvier 2014