google-glass

Google Glass - Not receving subscription notifications -

折月煮酒 提交于 2019-12-11 12:49:10
问题 Can someone spot what is wrong? the callback url is a valid ssl url. Also how do we know if google service itself is having issues? I don't yet see posts to my callback url at all on my web server logs.. I don't seem to be getting notifications back. StoredCredentialsDBContext db = new StoredCredentialsDBContext(); TimelineItem item = new TimelineItem() { Creator=new Contact(){DisplayName="DLN Reply Card",Id="TESTREPLYCARD" }, Title = Test Number", Text = "Say Test Number", Notification = new

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

Android studio - gradle - failed to find target with hash string 'Google Inc.:Glass Development Kit Preview:19'

半腔热情 提交于 2019-12-11 10:09:35
问题 Failed to sync Gradle Project ‚HelloGlass‘ Error: Cause: failed to find target with hash string 'Google Inc.: Glass Development Kit Preview:19' in D:\Project\Android-SDK Strangly, this error didn’t appear 3 days ago when I last built the project. I haven’t changed anything or used Android Studio since then. These are the steps that I’ve tried to solve the issue: restarted Android Studio and tried to build again made sure that both gradle and my project use the same path for the Android SDK

Can Mirror Api call an external web service?

萝らか妹 提交于 2019-12-11 09:25:01
问题 I want to develop an app with mirror api for the novel google glasses. Is it possible to call an external web service from the glassware? I have to use this web service to obtain the informations to display in the timeline cards. If it is possible, how I can do it? 回答1: You need to provide a web service that interacts with the user's timeline to insert cards, but you can interact with whatever other web services you want from within yours in order to get the data that you push. Something like

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

how to hide ok glass label from google glass voice menu

可紊 提交于 2019-12-11 08:36:06
问题 Hi I am developing a application fro Google glass ,I want to hide the "OK glass" command which is essential to launch the menu on voice command so is there a way in which i can launch a menu options on voice command without saying the " OK glass " keyword every time. kindly guide me on this. 回答1: You cannot do this at the moment using Contextual voice commands. In my opinion, it was for the best, otherwise the Glass user could occasionally select a menu item unintentionally. Maybe you can

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

How to add library project to an existing android project in AndroidStudio

╄→尐↘猪︶ㄣ 提交于 2019-12-11 05:14:31
问题 how can I add a custom library project (in my example the CuXtomCam library) to an existing android project using Android Studio 1.1? I've read about changing the build.gradle file. But where should I place the library ressources? Thank you in advance for all answers and comments! 回答1: To import library into Android Studio: select File > Import, and then select the directory containing the project to import. a wizard will open and guide you through the rest of the import process. When the