The Mirror API
Google has given developers two ways of developing apps (called “Glassware”) for Google Glass: The GDK (Glass Development Kit)—which gives you access to hardware, real-time interactions, and offline availability—and The Mirror API, which we are going to take a detailed look at now.
What Can It Do?
As mentioned in the previous chapter, the Mirror API allows developers to create Glassware using common programming languages like Java, Python, and PHP. All of the code is run on a server and then information is sent to Google Glass; there is no native code running on the device.
You can use both the GDK and Mirror API together, with the GDK accessing the hardware and the Mirror API managing the timeline/notifications/cards.