google-gdk Questions

2

Solved

I read this article, which claims Google glass can autofocus. However, this code returns false: getPackageManager().hasSystemFeature(PackageManager.FEATURE_CAMERA_AUTOFOCUS) I could not find a ...
Apure asked 25/12, 2013 at 21:44

1

Solved

In search for a way to implement contextual voice commands with Google's GDK i came across this post. Yet, the example code seems to work only in XE12 not in XE16+. I tested this code recently, but...
Rustle asked 3/5, 2014 at 6:43

1

I am trying to send an image taken from Glass with below code... Intent emailIntent = new Intent( android.content.Intent.ACTION_SEND); emailIntent.setType("plain/text"); emailIntent.putExtra(andro...
Galactopoietic asked 29/4, 2014 at 7:45

3

Speaking "ok glass" brings up a command list that automatically scrolls based on the user's head motion. Is there a built-in UI element in the GDK that implements this? Or will I have to write my ...
Idle asked 5/2, 2014 at 16:39

3

Solved

Method getLastLocation() from LocationManager often return null and it's quite tricky to select best provider. The documentation says: Warning: Do not use the LocationManager.getBestProvider() m...
Soursop asked 26/1, 2014 at 14:34

2

Solved

I have a GDK app that worked fine in XE12 but now crashes in XE16 after transitioning to GDK:19. In particular, calling openOptionsMenu() in an Activity (in this case, to open an options menu on a ...
Goad asked 16/4, 2014 at 8:18

1

Solved

I had a Glassware that launched using a voice command on the ok glass menu. It worked great in XE12, but in XE16 it does not show up in the main menu. Here's a snippet from my AndroidManifest.xml ...
Anasarca asked 16/4, 2014 at 2:16

4

Google Glass Development kit was released yesterday. But, I can't find any emulator. Where is it? Is there any emulator like an android emulator out there, where we can test these native google gla...
Kathyrnkati asked 20/11, 2013 at 16:39

1

I have a service that is running in the same process. <service android:name=".service.GlassService" android:exported="true" android:label="@string/app_name" /> I start the service usin...
Chane asked 19/3, 2014 at 10:5

5

Solved

I can get the sample APK CompassActivity app to run on Glass but no luck with LevelActivity or StopWatchActivity? I am using Eclipse. Log below. Any suggestions? [2013-07-29 17:02:18 - LevelActiv...
Kettle asked 30/7, 2013 at 16:51

2

Solved

I loaded one of the sample GDK apps and ran it on glass using ADT. How do I now delete the App from glass?
Catnap asked 11/12, 2013 at 1:2

6

Solved

I'm jumping head first into Android for Google Glass development and I'd like to know how I can let my client see the .apk that I'm working on. My client owns a pair of Google Glass too but lives ...
Switcheroo asked 25/1, 2014 at 19:13

2

Solved

I have a GDK immersion application, where the launcher Activity acquires aSCREEN_DIM_WAKE_LOCK WakeLock. The app also has a Service which will receive chat messages and starts an Intent for an Acti...
Questioning asked 31/1, 2014 at 16:31

1

Solved

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...
Samarskite asked 31/1, 2014 at 22:25

2

Solved

Can I write and test a Hello World program for Google Glass without actually having it? Is there an emulator I can use to test the app?
Blackbeard asked 9/12, 2013 at 7:50

1

Solved

my glass project is coming along great. I am wondering if it is possible to change the background color of a view. I am using an immersion and my entire app runs on that single view. The entire v...
Extenuate asked 28/1, 2014 at 0:51

1

Solved

I'm interested in changing the text of a card based on some event. Is it possible to change the text of card without calling setContentView() on the Activity? Once the card has been converted into...
Slivovitz asked 24/1, 2014 at 11:39

1

Solved

For Google Glass app I need to override the shortcut button of camera in google glass. Let me explain the scenario : Google glass have shortcut camera button which help to capture image faster. A...
Facile asked 20/1, 2014 at 7:30

1

Solved

I'm trying to select a url from a card to be opened by the glass browser. Is there a way to set or invoke this? The Card API for 'getting a uri' from my examination is for rendering images. http...
Freda asked 13/1, 2014 at 18:57

2

Solved

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 c...
Leatheroid asked 16/12, 2013 at 17:56

1

Solved

In Unity3D is it possible to target the Glass Development Kit (GDK) through Build Settings? The Android API 15 + GDK have been downloaded through the Android SDK Manager. I can successfully build...
Benignant asked 13/12, 2013 at 20:42

2

Solved

It is easy to debug Android applications as most of them launch an activity and keeping breakpoint is all it takes. How to debug a GDK based google glass app as the service is triggered on voice an...
Indihar asked 13/12, 2013 at 19:41

1

Solved

I am trying to get a live camera preview to display in Google Glass. I'm using all of the camera defaults (and have also tried using a few different image formats; ideally, I can use one of the YU...
Agglutinogen asked 13/12, 2013 at 1:42

2

Solved

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 prese...
Karilynn asked 21/11, 2013 at 6:11

2

Is there a theme that we can use in Eclipse or Android Studio for doing XML layouts? I know we should use: <style name="CustomTheme" parent="@android:style/Theme.DeviceDefault"> to get the...
Wappes asked 22/11, 2013 at 16:50

© 2022 - 2024 — McMap. All rights reserved.