Questions tagged [google-glass]

Google Glass is a project to create a commercially-viable, next-generation wearable smart device in the form of a pair of glasses featuring a head-mounted display. The product allows users to interact with the device via voice and allows other smartphone-like functionality. Google Glass runs on Android with additional APIs for developers.

Google Glass is a research and development program by Google to develop an augmented reality head-mounted display (HMD). Google Glass runs and displays information in smartphone-like format hands-free and interacts with the Internet via natural language voice commands. The prototype's functionality and minimalist appearance (aluminium strip with 2 nose pads) has been compared to Steve Mann's EyeTap. (from wikipedia)

1569 questions
3
votes
0 answers

not getting a response from httpRequest when trying to post to timeline google glass

`require('../config.php'); require('../HttpPost.class.php'); if(isset($_GET['code'])) { $code = $_GET['code']; $url = 'https://accounts.google.com/o/oauth2/token'; $params = array( "code" => $code, "client_id" => $oauth2_client_id, …
Chirag
  • 335
  • 2
  • 3
  • 13
3
votes
1 answer

Voice Command Checklist - GDK

I've looked through the Voice Command Checklist documentation I launch my glassware using a "take a shortcut" voice command. In string.xml I have: take a shortcut In AndroidManifest.xml I have:
3
votes
1 answer

Where is the auto-resizable TextView used in the GDK Card class?

So the GDK provides the Card class which is quite nice for creating cards at runtime. Especially useful is the setText() method for cards which automatically sets the font size to best fit the card, based on the amount of text and the available…
johnarleyburns
  • 1,532
  • 12
  • 13
3
votes
1 answer

when is a SurfaceView created from a layout (programmatically)?

I wonder when a SurfaceView is actually created, from a layout? this is in a scenario where a layout is created from a Service for a LiveCard on Google Glass - thus there is no activity for which this layout can be set using setContentView(). still,…
Ákos Maróy
  • 919
  • 2
  • 10
  • 19
3
votes
1 answer

Google Glass stream video to server

I'm trying to build an app for Google Glass that can stream to a server and have a client view the stream via a web browser. So far it seems I need to do this via RTSP to a media server such as Wowza and then have a web server hosting some video…
egfconnor
  • 2,637
  • 1
  • 26
  • 44
3
votes
1 answer

How do i display a progress bar for CardScrollView in Google Glass?

So I've got my little beginning of an app loading data from json into a CardScrollView. Sometimes this takes a few seconds, so I need a loading screen. Normally I'd do this with the progress action bar or a progress bar spinning around. I found a…
johnarleyburns
  • 1,532
  • 12
  • 13
3
votes
2 answers

Google Glass PHP Quick Start Project Continuously asks for Offline Access

I have the Google Glass Quick Start PHP project up and working correctly (finally), but each time I access (and login in) it continues to ask me for "Offline Access" in-spite of the fact that have given it this access permission in the past (it only…
Metablocks Corp
  • 1,645
  • 15
  • 24
3
votes
1 answer

How do i publish a persistent live card in the Glass GDK?

So I've got my live card working with the v12 GDK. It responds to a voice trigger and then sits there until the user stops it. However, I can't determine how to create an always present live card which always remains on the left side of the…
johnarleyburns
  • 1,532
  • 12
  • 13
3
votes
1 answer

Accessing rear facing camera on Glass

I looked through the api, stackoverflow and google, and didn't find anything. Is there a way in the API to access the camera that faces the eye? I would like to be able to tell if the user's eye is open or closed...is this possible with this…
Innova
  • 1,751
  • 2
  • 18
  • 26
3
votes
1 answer

GoogleGlass : Add image in background : unsupported image scheme: http

I have a problem when i try to set an image URL on a Card. Here is the error log : unsupported image scheme: http 01-16 14:11:50.188: E/AndroidRuntime(2851): FATAL EXCEPTION: main 01-16 14:11:50.188:…
wawanopoulos
  • 9,614
  • 31
  • 111
  • 166
3
votes
1 answer

Google Glass: refocusing to a live card

Is there a way to have a live card come back to view after some event? What I'm doing right now is unpublishing the card and then publishing it again and that works when the card is off screen. The problem is since there's no way to check whether…
kolosy
  • 3,029
  • 3
  • 29
  • 48
3
votes
1 answer

Google Glass and data from sensors

Based on what I've read, Google Glass supports most/all sensors, and existing Android APIs are available to access sensors on a mobile device. However, the GDK (gdk.jar) contains only gesture and voice-related class files, which means that custom…
Oswald Campesato
  • 131
  • 1
  • 1
  • 3
3
votes
1 answer

How to create a bluetooth connection between Android device and Google Glass?

I am interested in using my Android phone (running my application) to do all the heavy computing/data storage for an accompanying app running on Glass. Is there a way to make a connection over wifi or bluetooth to send/receive data between the two?
astryk
  • 1,256
  • 13
  • 20
3
votes
2 answers

How to check if Google Glass is connected to internet using GDK

Is there a way to detect if Google Glass is connected to the internet at runtime? For instance, I often get the message "Can't reach Google right now" when using voice input in my app. Instead, I would like to preemptively intercept the condition…
Tony Wickham
  • 4,706
  • 3
  • 29
  • 35
3
votes
4 answers

How to call the Mirror API from GDK?

I'm having some sticking points with how to do something in Glass. The current flow I'm thinking of for my application is almost identical to the existing Mirror API flow for things like Evernote or Sharing photos. Except for one major caveat, the…
Sloloem
  • 1,587
  • 2
  • 15
  • 37