Mirror API or GDK?
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.
How do I get started?
Source code and instructions are here:
Where can I deploy this app?
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
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:
heroku deploy:war --war target/[appName].war --app appName
But how do I test without glasses?
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
So what does your app do?
Not much :)
It’s the “Quick Start” plus some basic functionality I added to test my own
Can we see some code now?