Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the difference between Glass Mirror API and Google GDK?

What is the difference between Glass Mirror API and Google GDK?

Google has announced the GDK here: https://developers.google.com/glass/gdk

but they haven't exposed any new features specific to Glass yet. How do we actually use the Google GDK?

Looking at the examples listed on the above link, we can create APKs, load APKs onto Glass and launch them using adb shell but is there a complete app or example anywhere?

like image 512
dcanh121 Avatar asked Aug 14 '13 20:08

dcanh121


2 Answers

The difference between the Mirror API and the forthcoming GDK boils down to where the application being written will run.

The Mirror API specifies how a web-based application will communicate with Google's servers to send updates to a user's Glass and how it will receive notifications when the user takes an action (such as a share, or a location change) that is directed at the Glassware.

The GDK is intended for applications that will run on Glass itself and have more low-level access to the sensors and to the underlying Android environment that Glass is built on top of. Google has not released the GDK yet - that page is where it will be released, and provides some early "getting started" concepts for developers who are interested in building native apps that run on Glass.

like image 115
Prisoner Avatar answered Nov 08 '22 16:11

Prisoner


GDK has not been launched yet, so you cannot actually use it right now.

GDK will allow you to work directly on the Glass device using your Android development skills whereas Mirror API is a cloud/web-based API for interacting with a user's timeline only. See Prisoner's answer for more detail on this.

Because GDK has not been released yet, "complete" apps and examples do not exist. There are three samples (Compass, Level, and Stopwatch) listed on the link that you posted. The page says that these samples will eventually be updated into a "full Glass experience" when GDK is launched.

When we launch the GDK, we'll also update these samples to show the migration path from a traditional Android app to a full Glass experience. Make sure to check regularly for updates

like image 4
J Wang Avatar answered Nov 08 '22 17:11

J Wang