google-glass

Google Glass stream video to server

末鹿安然 提交于 2019-11-30 07:42:58
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 player that views the RTMP stream but I'm not having much luck. Using libstreaming ( https://github.com/fyhertz/libstreaming ) I'm never able to view the stream. I also would be interested in doing something with WebRTC so that I could make a solution similar to Hangouts but am not sure there is any libraries that support this yet. Any help is

How to scan a QR code using Google Glass?

≡放荡痞女 提交于 2019-11-30 07:26:38
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 Instructions are using Android Development version of Eclipse. Glass is running a version of Android 4.0.3. You can slideload an app using an .apk This project, Barcode Eye, ports the ZXing project to Google Glass https://github.com/BarcodeEye/BarcodeEye After you clone the repo, add GDK, and build you can port it to your device. It has hooks for Amazon,

GDK / APK for Google Glass - Keep screen from dimming

China☆狼群 提交于 2019-11-30 06:34:08
What part of the code in the four sample APK projects listed here for Google Glass prevents the screen from dimming? When I write my own APK and sideload it, after ten seconds with no tapping, the screen dims but does not turn off. What manifest change or code change can I use to prevent the screen from dimming. Thanks! Should there be a Google-Glass-GDK tag? If so add it please. There are a couple easy ways you can do this without requesting a wake lock: Add the android:keepScreenOn="true" attribute to the root element of your layout. Or, do the following in your onCreate method: getWindow()

Glass camera preview display is garbled

半城伤御伤魂 提交于 2019-11-30 05:56:38
问题 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 display is garbled, like this: The layout is simple: <?xml version="1.0" encoding="utf-8"?> <TextureView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/scan_preview" android:layout_width="fill_parent" android:layout_height=

How can I get audio output from Google Glass to a 3.5mm headphone jack? [closed]

孤街浪徒 提交于 2019-11-30 02:12:50
Glass recently released headphones and a mono ear bud . This implies that it is capable of producing an audio signal from the Micro USB port. Is it possible to create an adapter for Glass to connect to a standard audio connector, such as a 3.5mm headphone cable? If you're handy with a soldering iron, it's pretty easy to make an adapter. Solder a 500k ohm resistor between pins 4 and 5 (ID and GND). You'll need the following parts: A microUSB headset adapter with all 5 pins, like this one on Amazon . A 500k ohm resistor Knowledge about the pinout of the Micro-B usb connector. Wikipedia describes

Is there any way to run glassware in an emulator?

烈酒焚心 提交于 2019-11-30 02:05:33
Today Google just released the GDK Sneak Peak for Google Glass. I have tried to run the samples they have hosted in GitHub with no success: gdk-stopwatch-sample gdk-compass-sample gdk-timer-sample I am targetting against Android 4.0.3 Glass Development Kit Sneaky Preview and trying to run it in an AVD that also targets it with the following other specs: 640x360 hdpi For the CPU I tried both ARM & Intel Atom When I run the app and the dialog to choose the device is shown I do see the virtual device as non compatible. If I skip it and try to run it I see the following error output: Installing

Google Glass: GDK with Android Studio

故事扮演 提交于 2019-11-30 01:57:16
I’m trying to use the new Google Glass Development kit with Android Studio. Unfortunately I'm not having much success. I get the error: "Gradle: package com.google.android.glass.touchpad does not exist" I've added uses-library to the manifest as follows: <application android:allowBackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:theme="@android:style/Theme" > <uses-library android:name="com.google.android.glass" android:required="true" /> <activity android:name="com.glass.test.MainActivity" android:label="@string/app_name" > <intent-filter> <action

Glass GDk : Contextual voice commands without the “Ok Glass”

喜夏-厌秋 提交于 2019-11-29 17:12:52
I have an application with a CardScrollView as activity. Ok Glass => My App => Ok Glass => Next Page Or OK Glass => Previous Page Would it be possible to skip the second "Ok Glass" ? The best would be to let the Voice Command always activated but I don't know if it's possible. It is currently not possible to trigger contextual voice commands without the "ok glass" cue: the main reasons are to prevent false positive and narrow down the window when the microphone is listening for commands. I actually did this for my Glass app. Take a look here: https://github.com/RIVeR-Lab/google_glass_driver

Adding the “ok glass contextual voice menu” within an immersion activity

丶灬走出姿态 提交于 2019-11-29 13:49:49
问题 Is there a way to insert the "ok, glass" trigger into an immersion activity on Glass? I want to make the launch of my application as seamless and quick as possible. Making an immersion application seemed to be the way but I can not find a way to bring up the "ok, glass" footer trigger within my activity to launch my application menu to be navigated hands free. Any clue as to how this works? Note: I have a voice trigger to launch the app from the Glass home screen. I'm not creating a card but

Is it possible to set the background color on glass [gdk-immersion]?

非 Y 不嫁゛ 提交于 2019-11-29 13:03:18
my glass project is coming along great. I am wondering if it is possible to change the background color of a view. I am using an immersion and my entire app runs on that single view. The entire view is a relative layout. I originally tried to this from code by defining my relative layout and doing: rl.setBackgroundColor(color.empty_gray); But not change occured when this code was called. Then I tried adding it directly to the XML element with android:background="@color/warning_red" which also yielded nothing. Is it impossible to change the background color of the view? I know you can set a