11
Google Glass Hello World+ getting started with google glass - by John Tubert Hello World Toast by oskay on Flickr

Getting started with google glass

Embed Size (px)

DESCRIPTION

Small presentation about my initial experience with Google Glass

Citation preview

Page 1: Getting started with google glass

Google Glass Hello World+getting started with google glass - by John Tubert

Hello World Toast by oskay on Flickr

Page 2: Getting started with google glass

Google Glass? What is that?

Page 3: Getting started with google glass

GDK - Glass Development Kit, is very similar to building android apps. This apps run directly on Glass.Mirror API - Is just a series of web services that are delivered to the device as HTML cards. This does not require to install anything on the device.You can communicate with the mirror API using your language of choice.Currently available:● Go● Java● .Net● PHP● Python● Ruby

Mirror API or GDK?

http://www.mobilexweb.com/blog/google-glass-web-mirror-api-html5

Page 4: Getting started with google glass

How does the Mirror API work?

Page 5: Getting started with google glass

Source code and instructions are here:

https://developers.google.com/glass/develop/mirror/quickstart/index

How do I get started?

http://phandroid.com/2013/04/30/google-glass-walkthrough-video/

Page 6: Getting started with google glass

Mirror API apps do not get deploy on the Glass device. The app should leave on a webserver and communicate to the Glasses via the API.

I deployed my “hello world” app to Heroku. All I had to do is make a few changes to the Maven POM file to generate the war file.

Three simple commands:● mvn package● mvn war:war● heroku deploy:war --war target/[appName].war --app appName

Where can I deploy this app?

Page 7: Getting started with google glass

Google Playground:https://developers.google.com/glass/tools-downloads/playground?hl=en

Q: Can you test all features?A: Not really but enough to get started.

● You can test how your HTML cards look● You cannot reply● Does not support bundles

But how do I test without glasses?

Page 8: Getting started with google glass

Not much :)

It’s the “Quick Start” plus some basic functionality I added to test my own webservice.

DEMO

So what does your app do?

Page 9: Getting started with google glass

index.jsp

MainServlet.java

Can we see some code now?

Page 10: Getting started with google glass

But where is your code?

Page 11: Getting started with google glass

Can we see it now on Glass?

Sure, find this guy ->