google-glass

How does NodeAPI in Google Play Services work?

喜你入骨 提交于 2020-01-04 06:28:07
问题 I was trying to find the list of Nodes via getNodes() method in NodeAPI in GooglePlayServices. I have one LG G Live watch, one Samsung Gear 2 (Tizen OS) and one Google Glass. My LG G Watch has a connection with a companion APP (via GoogleAPIClient) on phone (Samsung S4). I have one application which checks if the watch is connected with phone, and if not connected, notify user about the same. I was using getNodes() method for this, and I connected glass and gear with phone with "My Glass" and

Exchange data between google-glass and a android device

ε祈祈猫儿з 提交于 2020-01-03 21:50:16
问题 The scenario: I have a android app running my in cellphone. I´m the owner of this app. I have a google-glass synced with this cellphone. I´m developing a my app for google-glass using the new GDK launch a few weeks ago. I want to send a data from glass to cellphone and then receive a answer. No internet connection is necessary, so i´m planning to use Bluetooth to this data communication. I can create a Bluetooth socket connection, however this will obligate me to manage it. There is no

Is it possible to take a photo using Google Glass without “tap to accept”?

喜你入骨 提交于 2020-01-03 13:29:47
问题 I'm following the code here to capture an image with the Google Glass camera. https://developers.google.com/glass/develop/gdk/media-camera/camera#capturing_images_or_video Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); startActivityForResult(intent, 1); Everything is working fine, except that the camera activity requires the user to "tap to accept". Is it possible to just take the photo after a second or so? This is how the built-in camera app works, I just say "ok glass, take a

TWO_SWIPE_DOWN TAP unable to catch on Google Glass GDK (XE16)

十年热恋 提交于 2020-01-03 09:09:48
问题 In Google Glass XE16 GestureDetector can detect several gestures like LONG_PRESS, SWIPE_DOWN, THREE_LONG_PRESS, TWO_SWIPE_DOWN , TWO_TAP & SOME OTHER GESTURES. In glass TWO_SWIPE_DOWN is like shortcut option to cancel everything and go to black screen. After that black screen it comes "ok glass" . But I need to override the TWO_SWIPE_DOWN TAP so that user can not go outside the application in this way. I want to show the user specific message in the time of tapping TWO_SWIPE_DOWN. I have code

TWO_SWIPE_DOWN TAP unable to catch on Google Glass GDK (XE16)

牧云@^-^@ 提交于 2020-01-03 09:08:04
问题 In Google Glass XE16 GestureDetector can detect several gestures like LONG_PRESS, SWIPE_DOWN, THREE_LONG_PRESS, TWO_SWIPE_DOWN , TWO_TAP & SOME OTHER GESTURES. In glass TWO_SWIPE_DOWN is like shortcut option to cancel everything and go to black screen. After that black screen it comes "ok glass" . But I need to override the TWO_SWIPE_DOWN TAP so that user can not go outside the application in this way. I want to show the user specific message in the time of tapping TWO_SWIPE_DOWN. I have code

How can I read qr code inside GDK app?

僤鯓⒐⒋嵵緔 提交于 2020-01-02 13:56:16
问题 I want to read qr code from GDK app to get authorization token. Is there any build in methods to read QR codes in GDK? 回答1: QR code could be obtained from bitmap using this ZXing library To get the bitmap Glass camera intent could be used. 回答2: This worked for me. Intent objIntent = new Intent("com.google.zxing.client.android.SCAN"); objIntent.putExtra("SCAN_MODE", "QR_CODE_MODE"); startActivityForResult(objIntent, 0); 回答3: You can read QR using the library located at https://code.google.com

Want to create apps for google glass.

梦想的初衷 提交于 2020-01-02 07:46:05
问题 I want to create a new app from the beginning in eclipse using java. I have android sdk, Google app engine, maven with my eclipse. Then how I start? Google quick start tutorial is little bit clumsy. I just want to make a timeline card and want to pass value "Hello World". Then want to view from my Google glass. 回答1: Update: GDK Preview 11/19/13 https://developers.google.com/glass/develop/gdk/index And Finally: here is how to hello world in Glass.. Create a basic hello world apk. Install the

Will GDK (Glass NDK?) Support OpenGL ES?

偶尔善良 提交于 2020-01-02 07:31:28
问题 Does anyone know, will Google Glass support OpenGL ES? If so will it be 1.1? 2? WebGL? I am sure this will probably have to be done using the GDK (GNDK?) when it is released but are there plans to make it possible? 回答1: Yes it supports OpenGLES (same as of Android 4.0.4 release) - I've side loaded and tested a OpenGLES open source game Seven Wonders with minor modifications (removed ads) and it performs well. 回答2: In the Developing For Glass session at Google I/O (the video seems to be down

Google Glass Android Studio Gradle issues

落花浮王杯 提交于 2020-01-02 07:11:10
问题 I am trying to build my first Google Glass app, using Android Studio 0.5.4. But am getting a build error: Error:Module 'TestApplication-TestApplication': platform 'Google Inc.:Glass Development Kit Sneak Peek:15' not found. As you can see the GDK, and all necessary library files are installed. I have looked at a few different questions about this already, primarily Google Glass: GDK with Android Studio Android Studio || GDK 'hello word' || import com.google.android.glass.app.Card || Cannot

Bluetooth Pairing Google Glass

二次信任 提交于 2020-01-01 21:55:30
问题 Using Google Glass, I am able to discover Bluetooth devices and see their address and information. However, I cannot get the Glass to pair (bond) with them. Update Following the instructions on this page now I'm trying to get the bonding, but for some reason the BluetoothDevice.ACTION_BOND_STATE_CHANGED.equals(action) is never happening. private void pairDevice(BluetoothDevice Ddevice) { Log.d("MY_LOG", "Try to pair " + Ddevice.getName()); try{ Method m = Ddevice.getClass().getMethod(