google-mirror-api,google-glassRelated issues-Collection of common programming errors
khan
google-app-engine google-mirror-api google-glass
Whenever I try to run the java mirror quick start master on localhost:8080 and I am getting. HTTP ERROR: 503Problem accessing /. Reason:SERVICE_UNAVAILABLEPowered by Jetty://I am using the mav jetty:run in the command line. I do not know where I am going wrong. I am afraid the solution is hitting me in the face, and i can’t see it. Any Help would be appreciated thank you in advance. Scanning for projects…———————————————————————-Building glass-ja
aegean
google-glass google-mirror-api
Is it possible to trigger an event at my server side application(notify callback) when user swiped to a specific timeline card of my glassware?I wonder this because I want to know if the timeline card is seen if it is possible.Detail: We can define menu items to timeline cards at Mirror API Glassware and selections are passed to our notification callback servlet through Mirror API. Thus we are able to handle those menu item selections at server side and do some stuff. I’m looking for a similar p
user2942394
google-mirror-api google-glass
Steps to Reproduce (unexpected behavior in bold):I successfully create an app contact via the Python Starter App I successfully subscribe to timeline notifications I take a photo with Glass I share that photo with my app contact The photo is duplicated on the timeline The app’s callbackUrl is never pinged (yet POSTing manually via curl works fine) Attempting to delete the duplicated photo card makes the Glass OS glitch out until reboot
user1521764
google-mirror-api
I’ll admit, I’m pretty rusty with android development. It’s been a few years for me. As a refresher, I wanted to change the countdown app so that i could set the starting time with just my voice.Simple, right?I loaded up the sample apps and threw the timer app onto my glass. Everything worked. I was thrilled.Then, following the instructions here GDK voice input i was able to change the “ok glass” command. Still worked. Cool.Then, i added the string to trigger the voice transcribing functio
Alain
google-app-engine google-mirror-api
The Java Quickstart app has completely stopped working for me for some reason. i thought I had messed something up but now I’m not sure what the issue is. Anyone know what’s going on? I’m using App Engine 1.8.5. Here’s the error in the log I get right after auth’ing for the first time:2013-10-10 14:28:23.230 /index.jsp 500 25ms 0kb Mozilla/5.0(Macintosh; Intel Mac OS X 10_8_4) AppleWebKit/537.36 (KHTML, likeGecko) Chrome/30.0.1599.69 Safari/537.36199.2.242.199 – – [10/Oct/2013:14:28:23 -070
arikan
google-mirror-api google-glass
I’m developing my firsrt glassware. Everything works fine but sharing timeline item causes glass to crash. When I select share option from actions, Glass asks me to select contacts. When I choose the contact, it shows Sharing progress then shows Shared message and about a second later, Glass stops unexpectedly and Glass Home starts again. I won’t get notification to my callback url and timeline item duplicated in my timeline with only delete action available. I checked the logs of Glass and get
Kevin Burson
google-mirror-api
I’m not sure I am setting up the Quick Start for PHP correctly… I keep getting a Server error ‘HTTP Error 500’ after I click Accept at the Glassware permissions acceptance page. (which I am happy to be at least seeing) I am using Chrome browser. I am also serving from my Mac (Mountain Lion) via MAMP on port 8888.API Console Redirect URI:http://localhost:8888/mirror-quickstart-php-master/oauth2callback.phpJavascript Origin:s:http://localhost:8888My config.php settings: (client_id, client_secret
ina
google-mirror-api google-glass
I tried creating a new set of API keys in console, only to receive these errors: An error ocurred: Error refreshing the OAuth2 token, message: { “error” : “unauthorized_client” }’An error ocurred: Error refreshing the OAuth2 token, message: ‘{ “error” : “unauthorized_client” }’Update: Errors from index.php from the php sdk example Fatal error: Uncaught exception ‘Google_AuthException’ with message ‘Error refreshing the OAuth2 token, message: ‘{“error” : “unauthorized_client&quo
raich
php google-mirror-api
I’m getting errors while running Google Glass quick starter PHP project using Mirror API. I’ve seen a similar question in the forum but in my case i’ve enabled the Mirror api in the Google API console. We are working in a group using a new Gmail account(that aptly describes our group) which has been tied up to our Glass very recently. In the error log it says:Uncaught exception ‘Google_ServiceException’ with message ‘Error calling GET https://www.googleapis.com/mirror/v1/timeline?maxResults=3&a
Jenny Murphy
google-mirror-api google-glass
I’m trying to setup the config.php with my values but I get this fatal error:Fatal error: Uncaught exception ‘Google_AuthException’ with message ‘Error fetching OAuth2 access token, message: ‘invalid_grant’.I entered the client ID, secret, simple API key, location and sqlite database as the documentation says here: https://developers.google.com/glass/quickstart/phpAny idea of what I’m doing wrong?Thanks in advance!
khan
google-app-engine google-mirror-api google-glass
Whenever I try to run the java mirror quick start master on localhost:8080 and I am getting. HTTP ERROR: 503Problem accessing /. Reason:SERVICE_UNAVAILABLEPowered by Jetty://I am using the mav jetty:run in the command line. I do not know where I am going wrong. I am afraid the solution is hitting me in the face, and i can’t see it. Any Help would be appreciated thank you in advance. Scanning for projects…———————————————————————-Building glass-ja
Tony Allevato
android camera google-glass google-gdk
I’m having trouble capturing an image and saving it to external storage on Google Glass. I have the following code.Intent cameraIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE, null);String imagePath = getPhotoPath();_imagePath = imagePath;File imageFile = new File(_imagePath);Uri imageUri = Uri.fromFile(imageFile);cameraIntent.putExtra(MediaStore.EXTRA_OUTPUT, imageUri);startActivityForResult(cameraIntent, ACTION_CAPTURE_IMAGE); And the code for getPhotoPath()private String getPhotoPath(
adnecs
android android-webview google-glass
I am writing an app for Google Glass (SDK level 15) and need to show WebView to display some html in it. To test it I defined a layout with 2 controls – TextView and WebView.All rendering I made in SurfaceHolder.Callback. Important is that callback methods are executed on a background thread.All worked fine in debug mode – TextView and WebView showed content fine. But as soon as I switched to Run config app crashed with exception:java.lang.RuntimeException: Can’t create handler inside thread tha
vittore
android camera google-glass ioexception google-gdk
I have a simple GDK app that has a menu option on a LiveCard to take a photo. I’ve followed the instructions in the Documentation to use the FileObserver very similar to the example there. However, once the file is done writing, I attempt to call a method in the binder to my service which then in turn tries to set the image uri on an ImageView in a RemoteView.In the AndroidManifest.xml I have the following permissions:<uses-permission android:name=”android.permission.RECORD_AUDIO” /> <
Jose Urbano Duarte Junior
android zxing google-glass google-gdk
I´m trying to use the zxing on the google glass, however i´m receiving the error above.I using the zxing 2.2 core.jar I also receive this error message on the device display “Sorry, the android camera encountered a problem. You may need to restart the device”.I´m lauching a intent on my oncreate activityprotected void onCreate(Bundle savedInstanceState) {super.onCreate(savedInstanceState); Intent intent = new Intent(“com.google.zxing.client.android.SCAN”); intent.putExtra(“SCAN_MODE”, “QR_CODE_M
user3528408
android cordova google-glass
I’m stuck on this for days I really don’t know how to solve it I already tried the whole internet but no code seems to work to me. What I wanna do is take a picture and send the image to my server. The way I’m doing is this: I’m calling navigator.camera.getPicture method to take the picture and if no problems occur I send it to the server, but the callback for error is being called always even though the pictures is taken and storage on the device. That’s my index.html<!DOCTYPE html><ht
KappaDragon
callback null camera google-glass preview
I have an operating android app that utilizes preview callbacks, to process the image after every frame from the preview (the preview is paused for a minute while the calculations take place). It works great! But, now I am trying to get Google Glass to do the same thing: activate Preview, activate preview callback, activating the calculations.This issue likely has to do with how Camera is defined:Camera mCamera = null;but, I cannot define it as Camera.open(); with Google Glass because it fails.
Manuel
google-glass
We’ve implemented a custom camera wrapper (built on the android::camera from the android sources) in the fashion of OpenCV camera_wrapper for android. We now want to use this wrapper for Google Glass but unfortunately do not get any message for an available preview frame. We were able to track down the problem to the SurfaceTexture creation. When we setup the preview we doandroid::sp<android::SurfaceTexture> surfaceTexture(new android::SurfaceTexture(0x10)); if(pimpl->camera->setPre
aegean
google-glass google-mirror-api
Is it possible to trigger an event at my server side application(notify callback) when user swiped to a specific timeline card of my glassware?I wonder this because I want to know if the timeline card is seen if it is possible.Detail: We can define menu items to timeline cards at Mirror API Glassware and selections are passed to our notification callback servlet through Mirror API. Thus we are able to handle those menu item selections at server side and do some stuff. I’m looking for a similar p
user2942394
google-mirror-api google-glass
Steps to Reproduce (unexpected behavior in bold):I successfully create an app contact via the Python Starter App I successfully subscribe to timeline notifications I take a photo with Glass I share that photo with my app contact The photo is duplicated on the timeline The app’s callbackUrl is never pinged (yet POSTing manually via curl works fine) Attempting to delete the duplicated photo card makes the Glass OS glitch out until reboot
Web site is in building
I discovery a place to host code、demo、 blog and websites.
Site access is fast but not money