google-glass

Send camera stream from Google Glass to Android device

谁说胖子不能爱 提交于 2019-12-23 05:07:05
问题 I'm trying to write a client-server type of application. Client app installed in Google Glass uses the camera for video capture. The image frames are sent over to the server app installed in an android smartphone. I am currently doing this via Bluetooth which seems to be slow. My current image settings is 320x240, 4 channels. Each frame sent is about 307200bytes which might be too big for Bluetooth to handle but I'm not so sure. It takes about 2 seconds for each frame to be written to the

Get Google Glass Name or Email

筅森魡賤 提交于 2019-12-23 04:47:44
问题 Is there a way to get the current glass username/email or some identification (maybe Mac address) of a current glass user in a GDK application? For example they are signed into gmail. I just want to know their email... For registration or to help create a unique account, Is that possible? 回答1: Based on what you are trying to do, You don't need their email to create a unique ID for account. You can use Mac Address . Code to get the Mac Address : WifiManager wifiManager = (WifiManager)

Google Cloud Messaging on Google Glass

馋奶兔 提交于 2019-12-23 03:18:10
问题 Has anyone attempted Google Cloud Messaging from Google Glass?? I am guessing there may be an issue with Google Play services, but I have not looked deep into it yet and wanted to see if anyone had tried. 回答1: You can get GCM working (just tested) using the old deprecated way with gcm.jar from the android sdk. See http://androidmyway.wordpress.com/2012/07/09/gcm-demo/ 回答2: As people report, there are no Play Services on Glass: issue on google-glass-api tracker. This means you can't use

Glassware with listed command is not visible in menu after upgrade to XE16

风格不统一 提交于 2019-12-23 02:20:34
问题 My app is using the "play a game" command to be started by voice command and be visible in the Google Glass menu. After upgrading to XE16 it disappeared from the menu and I could not find any upgrade notes for developers to make it work. What changes needs to be made for the voice start command to work on the upgraded glass version ? 回答1: After upgrade to XE16 the following changes must be made for voice activation and enlisting in menu. Listed voice commands: Listed commands are commands

OpenGL in live cards?

北城余情 提交于 2019-12-22 12:34:17
问题 I've been playing with the glass GDK and glass 'native' (Java) development in general. I've got a open GL app that works well enough on Glass (using standard android conventions) and I'm looking to port it to the GDK to take advantage of voice triggers and what not. While I can certainly use it easily enough as an Immersion (I think anyway) what I'd like to do is use it as a Live Card. I'm just not sure how possible or practical this is. The documentation seems to imply that with a high

Glass Development Kit installed but not found by Android Studio

▼魔方 西西 提交于 2019-12-22 12:23:28
问题 I get a Gradle Sync error saying "Failed to set up SDK": Error: Module 'app': platform 'Google Inc.:Glass Development Kit Preview:19' not found. I have Glass Development Kit Preview from Android API 19 installed. My build.gradle(Module: app) is updated to reflect that: compileSdkVersion 'Google Inc.:Glass Development Kit Preview:19' buildToolsVersion '25.0.0' I've looked at similar problems and I seem to have my build.gradle set up properly. How can I get the Gradle Sync to recognize my GDK?

Android Studio 1.3.1 and Google Glass — Create New Project | Target Android Devices | Glass Not Installed

泪湿孤枕 提交于 2019-12-22 09:48:27
问题 When attempting to create a new project in Android Studio 1.3.1 (Win 8.1), I am not able to select " Glass " on the " Target Android Devices " screen. The Glass SDK is not selectable (disabled) and shows "Glass (Not Installed)". However, when I examine the SDK Manager, it shows the "Glass Development Kit Preview, Android 19, Rev 11" listed under Android 4.4 (KitKat) as installed. I see it as Installed in both the new Default Settings | Appearance & Behavior | System Settings | Android SDK and

Google Glass GDK Authentication using PHP

末鹿安然 提交于 2019-12-22 09:07:46
问题 I am trying to follow this link to authenticate user in GDK: https://developers.google.com/glass/develop/gdk/authentication It gives example in Java, but my webpage uses PHP. I know I have to use https://github.com/google/google-api-php-client/blob/master/src/Google/Service/Mirror.php I am stuck with service auth page making call to mirror.accounts.insert. Not sure how to implement the service auth page. Any example would be great help. [SOLVED] Working example is here: http://goo.gl/DVggO6

Is it possible to use the micro USB on Google Glass to connect to another type of micro USB device for data transfer while the Glass is in use?

左心房为你撑大大i 提交于 2019-12-22 08:04:02
问题 Is it possible to use the micro USB on Google Glass to connect to another type of micro USB device for data transfer while the Glass is in use? This is basically for a sensor that has a micro USB output but can't be sent over WIFI or Bluetooth due to industry regulations. Obviously, I'd have to write some software but my question is in terms of the hardware itself. Thanks! 回答1: According to https://code.google.com/p/google-glass-api/issues/detail?id=258 It would appear from dmesg that the

How to display static map on card using GDK?

北城余情 提交于 2019-12-21 05:35:15
问题 In Mirror API we can use something like: <img src="glass://map?w=240&h=360&marker=0;42.369590, -71.107132&marker=1;42.36254,-71.08726&polyline=;42.36254, -71.08726,42.36297,-71.09364,42.36579,-71.09208,42.3697, -71.102,42.37105,-71.10104,42.37067,-71.1001,42.36561, -71.10406,42.36838,-71.10878,42.36968,-71.10703" height="360" width="240"> And it renders nice Glass-optimized map on card. How to do the same thing in Activity using GDK? 回答1: I ended up writing this method which displays user's