google-glass

Android Bluetooth Client and Server Won't Connect

▼魔方 西西 提交于 2019-12-08 06:29:48
问题 I am currently trying to create an app that connects Google Glass(client) to my computer(python server). I would like to send simple strings. I have tried multiple ways but haven't had much luck. I am currently using some sample code I found. After running both, i get the message "In onResume() and an exception occurred during write: Socket Closed" on Glass, and my computer(HP Pavillion Dv6 running Ubuntu 12.04 with Bluetooth Dongle) completely freezes. One time the GUI itself crashed and I

Socket.io client on Google Glass

淺唱寂寞╮ 提交于 2019-12-08 03:29:53
问题 Im trying to let my Google Glass and my android phone connect to a NodeJs server that Im running on my computer, so that I can send messages from my android phone to my Google Glass. For this Im using koush's AndroidAsync library, which works great on my android phone and I have absolutely no trouble connecting my phone to the NodeJS server with this library. However, the same code doesnt seem to work on my Google Glass. My Google Glass DOES connect, because the on connection eventhandler of

What is android:immersive attribute in Android manifest file?

跟風遠走 提交于 2019-12-07 18:19:42
问题 I was developing an app for Google glass and i was facing a problem with my activity. They ended when i didn't interact with them for 7 to 10 seconds. After the screen turned off and i tapped my glass to wake it up again, my activity would disappear and i was on ok glass Screen. I searched a lot but couldn't find any solution to this. Then i came across this android:immersive attribute in Activity in AndroidManifest.xml file. After using android:immersive="true" in my activity

SpeechRecognizer insufficient permissions error with Glass

淺唱寂寞╮ 提交于 2019-12-07 16:53:54
问题 I am building an application with the GDK sneak peek and am having trouble getting speech recognition working in an immersive app. This is my first android project. I tried to follow this: How can I use speech recognition without the annoying dialog in android phones After making initial progress, I hit a problem where the RecognitionListener class is throwing Error 9, insufficient permissions. I am using the GDK, which is Android-15. Initialization of the Recognizer is in my onCreate()

Google Glass Eye Gesture Crashing (EyeGestureLib)

六月ゝ 毕业季﹏ 提交于 2019-12-07 10:29:38
问题 I am trying to check Wink from Glass using the EyeGestureLib. I created a new project and did exactly what the guy did with the sample project here. The problem part of my code is below: private EyeGestureManager mEyeGestureManager; private EyeGestureListener mEyeGestureListener; private EyeGesture target1 = EyeGesture.WINK; private EyeGesture target2 = EyeGesture.DOUBLE_BLINK; Inside onCreate, I have: mEyeGestureManager = EyeGestureManager.from(this); mEyeGestureListener = new

Google Play Services “Not Authentic” on Glass

你。 提交于 2019-12-07 07:36:17
问题 I'm attempting to get a user's current location on Glass. Calling mLocationClient.connect() fails without any resolution. Then I checked if Google Play Services was available on the device with: GooglePlayServicesUtil.isGooglePlayServicesAvailable(this); This returns ConnectionResult.SERVICE_INVALID , which according to the documentation means that "The version of the Google Play services installed on this device is not authentic." The Setup Google Play Services SDK guide does not describe

Android Bluetooth Client and Server Won't Connect

不羁的心 提交于 2019-12-07 03:46:23
I am currently trying to create an app that connects Google Glass(client) to my computer(python server). I would like to send simple strings. I have tried multiple ways but haven't had much luck. I am currently using some sample code I found. After running both, i get the message "In onResume() and an exception occurred during write: Socket Closed" on Glass, and my computer(HP Pavillion Dv6 running Ubuntu 12.04 with Bluetooth Dongle) completely freezes. One time the GUI itself crashed and I was looking at a stack trace on the console(that scary black screen). Here is the client code: import

Google Mirror API Video

这一生的挚爱 提交于 2019-12-07 03:38:44
问题 What is the roadmap for video on the google glass mirror API? Will the API allow for streaming video to or from the device as shown in the glass demo video http://www.youtube.com/watch?v=v1uyQZNg2vE ? 回答1: There is no published roadmap for the Mirror API. Part of the motivation for our developer preview is to figure that out. First, just to clarify, the streaming shown in that video is a Google+ Hangout. This is a feature that's built into Glass. Update : Glass now supports video streaming.

How to send email via Glass

a 夏天 提交于 2019-12-07 03:05:43
问题 I am trying to send an image taken from Glass with below code... Intent emailIntent = new Intent( android.content.Intent.ACTION_SEND); emailIntent.setType("plain/text"); emailIntent.putExtra(android.content.Intent.EXTRA_EMAIL, new String[] { "xyz@gmail.com" }); emailIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, "My Subject"); emailIntent.putExtra(android.content.Intent.EXTRA_TEXT, "My image attached"); emailIntent.putExtra(Intent.EXTRA_STREAM, Uri.parse(imageLocation)); startActivity

Displaying Video on Webpage from Google Glass

随声附和 提交于 2019-12-06 13:32:01
I just picked up my Glass this weekend! Very excited. :) I recorded a video with my Google Glass, shared it to my application, then with my web app made an oauth connection to the Mirror API and retrieved a video content type="video/mp4" and content URL (using PHP $attachment->getContentUrl()) that looks like this: http://redirector.googlevideo.com/videoplayback?id=f4046ce94ae5d248&itag=22&source=picasa&cmo=sensitive_content%3Dyes&ip=0.0.0.0&ipbits=0&expire=1378342900&sparams=id,itag,source,ip,ipbits,expire&signature=2B5CAA41215B0B582CD88D9281E8DCC6BCB8A11C