google-glass

Simulate Touch Controls Through Code

泄露秘密 提交于 2019-11-30 18:37:50
问题 I'm trying to make it possible to navigate through my Google Glass application by using head gestures. I'm able to recognize head gestures like looking to the right left and up. They each have their own method for what to do when this gesture is recognized Now I need to simulate the corresponding touch gestures inside each method. So it will think I'm swiping to the left or right which will allow me to navigate through the cards with the head gestures. Does anyone have any idea on how to

Accessing rear facing camera on Glass

本小妞迷上赌 提交于 2019-11-30 18:24:58
问题 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 version of the GDK? Is that what the built in wink-to-take-a-picture app is doing? 回答1: AFAIK, you cannot currently determine open/closed, however there are some eye gestures that are supported, assuming that you have the latest version of Glass hardware.

How can I start an intent from a card in Google Glass

限于喜欢 提交于 2019-11-30 15:49:00
问题 I've tried this app, Crystal Shopper : https://crystalshopper.herokuapp.com/ which seems to be able to start an application from a card. As you can see in this screenshot https://crystalshopper.herokuapp.com/static/images/barcode_search.png there seems to be a command called crystalshopper://open Source seems unavailable, so I must infer... Is correct to assume that this is simply an action which, through the Mirror API, tells the server to send a special notification to the device, which is

How to test Mirror API Subscriptions

泪湿孤枕 提交于 2019-11-30 13:53:57
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 development / debugging easier. The first is the Subscription Proxy service offered by google. This workaround essentially lets you remove the SSL restriction and proxy subscription callbacks to a custom URL. The second and most helpful way I have found to do development locally is to capture a subscription callback request (say from a server that is

Google Glass stream video to server

血红的双手。 提交于 2019-11-30 13:33:12
问题 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

Is there any way to run glassware in an emulator?

廉价感情. 提交于 2019-11-30 12:10:41
问题 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

Google Glass: GDK with Android Studio

孤者浪人 提交于 2019-11-30 12:02:51
问题 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

Is it possible to have Android Voice Recognition (as a custom service) on Google Glass?

倾然丶 夕夏残阳落幕 提交于 2019-11-30 09:56:16
We have a demo android application (Android 4.0.3) that runs voice recognition as a service, and (continuosly) logs the results of the recognition on the view. Everything is working fine in our smartphones. We would like to replicate this scenario in a Google Glass immersion application, but we always have this error message when we try to start the service: no selected voice recognition service Are there some known limitations? Or have someone figured out how to resolve this kind of problem? Thanks in advance This is some significant code of the activity: public class MainActivity extends

Can I test a program for Google Glass without Google Glass?

非 Y 不嫁゛ 提交于 2019-11-30 09:07:15
Can I write and test a Hello World program for Google Glass without actually having it? Is there an emulator I can use to test the app? I have seen a video showing that we can run it on Nexus Tablet. Check out the link http://liliputing.com/2013/05/run-google-glass-apps-on-a-nexus-7-tablet.html No... there's not official Google Glass Emulator. Yes... you can preview your cards in playground . This shows you how content is displayed on Google Glass. And yes... you can test Google Glass apps on Android Device (Nexus 7, Nexus 5, ...) with this . If you don't know how to do that, look at this .

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

懵懂的女人 提交于 2019-11-30 09:06:32
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 rather just using an XML layout as I'm changing text on the screen dynamically to user interaction