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
2
votes
1 answer

How to download and add an image to a card when selected?

When a card is selected in a CardScrollView, the onItemSelected() method is called. However, I cannot determine how to add an image to this card once selected. For now, I've done a kluge callback mechanism where I call…
johnarleyburns
  • 1,532
  • 12
  • 13
2
votes
1 answer

Android/Glass: How to trigger surfaceDestroyed

Hey everyone I am fairly new to the android/glass development so please correct me if I am wrong. I tried to create a High Frequency Live Card which is fine. However when I close the app, the function surfaceDestroyed() did not get trigger and…
2
votes
1 answer

Can't Display "Read More" on a Card with GDK

So as you may know the screen space on Google Glass is limited. The Mirror API has a nice "Read more" feature whereby cards with long text are converted into multiple cards through which the user can scroll. I've been trying to achieve the same…
johnarleyburns
  • 1,532
  • 12
  • 13
2
votes
0 answers

using LiveCard to display camera preview _and_ custom SurfaceView on Google Glass?

I'm trying to do camera recording and drawings on top on Google Glass, using a LiveCard. in a regular activity, this would be achieved by using a FrameLayout, with a SurfaceView for the camera preview 'in the back', and another View in front of it…
Ákos Maróy
  • 919
  • 2
  • 10
  • 19
2
votes
1 answer

Adding Card images throws exception for HTTP and HTTPS resource schemes

Doing some HTTPS json calls in glass with the GDK, so far so good. Tried to set a card to one of the returned https urls using this code: Uri uri = Uri.parse(url); card.addImage(uri); A strange exception occurred, seemingly implying that glass…
johnarleyburns
  • 1,532
  • 12
  • 13
2
votes
1 answer

Google Glass upload files using http-client

I am trying to upload an image file using http-client from my Google Glass to my server but it always gets stuck at the httpclient.execute() method. I am not sure how should I approach uploading files from my Glass. This is what I have so…
2
votes
2 answers

Google Glass Development Error: (403) Access Not Configured. Please use Google Developers Console to activate the API for your project

I am using the PHP version of the Google Glass Developer Kit. Setup everything per the sample code instructions. API/credentials are all fine, account billing is setup, have added the Mirror API to the project, but after I permission the…
Metablocks Corp
  • 1,645
  • 15
  • 24
2
votes
1 answer

Drawing OpenGL graphics on Live Card in Google Glass

I've been trying to draw some OpenGL graphics on a live card, but keep getting the following error message. According to https://developers.google.com/glass/design/ui/live-cards, high-frequency live card "renders many times a second and can show…
Jeff Tang
  • 1,804
  • 15
  • 16
2
votes
2 answers

Batch request to multiple users fails if one user revokes access

I am working on a glassware project using the mirror api. My app is similar to a news app that delivers article timeline cards to all subscribed users when the article get published. As my user base grows, this will become a problem because, as the…
2
votes
1 answer

Google glass: Is there a way to start speech recognition from a UI service?

I have a glass app using LiveCards. As such, I don't explicitly have running activities, but just a background service that interacts with the LiveCard for information. At some point, I'd like to bring up a voice input. The problem is that the code…
kolosy
  • 3,029
  • 3
  • 29
  • 48
2
votes
1 answer

How can I get Google Glass gestures working with Xamarin?

I'm using Xamarin to build a Google Glass application, and haven't been able to get the GestureDetector to fire any OnGesture events. Here is what I've tried so far: In my Activity: using Gesture = Android.Glass.Touchpad.Gesture; using…
Eric Levine
  • 13,536
  • 5
  • 49
  • 49
2
votes
1 answer

How I submit my glass app in google glass

I build a glass app using mirror api. Now I want to submit in google that any one can download my app from glassware. How can I do it?
Moddasir
  • 1,449
  • 13
  • 33
2
votes
1 answer

Android hacking no longer work on XE12 (Settings.apk and Launcher2.apk)

I got my glass around thanksgiving last year. I downloaded Settings.apk and Launcher2.apk from www.glassxe.com. My project needs to communication through Bluetooth data channel. With these two apks, it works fine. This week, I connected the glass…
2
votes
2 answers

accessing google glass swipe pad in unity3d

I am trying to access glass swipe pad in my unity3d project but it doesn't work. "KeyCode.Escape" works fine for swipe down. But how do I get swipe left right and tap working? I checked the "secondaryTouchEnabled" using the following in OnGUI and it…
jainam
  • 363
  • 1
  • 6
  • 16
2
votes
1 answer

Using custom cards in a CardScrollView?

I'm using a CardScrollView to present a stack of content in an immersion app and I don't want to use the standard Card as I'd like more control of the layout. I have an xml layout file that defines the layout I want but I'm having trouble figuring…
Jennifer
  • 21
  • 1
  • 4