Questions tagged [google-mirror-api]

The Google Mirror API allows you to build web-based services that interact with Google Glass. It provides this functionality over a cloud-based API and does not require running code on Glass.

The Google Mirror API is the means through which web-based services interact with devices. Through it, applications can:

  • Manage timeline cards
  • Interact with menu items
  • Subscribe to timeline notifications
  • Share to contacts
  • Work with user location

Documentation

451 questions
21
votes
4 answers

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…
dcanh121
  • 4,665
  • 11
  • 37
  • 84
19
votes
5 answers

Is it possible to play with Google Mirror API without having the device?

I've been reading the documentation and playing at https://glass-java-starter-demo.appspot.com/ but it seems there is no way to further investigate since when following the instructions from https://developers.google.com/glass/playground at my…
Héctor García
  • 738
  • 4
  • 9
12
votes
1 answer

Are there any restrictions for using HTML tags in "html" field?

According to https://developers.google.com/glass/v1/reference/timeline#html one can use HTML. Are there any restrictions for using HTML tags in "html" field?
printminion
  • 2,988
  • 1
  • 26
  • 30
10
votes
2 answers

Hello World program for Google Glass - Step by Step

I started reading stuff on Google Glass development one week ago, including this. However, I still could not find a tutorial to develop a "complete hello world program". What I meant by "complete" is; where to get the API, how to set up the API, how…
Dongle
  • 602
  • 1
  • 8
  • 18
9
votes
4 answers

Coding for Google's Project Glass, is learning Google Android for mobile the way to go?

I am excited about the possibilities that come with Project Glass. Based on an article I read on the New York Times, they said it (Project Glass) will be based on the Android software - The glasses will use the same Android software that powers…
Julian
  • 1,853
  • 5
  • 27
  • 48
8
votes
1 answer

Glassware auth: android.accounts.OperationCanceledException "Sharing credentials is not allowed: canceling."

We're trying to implement GDK glassware auth; have uploaded our beta APK to the Google Glass team and successfully implemented our MyGlass login page. We are now attempting to access the token via the steps listed here:…
8
votes
2 answers

How can I launch Directions from GDK

I'd like to tie into the directions functionality on Glass, in a similar method to the Mirror API Get Directions menu. Is there a way of launching directions via a URI within a GDK application?
LewisBenge
  • 2,706
  • 16
  • 20
8
votes
1 answer

Mirror API Playground

When I enter my Client Id of an app that is authorized for Mirror API on the Mirror API Playground, and click Authorize, it opens an oAuth screen with an error: Error: origin_mismatch Request…
Cecilia Abadie
  • 345
  • 1
  • 7
8
votes
2 answers

Is it possible to register a top-level intent in the Mirror API?

Example "top-level actions" would be "Google," "take a picture," etc. Is it possible using the Mirror API to register a custom top-level event? "OK Glass, crunchify me." A secondary question I have is if it's possible to take user speech. Using the…
arjs
  • 2,835
  • 4
  • 22
  • 18
7
votes
2 answers

How to test Mirror API Subscriptions

The restrictions of a https callbackUrl and the nature of the subscriptions as a whole makes it seem like this is something that can only be done with a publicly accessible url. So far I have come across two potential solutions to make local…
jrundquist
  • 73
  • 4
7
votes
2 answers

The API package 'urlfetch' or call 'Fetch()' was not found

I am very new to Google App Engine (GAE) and Glassware development (for Google Glass). I configured mirror-quickstart-java project on Netbeans and Apache tomcat also I was successful in running the project but I am having trouble ahead. My…
Vishal Vyas
  • 2,571
  • 1
  • 22
  • 39
7
votes
1 answer

How do I send bundled cards all at the same time?

I've set up a Java application where I'm creating a bundle of 4 cards. The problem is that all the cards do not come in at once. Some times just one shows up, then a few seconds or minute later the other cards show up. How do I get them to all…
Pickles
  • 581
  • 3
  • 11
7
votes
2 answers

How do I send a message directly to my app?

My app added a sharing contact and I enabled it. I can share a picture to my app, but I can't send a message to my app because the contact does not show up in the 'ok glass, send message to ...' list. Is there some way to allow my app to be a 'real…
avh
  • 101
  • 3
6
votes
1 answer

How do you insert Google Glass Mirror credentials from python server side code?

I need some help completing the Mirror Credentials API insertion from my Python server code. We are using the Python Google API library to insert a special auth token into the Mirror API, but I'm getting a blank result from…
MikeN
  • 45,039
  • 49
  • 151
  • 227
6
votes
1 answer

Lot of delay in receiving timeline cards

In my case, the Glassware is inserting a jpeg image as a timeline card as a response to User's Voice query using "Take a note" Voice command. I keep waiting sometimes 10-15 mins before I see that timeline card on Glass. Sometimes, I see the inserted…
1
2 3
30 31