Live data from Hacker News

Google Glass API Documentation

developers.google.com

31–40 of 81 posts

Re: Google Glass API Documentation

#31

  The Google Mirror API allows you to build web-based services, called Glassware, that interact with Google Glass. It provides this functionality over a cloud-based API and does not require running code on Glass.
This API is focused on pushing info to Glass, rather than interaction (which I assume will be later)

Re: Google Glass API Documentation

#32

I've been a Google Glass skeptic. But I just got back from Mexico, where I was walking all over waving my phone at various signs so Word Lens could translate them for me... skeptic no more! Word Lens is a killer app for the platform. Except now I see that there's no API to access the camera. Seems like a huge mistake.

One of their example API uses includes users taking photo's with the built in camera and sharing them with your service. See "add a cat to that" https://developers.google.com/glass/stories

Re: Google Glass API Documentation

#34
post #15
post #6

What would be nice is if Google released an Android app that does the same thing as Glass (ie. location updates and push notifications), for testing purposes. It wouldn't be as nifty as having the thing on your head, but pretty much all the use cases covered by the API would work on that.

They do, sort of: https://developers.google.com/glass/playground It's a jsfiddle-like sandbox that behaves like a Glass (device) frontend.

Yeah, I assume that works if you want to test how cards display, though there does not seem to be any interaction.

Considering the API only allows viewing cards, taking pictures, sending your current location and taking textual input, there's nothing that prevents them to have a glass implementation on Android to test things out, other than the time/resources to develop such an implementation.

Re: Google Glass API Documentation

#35

Is anyone else having issues accessing the API? https://code.google.com/p/google-glass-api/issues/detail?id=...

Yeah, having the same issue. Initially, I thought it was US only, but even with a VPN and fake US account it doesn't work.

Re: Google Glass API Documentation

#37
post #7

I can't find any info on how to write a Glass app that actually interacts with the camera or does geolocation. Am I missing something?

This might be what you're looking for: https://developers.google.com/glass/media-upload

Parent's link is how to get media onto the Glass device. Here is how you get media from the Glass to your server: https://developers.google.com/glass/v1/reference/timeline/at...

Re: Google Glass API Documentation

#39
post #8

Apparently, it is possible to setup your future Google Glass today : https://glass.google.com/setup

I mean, you can go through and set up your network... but the setup process gets blocked when you need your actual device to sync.

> but the setup process gets blocked when you need your actual device to sync

Not entirely, it's obvious that it's just pinging some endpoint for a protocol buffer. The server will return a protocol buffer with a "continue" message, but you can just spoof that.

Also: who will get the first glass xss bounty?

Re: Google Glass API Documentation

#40

"Each step in human technological advancement provides improved methods for the distribution of cat photos. Project Glass is no different." On a slightly more serious note, I'm glad to see this since I feared that they might keep the API for later, instead opting to try and make a "product" first (a la iPhone 1 or Google+). This API is definitely not what I was envisioning though - I expected another API add-on to An…

I was also fairly disappointed, it looks like 5 out of 5 of my ideas for what I wanted to do with Glass can't be done with this API. But I'm hoping they wanted to get some basic / easier to implement API out as fast as possible while still working on more interesting support on a side (native apps, in particular).

[deleted]
Post reply on HN