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
7
votes
3 answers

Built-in ScrollView that scrolls with head motion

Speaking "ok glass" brings up a command list that automatically scrolls based on the user's head motion. Is there a built-in UI element in the GDK that implements this? Or will I have to write my own code that uses sensors?
Dmitry Brant
  • 7,612
  • 2
  • 29
  • 47
7
votes
2 answers

How can I brighten the screen when opening an Activity in my Glass GDK immersion application?

I have a GDK immersion application, where the launcher Activity acquires aSCREEN_DIM_WAKE_LOCK WakeLock. The app also has a Service which will receive chat messages and starts an Intent for an Activity to display each one. Whenever the message…
Eric Levine
  • 13,536
  • 5
  • 49
  • 49
7
votes
3 answers

How to get last location on Glass reliably?

Method getLastLocation() from LocationManager often return null and it's quite tricky to select best provider. The documentation says: Warning: Do not use the LocationManager.getBestProvider() method or the constants GPS_PROVIDER or…
David Vávra
  • 18,446
  • 7
  • 48
  • 56
7
votes
1 answer

Update text of card in Google Glass using GDK?

I'm interested in changing the text of a card based on some event. Is it possible to change the text of card without calling setContentView() on the Activity? Once the card has been converted into view and set using setContentView(), I haven't found…
Sheraz Ahmad Khilji
  • 8,300
  • 9
  • 52
  • 84
7
votes
6 answers

How to scan a QR code using Google Glass?

I want to create a Google glass application in which i want to scan a QR code. I went through this post but i couldn't get clear idea. Read QR code Can anyone please direct me how to scan a QR code and get its content in Google Glass. Thanks
ravi
  • 2,722
  • 7
  • 25
  • 42
7
votes
1 answer

Glass camera preview display is garbled

I am trying to get a live camera preview to display in Google Glass. I'm using all of the camera defaults (and have also tried using a few different image formats; ideally, I can use one of the YUV formats), but the image that shows up in the…
7
votes
4 answers

Detect Google Glass Programmatically

From a native application how can we detect Google Glass verses a smart phone from code? Moving correct answer to question: boolean isRunningOnGlass() { return "Google".equalsIgnoreCase(Build.MANUFACTURER) && Build.MODEL.startsWith("Glass"); …
Patrick Jackson
  • 18,766
  • 22
  • 81
  • 141
7
votes
5 answers

Google Glass Sample APKs

I can get the sample APK CompassActivity app to run on Glass but no luck with LevelActivity or StopWatchActivity? I am using Eclipse. Log below. Any suggestions? [2013-07-29 17:02:18 - LevelActivity] ------------------------------ [2013-07-29…
Cary Matters
  • 73
  • 1
  • 3
7
votes
1 answer

Can anybody suggest a good link for a google glass tutorial?

I tried to search but could not find a good one that explains everything, the links i found only provides some code snippets.
Amalan Dhananjayan
  • 2,277
  • 1
  • 34
  • 47
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
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

Why does Glass/GDK based VoiceListener only catch VoiceCommand once in XE16?

In search for a way to implement contextual voice commands with Google's GDK i came across this post. Yet, the example code seems to work only in XE12 not in XE16+. I tested this code recently, but the onVoiceCommand(...) method is only called once…
MWiesner
  • 8,868
  • 11
  • 36
  • 70
6
votes
1 answer

How to send email via Glass

I am trying to send an image taken from Glass with below code... Intent emailIntent = new Intent( android.content.Intent.ACTION_SEND); emailIntent.setType("plain/text"); emailIntent.putExtra(android.content.Intent.EXTRA_EMAIL, new String[] { …
Shankar Prasad
  • 405
  • 6
  • 17