google-glass

VP8 Encoding results in grayscale image on Google Glass

陌路散爱 提交于 2019-12-13 05:04:09
问题 The application I am working on is developed for Google Glass but runs on Android tablets as well.It uses VP8 encoding to transfer camera images to a remote application. The preview format parameter on the camera is set to ImageFormat.YV12. The VP8 encoder is initialized with VPX_IMG_FMT_YV12 parameter. When the application .apk file is installed and run from the Glass, the image is displayed in gray scale on the remote application. When the same .apk file is installed on a tablet or a phone,

EyeGesture and EyeGestureManager clarity needed

房东的猫 提交于 2019-12-13 04:47:44
问题 Google review team requires glassewares to: Dim the screen if there isn't an expectation that a user is looking at it. This is consistent with the "in the here and now" experience of Glass. Glassware should always dim the screen if there isn't an expectation that a user is looking at it. Ideally it behaves like a timeline and dims after 15s. A user can 'rewake' the screen by looking up . Update to be made: If a user is not looking at the results set in the card scroller, dim the screen. This

Using a service account to push cards

独自空忆成欢 提交于 2019-12-13 03:35:33
问题 I'm trying to create a php page which will authenticate using a service account and will create a new timeline card for the application users. (It's working using a client ID for web sites) So I have created a service account, uploaded the key.p12 file to the server and I keep getting this error message: Uncaught exception 'Google_Auth_Exception' with message 'Error refreshing the OAuth2 token, message: '{ "error" : "invalid_grant" }'' As I understood I also need to give access to the service

Failure [INSTALL_FAILED_MISSING_SHARED_LIBRARY] on Glass XE16 KitKat

时间秒杀一切 提交于 2019-12-13 01:24:05
问题 I have a Glass GDK app (open-source on Github) that works fine on XE12. I got the XE16 update yesterday, and now when I run gradlew installDebug to deploy to Glass, I get the message: :onebusaway-android:installDebug pkg: /data/local/tmp/onebusaway-android-debug-unaligned.apk Failure [INSTALL_FAILED_MISSING_SHARED_LIBRARY] Here are the changes I've made to update to XE16: I've changed my compileSdkVersion to "Google Inc.:Glass Development Kit Preview:19" I've updated the gdk.jar in the /libs

Google glass sample projects are crashing

安稳与你 提交于 2019-12-12 18:21:58
问题 So I am attempting to learn to develop for Glass and was going through the quickstart guide today. Attempted to run all of the sample apps and they all crashed upon me attempting to open them. With a picture of caution sign saying "Stopwatch has stopped tap to continue". I tried reimporting the projects restarting glass and nothing worked. Any ideas? Also my glass initally wasnt recognized by eclipse and followed this guide Google Glass ADB devices doesn't find. OMAP4430 driver not installed

Google Glass GDK: Bluetooth discoverable Intent

元气小坏坏 提交于 2019-12-12 16:00:15
问题 I try to make my Google Glass discoverable via Bluetooth in my app by calling the flowing intent: Intent discoverableIntent = new Intent(BluetoothAdapter.ACTION_REQUEST_DISCOVERABLE); discoverableIntent.putExtra(BluetoothAdapter.EXTRA_DISCOVERABLE_DURATION, 120); startActivity(discoverableIntent); But I get the following error message: Unable to start activity ComponentInfo{com.example.glass/com.example.MainActivity}: android.content.ActivityNotFoundException: No Activity found to handle

SpeechRecognizer broken after Google Glass XE17 update — how to work around?

巧了我就是萌 提交于 2019-12-12 07:38:21
问题 Standard Android SpeechRecognizer was working perfectly on Google Glass XE16 - XE16.2 Then the XE17 update suddenly broke everything, with the following error and no callbacks to the Listener anymore: E/AndroidRuntime(6321): FATAL EXCEPTION: main E/AndroidRuntime(6321): Process: com.google.glass.voice, PID: 6321 E/AndroidRuntime(6321): java.lang.NullPointerException: VoiceEngine.startListening: voiceConfig cannot be null E/AndroidRuntime(6321): at com.google.glass.predicates.Assert

How to insert and retrieve postBody in Mirror API account insert method using PHP

假装没事ソ 提交于 2019-12-12 07:23:51
问题 I need to insert user's email in postBody of mirror API insert method. I am using this code: $authtoken=null; $postBody = new Google_Service_Mirror_Account(); $postBody->setAuthTokens($authtoken); $userdata=array("email"=>$email); $postBody->setUserData($userdata); $account = $service->accounts->insert($userToken, package-name-here, $accountName, $postBody); The above method returns null in response! I am not sure what to add as authtoken. After this, I need to retrieve user's email account

OAuth Callback in the Glass Quick Starter Java App

送分小仙女□ 提交于 2019-12-12 06:49:54
问题 Got my Glass last week. Working on running the Java version of the Quick Starter Glassware demo. I am having trouble with the OAuth callback. Do I need set this up myself? Or is there source included in the sample somewhere? Please help! Clarification : I have set up my own project with the Java Quick Starter app's code, deployed it in EC2 and have set up the Client-ID and Client-secret in the Google APIs Console. I set the Redirect URI as http://<my server>/<my-app>/oauth2callback . When I

Google Glass on Windows7: cannot access device

和自甴很熟 提交于 2019-12-12 04:53:05
问题 I have a brand new google glass and I tried to connect it to my Windows 7 PCs, but I cannot access the storage. If try the command adb devices , glass is not listed. I already installed the latest Google USB Drivers. Enabled Developer settings on Glass Glass is listed as "Android ADB Interface" in the Device Manager. If i connect glass to a Windows8 PC, everything looks good - so there shouldn't be problems with the cable or glass itself. I also tested to update the drivers INF file with the