google-glass

How to scan a QR code using Google Glass?

若如初见. 提交于 2019-11-29 09:34:46
问题 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 回答1: 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

Why does saving a bitmap take so long?

和自甴很熟 提交于 2019-11-29 07:34:42
So I have an app on Google Glass that takes a picture, then converts it to grayscale and overwrites the original image in memory: private void rGBProcessing (final String picturePath, Mat image) { //BitmapFactory Creates Bitmap objects from various sources, //including files, streams, and byte-arrays Bitmap myBitmapPic = BitmapFactory.decodeFile(picturePath); image = new Mat(myBitmapPic.getWidth(), myBitmapPic.getHeight(), CvType.CV_8UC4); Mat imageTwo = new Mat(myBitmapPic.getWidth(), myBitmapPic.getHeight(), CvType.CV_8UC1); Utils.bitmapToMat(myBitmapPic, image); Imgproc.cvtColor(image,

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

南笙酒味 提交于 2019-11-29 05:19:06
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 application, I get the following Error: An error ocurred: Error calling POST https://www.googleapis.com/mirror/v1/timeline?key=xxxxxx (403) Access Not Configured. Please use Google Developers Console to activate the API for your project. I have added the Mirror API and have Billing active and setup so have no idea why i am getting the error message. Testing

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

旧巷老猫 提交于 2019-11-28 23:09:34
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . 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? 回答1: If you're handy with a soldering iron, it's

Using Android Speech Recognition APIs from Google Glass

家住魔仙堡 提交于 2019-11-28 17:59:21
I'm working to adapt an existing Android application to run on Google Glass, as a proof of concept. I would like to use voice input in my application to replace some features that currently require touch input. I can deploy my APK to Google Glass and run it without a problem (through ADB), but once it's running, neither Android speech recognition API I've tried works on Glass: startActivityForResult(new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH)); This results in an ActivityNotFoundException ("no activity found to handle intent") when running on Google Glass SpeechRecognizer

Unable to connect to Google Glass on Windows 7 (using ADT)

∥☆過路亽.° 提交于 2019-11-28 12:25:54
Environment : OS : Windows 7 Ultimate 64-bit, SP1 (latest patches) Hardware : Dell XPS L702X (8GB Ram) Android Developers Tool (ADT) : version adt-bundle-windows-x86_64-20131030 Google USB driver : version 9 Google Glass : "v2" device running XE12 Situation : Debug mode enabled on Google Glass; connected to USB port on computer; no device seen (ADT cannot find glass). The android_winusb information already contains the following settings for Glass: in NTx86 section: ;Google Glass %SingleAdbInterface% = USB_Install, USB\VID_18D1&PID_9001 %CompositeAdbInterface% = USB_Install, USB\VID_18D1&PID

Having issues seeing GLASS in Fastboot [closed]

我们两清 提交于 2019-11-28 11:42:49
I can see my GLASS id in adb and adb reboot-bootloader seems to work. I can not see my device id in fastboot however and fastboot oem unlock hangs on "waiting for device". Pressing the camera button does reboot the device. Has anyone else had / seen this issue and what have you done to remedy? I am currently on XE7 with debugging on. I have side-loaded apk's before with no issue via adb. I would like to know of any possible solutions to be able to see my GLASS in fastboot. My Solution- I had issues on Win 8 so I swapped over to my OS X install, unplugged all usb peripherals and then ran "./adb

Glass camera preview display is garbled

拟墨画扇 提交于 2019-11-28 08:45:32
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="fill_parent" /> Here is the Activity code: public class ScanActivity extends Activity { private static

Android Studio || GDK 'hello word' || import com.google.android.glass.app.Card || Cannot Resolve Symbol 'google'

Deadly 提交于 2019-11-28 07:53:11
问题 What I am trying to do with my google glass is pretty simple: create/display a hello world card for google glass issue is:: when i add this: import com.google.android.glass.app.Card I get This: Cannot Resolve Symbol 'google' I did this: Minimum and Target SDK Versions: 15 (There is only one Glass version, so minimum and target SDK are the same.) Compile with: Glass Development Kit Sneak Peek and i made a change to the gradel.build[compile sdk version...it was 15/changed to what is below]

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

丶灬走出姿态 提交于 2019-11-28 06:10:56
问题 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