google-glass

how to connect Android phone with Google Glass for data sharing

孤街浪徒 提交于 2019-12-03 16:50:25
I've made my app running on the Google Glass, but it's a little slow in real time. Is there a way to connect my Android phone with the Glass for data communication, so that the phone can take care of the calculation, and the Glass only show the result? The Glass can tether with Android phone by bluetooth, so it should be able to transmit data via it? Don't know if it's possible to run my app on cloud server and send the result back to my Glass, but guessing that would be slow as well. Any suggestion is more than welcome! thanks. Yes, you can connect your Android phone with Glass for data

How do I create a dark Google Maps image for Google Glass?

我的未来我决定 提交于 2019-12-03 16:41:52
I need to create a dark/inverted map image for use on Google Glass, since the standard Google static maps image is too bright when displayed on the screen. How can I customize the map theme to look good on Glass? The Google Static Maps API provides a number of customization options to change the colors of the map features. Here's an example of an activity that loads a dark/inverted static map image and displays it in a full-screen ImageView on Glass. The description of the query parameters used to construct the URL can be found in the documentation for the Google Maps Static Maps API . public

Location on Google Glass

亡梦爱人 提交于 2019-12-03 16:27:55
Is it possible to get the user's location without using the Mirror API? The hacking glass Google I/O video mentioned several android apis currently work and listed gps as one of them, however I have not had luck so far. I know Glass does not have GPS itself and must use the paired phones GPS. Would be awesome if we could use existing android location manager or newer Google play services location apis! Bill Yes, you can - if you use the GDK examples as a base and follow the Location Strategies ( http://developer.android.com/guide/topics/location/strategies.html ). For a specific example, I

Is it possible to play with Google Mirror API without having the device?

∥☆過路亽.° 提交于 2019-12-03 10:51:53
I've been reading the documentation and playing at https://glass-java-starter-demo.appspot.com/ but it seems there is no way to further investigate since when following the instructions from https://developers.google.com/glass/playground at my https://code.google.com/apis/console/ the Google Mirror switch is not showing up. Is there any workaround? According to issue #2 on the tracker ( https://code.google.com/p/google-glass-api/issues/detail?id=2 ) access is currently restricted to members of the Explorer program with Glass. With the release of XE12, the Mirror API is open to all developers.

Google Glass is not listed as Android Device by ADB

一笑奈何 提交于 2019-12-03 09:21:16
问题 I'm trying to deploy a glassware .APK to a Google Glass device but it doesn't listed by ADB. I followed several guides which describe how to connect the Google Glass to the Windows 8 OS: glassdev codeproject stackoverflow I did the following in order to connect the device to my PC. 1.Installed USB driver thought Android SDK Manager 2.Updated android_winusb.inf file and included required lines to identify the device: https://dl.dropboxusercontent.com/u/83972129/android_winusb.inf these ids I

Deadline exceeded while posting multiple cards to timelines with a video attached

早过忘川 提交于 2019-12-03 09:04:52
first of all i'm using python over gae and i'm trying to push a card with a video attachment to all the users that visited my glassware. This is the code: #posting video media_link = util.get_full_url(self, '/static/video/man_on_the_moon.mp4') resp = urlfetch.fetch(media_link, deadline=2000) media_video = MediaIoBaseUpload(io.BytesIO(resp.content), mimetype='video/vnd.google-glass.stream-url', resumable=True) users = Credentials.all() for user in users: creds = StorageByKeyName(Credentials, user.key().name(), 'credentials').get() mirror_service = util.create_service('mirror', 'v1', creds)

Way to nest multiple voice triggers when launching an app with GDK

故事扮演 提交于 2019-12-03 08:26:24
问题 Is there a way to nest voice triggers when launching an app on Google Glass using the GDK? For example instead of just saying "ok, glass" -> "What's its power level?" I'd like to have the app present an option. For example "ok, glass" -> "What's its power level?" -> "Over 9000" OR "Under 9000". Any help would be great! 回答1: If you have multiple activities/services installed on Glass that have the same voice trigger intent filter, all of their names (based on the android:label attribute of the

Create “ok glass” style menu, within glass app

有些话、适合烂在心里 提交于 2019-12-03 06:20:59
问题 I have just begun developing for Google Glass, and I knew the GDK if fairly new so this may not be possible yet, but here's what I'm trying to to: As with the "make a call" prompt or the "send a message to" prompts on the "okay glass" screen, I would like my app to have more voice selected options when you select it with your voice. With the two examples, you will see a list of contacts, which you can nod your head up and down to see more of, and the app will only take further actions one you

Hello World program for Google Glass - Step by Step

旧巷老猫 提交于 2019-12-03 02:50:34
I started reading stuff on Google Glass development one week ago, including this . However, I still could not find a tutorial to develop a "complete hello world program". What I meant by "complete" is; where to get the API, how to set up the API, how to write the hello world UI, how to write the code for the UI, how to install the emulator/simulator and test it. For an example, if you take a Java / Android / C++ / C# book, the first chapter is a hello world program, the "complete note" which explains how to develop it, step by step, making sure the new user is not in a mess. I went through the

Google Glass is not listed as Android Device by ADB

空扰寡人 提交于 2019-12-02 23:43:14
I'm trying to deploy a glassware .APK to a Google Glass device but it doesn't listed by ADB. I followed several guides which describe how to connect the Google Glass to the Windows 8 OS: glassdev codeproject stackoverflow I did the following in order to connect the device to my PC. 1.Installed USB driver thought Android SDK Manager 2.Updated android_winusb.inf file and included required lines to identify the device: https://dl.dropboxusercontent.com/u/83972129/android_winusb.inf these ids I found under the device "hardware id" setting: USB\VID_18D1&PID_9001&REV_0216 USB\VID_18D1&PID_9001 3