google-gdk

Glass GDK : Contextual voice command with more than 5 items

冷暖自知 提交于 2019-12-12 04:08:59
问题 I am using Contextual voice command, it works great with 5 items. But when I put more than 5 items, I can still use it by saying the words, but the UI doesn't show them. For example if I have : Next Back Up Down Cancel Exit I can say Exit and it work, but I can't see it. Is there a way to custom the view or make it scrollable ? 回答1: Generally on the voice commands if you look up and down by moving your head the list will move. I'm not certain if the contextual voice commands work this way,

Retrieve the Auth Token in GDK

无人久伴 提交于 2019-12-12 02:49:55
问题 Retrieve the Auth Token in GDK After Inserting the Mirror Account Successfully Now getting the Auth Token in APK side (GDK side). Mainfest.xml <uses-permission android:name="android.permission.GET_ACCOUNTS" /> <uses-permission android:name="android.permission.USE_CREDENTIALS" /> Activity Code : AccountManager accountManager = AccountManager.get(this); // Use your Glassware's account type. Account[] accounts = accountManager.getAccountsByType(ACCOUNT_TYPE);//Same Account_type which was passed

GDK : How to show status similar to 'Recording“ and 'Complete”

99封情书 提交于 2019-12-11 18:22:04
问题 I'm developing a GDK app where I need to provide an user experience to display status text similar to video recording status that Glass provides ( displaying "Recording" status then displaying progress indicator and finally showing 'Complete' text ). Appreciate your input. 回答1: Right now, you'll need to write your own UI logic to do this (perhaps by using a Dialog with a custom layout that has the appropriate centered label and icon, with a progress bar at the bottom, and changing the label

Can Google GDK Glass Development Kit used with Vuzix glasses?

心不动则不痛 提交于 2019-12-11 14:04:13
问题 I have a question regarding which glasses / devices the Google Glass Development Kit supports? For our university project we just have the vuzix m100 running on andorid 4.0.3. I cant find a answer on the web, if it is possible to develop with the GDK for vuzix m100 Glass too? thanks! 回答1: which glasses / devices the Google Glass Development Kit supports? It supports Google Glass. For our university project we just have the vuzix m100 running on andorid 4.0.3 You need to purchase an SDK for

Activity has leaked ServiceConnection android.speech.SpeechRecognizer$Connection

試著忘記壹切 提交于 2019-12-11 11:15:54
问题 I'm trying to make a function in google glass that allows me to navigate between the cards without having to say the hotword "ok glass". I tried creating a SpeechRecognizer that will constantly listen if something is being said or not and if the correct "command" is being mentioned the app will act accordingly. However the onError method tells me Error occured: RecognitionService busy. and it's throwing a error that says Activity com.example.sw_stage.topfinder.MainActivity has leaked

Eclipse & adb Not Recognizing Glass as Running Android Device

蹲街弑〆低调 提交于 2019-12-11 09:23:43
问题 So I have a physical Google Glass device attached to my laptop running Windows 8. In Windows Explorer it shows an attached 'Glass 1' device. However when I run a Hello Glass test project in the 'Android Device Chooser' in Eclipse there are no selectable running Android devices. Similarly when I run adb through command prompt, 'adb devices' brings up an empty list of attached devices. What is the issue here and how can I get Eclipse/adb to see the Glass device? 回答1: I've been through this very

Google Glass listing Items

醉酒当歌 提交于 2019-12-11 09:06:54
问题 Lately there have been lots of changes to Google Glass GDK and I'm getting a little confused. I have a list of discovered Bluetooth devices and I want to list them with Name, address and if possible more info (as paired, last connection, etc.) Which method would be the best to do this? ListView? Or is it true that it is no loger supported in GGlass? CardScroll? But then I have to do a bunch of Cards? Is there any other? Thanks! 回答1: ListView s do not conform to best Glass UX practices and you

Is it possible to using voice commands for navigating instead of using swipe gesture?

好久不见. 提交于 2019-12-11 07:50:44
问题 Hi, there Currently, I'm develop an immersion app to provide a text on screen and user can swipe_right to go another one. Actually, It adapt from sample immersion pattern called charades(google development site). My objective is, I want to using voice commands, instead of SWIPE gesture. for example; User open the immersion demo, the screen will show first TEXT. User want to go next TEXT by using voice "GO NEXT" . The screen will show another Text. Considering this post! Is there any way to do

Loading Google Glass GDK sample

两盒软妹~` 提交于 2019-12-11 05:16:48
问题 I have a problem to load Google Glass GDK sample (Compass, Stopwatch, or Timer) to my google-glass. I use Eclipse for this. In the console, it shows me successful message [2014-04-20 19:42:56 - Compass] Installing Compass.apk... [2014-04-20 19:42:58 - Compass] Success! [2014-04-20 19:42:58 - Compass] /Compass/bin/Compass.apk installed on device [2014-04-20 19:42:58 - Compass] Done! This post suggests I use a voice trigger to activate the service (e.g.: "ok glass, show a compass"). But it

Android Studio with ndk and googletest

你离开我真会死。 提交于 2019-12-11 03:52:19
问题 I'm trying to setup my CI server to work with Android Studio. I'm looking to run my unit tests for the NDK through the new UI. I'm using GoogleTest and gcov works beautifully for the code coverage when I build from the command line. The problem I'm running into is that the test configuration that's in the UI works for java, but doesn't add any commands to the gradle build scripts. Thus I can't figure out where to add my commands. This is the source I got the info on how to setup Unit Tests