Home

Google Project Glass API Details Emerge

Comments | Thomas Claburn, InformationWeek | March 13, 2013 09:06 AM


Google Chromebook Pixel: Visual Tour
Google Chromebook Pixel: Visual Tour
(click image for larger view and for slideshow)
Google has revealed more details about how Project Glass will work, providing developers with a sense of the kinds of applications they will be able to build for Google's Internet-connected eyewear.

Project Glass developer evangelist Timothy Jordan on Monday delved into the workings of Project Glass at the SXSW conference in Austin, Texas. The event was documented by Engadget in a live blog.

More Insights

Webcasts

More >>

White Papers

More >>

Reports

More >>

Google has been teasing developers and the public with glimpses at Project Glass over the past few months, in preparation for the launch of the first iteration of its spectacles, Glass Explorer Edition, in "early 2013."

In late January and early February, the company held invitation-only Glass Foundry events for developers in San Francisco and New York to introduce its Mirror API, used to write code that connects third-party apps and services to Google's servers, which communicate with Glass devices.

[ Want to know how Google tests its disaster readiness? Read Google Vs. Zombies -- And Worse. ]

Though Google previously disclosed that the Project Glass Mirror API would rely on RESTful data transport, Jordan's presentation delved into more detail.

The Project Glass interface is built around the concept of a timeline. Users can swipe backward and forward along the touchpad on the Glass frame to navigate through timeline cards associated with Glass events. Those old enough to have seen Apple's Hypercard technology (1987-2004) should recognize the concept immediately. As a matter of UI design, there's also some similarity to Apple's Cover Flow and Mirror Worlds' Scopeware.

A timeline card, which can contain an image, text, audio or video, can be inserted on a Glass user's timeline with an HTTP Post command. Get and Update (Put) actions are also supported. Message encoding is done using JSON. In code, a sample text message would be sent to Google in the form { "text" : "Your ad here"}, preceded by the appropriate HTTP header. HTML markup can be sent as well, to provide more a visually appealing design.

Timeline cards support a few parameters that affect the mode of presentation. Formatted thus -- { "text" : "Your ad here", "cardOptions" : [{ "action" : "READ_ALOUD" }] } -- a Glass user would hear the message read back using a text-to-speech voice. If nothing else, Project Glass has a bright future as an accessory for guided museum tours.

Google is also providing a shareEntities function for distributing content viewed in Glass to Google+.

The mechanism for Glass users to communicate with third-party services is called Subscriptions. Code that sends a Subscription command transmits a timeline collection -- a set of Glass timeline cards -- back to Google and then to the subscribed service. The transmission includes a callback URL to trigger some processing function at the receiving service.

Among the third-party applications shown communicating with Project Glass were Gmail, Evernote, Path and Skitch.

Jordan stressed the need to design applications for Glass rather than attempting to port them from, say, a mobile phone or tablet app. Glass apps should communicate selectively, without overloading the user or getting in the way. Good luck getting marketers to stick to subtlety.



Related Reading




Currently we allow the following HTML tags in comments:

Single tags

These tags can be used alone and don't need an ending tag.

<br> Defines a single line break

<hr> Defines a horizontal line

Matching tags

These require an ending tag - e.g. <i>italic text</i>

<a> Defines an anchor

<b> Defines bold text

<big> Defines big text

<blockquote> Defines a long quotation

<caption> Defines a table caption

<cite> Defines a citation

<code> Defines computer code text

<em> Defines emphasized text

<fieldset> Defines a border around elements in a form

<h1> This is heading 1

<h2> This is heading 2

<h3> This is heading 3

<h4> This is heading 4

<h5> This is heading 5

<h6> This is heading 6

<i> Defines italic text

<p> Defines a paragraph

<pre> Defines preformatted text

<q> Defines a short quotation

<samp> Defines sample computer code text

<small> Defines small text

<span> Defines a section in a document

<s> Defines strikethrough text

<strike> Defines strikethrough text

<strong> Defines strong text

<sub> Defines subscripted text

<sup> Defines superscripted text

<u> Defines underlined text

BYTE encourages readers to engage in spirited, healthy debate, including taking us to task. However, BYTE moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing/SPAM. BYTE further reserves the right to disable the profile of any commenter participating in said activities.

COMMENTS

Tune In to BYTE
Facebook Twitter LinkedIn Newsletter RSS
Whitepapers
whitepaper
In this paper you will learn the five trends shaping the future of enterprise mobility. Learn how the rise of social media as a business application, the lurring between work and home, the emergence of new mobile devices, the demand for tech savvy employees and changing expectations of corporate IT will fundamentally change the workplace.
whitepaper
In a survey of more than 1,700 information workers (iWorkers) in North America, notebooks, desktops, and smartphones were found to be “must-have” devices, while tablets, slates, and netbooks were relegated to “nice-to-have” status, according to a commissioned study conducted by Forrester Consulting on behalf of Dell and Intel.
Sponsored by: Dell
Upcoming Events