google-gdk

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

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=

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