Google Glass GDK Voice Input doesn't work anymore since update to XE22 - google-glass

Since the last update of Google Glass I have a problem with voice commands. My app worked very well before the software update, but since it updated to XE22 the "ok glass" doesn't work anymore.
When I start the Glass and come to "ok Glass" screen, I can say "ok Glass" and the List of commads (Take a picture, Google, Make a call to, etc.) open. But then the voice input seems to freeze, when my applications are in this list too. The Glass doesn't react on "ok Glass" anymore. But this don't happen with all of my apps. Some of my apps are excepted, although I use the same way to define the keyword (e.g. like this: <trigger keyword="Open my Application" />).
The same problem occurs in the contextual menu. When I use only 3 contextual menu items, it works very well. But when I use more then 3 menu items the voice input freezes, too. Glass doesn't react on voice commands anymore and I need to restart Google Glass.
Before the update everything worked without any problems. I could start my apps in "ok Glass", as well as use contextual voice commands, which I have created exactly like here (https://developers.google.com/glass/develop/gdk/voice#using_unlisted_main_voice_commands).
Have anyone the same problem with the new software update, or does anyone know what to do? Did anything change in defining voice commands? I searched very long, but I didn't find anything.

Related

Remove "Personalization" pane from Alexa Testing Web Interface

I am currently working on Amazon Alexa via the Amazon Web Developer Console, and they have added a new "personalization" feature that I dont need. It is not enabled for this skill, and I dont intend to do so. Nevertheless, the viewing window for this feature takes up more than half of my screen in the testing window, and I cannot remove it, nor scroll it out of view, which leads to me being unable to properly view the important parts of the testing page, the Skill IO and the display.
Has anyone had this problem? How can I get rid of this personalization window
Screenshot
Terrible design, you can't for now (unless manually removing it on your browser).
Submit a feedback on the page (bottom left) so they will be aware and fix it soon hopefully:

Navigate to the timeline (to the card with bundleId) from within an application

I have a Glass application that is activated by a voice command. The user requests a product and the request is then passed on to a node.js server, which handles the bulk logic of my application. When the node server is done, it builds some HTML templates that it passes on to the Mirror API, which then puts those cards into the timeline of the Glass app.
Now the problem I have is this:
When a user requests something from within the application, he just stays within that application but the cards from the Mirror API are put onto the timeline.
Is it possible to navigate the user from within the application to the timeline item that has just been inserted?
As I build the Mirror API timeline item, I know ahead of time what the bundleId will be on the timeline, so can I use that somehow to navigate to that item on the timeline?
I've had a look here on Stackoverflow, the Glass forums and the official documentation and couldn't see anything that would help.. Anybody here have any ideas?
Currently the only way for forcing a specific card to show in the timeline is by using a LiveCard (https://developers.google.com/glass/develop/gdk/reference/com/google/android/glass/timeline/LiveCard). Live cards will automatically be given focus when published and you can force the timeline to give your card focus after publishing by calling LiveCard.navigate().
So unfortunately unless you want to change some of the fundamentals of your app, this isn't going to be much help.
Though from the sounds of it, you may be able to use a LiveCard to show what is returned from your server. If you want to perform inserts via the mirror API, this could still be done in addition.

Is it possible to register a top-level intent in the Mirror API?

Example "top-level actions" would be "Google," "take a picture," etc.
Is it possible using the Mirror API to register a custom top-level event? "OK Glass, crunchify me."
A secondary question I have is if it's possible to take user speech. Using the "OK Glass, Google" example, the user says a query that Google takes and acts on. Is it possible to capture that for your custom action using the Mirror API?
This is not yet possible with the Glass client nor the Mirror API. However, there is already a filed feature request that you can follow to get updates on the progress.
You can do that right now only if you both root the device (voiding your warranty) and activate what they call "Lab experiments". More specifically one called "Native App Voice", which enables you via AndroidManifest.xml of a native APK deployed to the Glass to enable a voice shortcut on the ok,glass menu to launch an intent to your app.
See: https://gist.github.com/zhuowei/5624527

displaying an icon in the notification bar for a windows service?

i am using the code from this website to create a basic service
http://code.msdn.microsoft.com/windowsdesktop/CppWindowsService-cacf4948
and i want this service to appear as an icon in the toolbar.
would i be able to start and stop the service from the icon?
right now i have to go into the SCM to start and stop the service and it takes too long to scroll down the list and find the service then start or stop it.
some websites are saying this can't be done because you can't interact with a service
is this true?
i don't care if this is a bad idea or shouldn't be done. i just want to know the code if can it be done so can someone please help?
I got a "Please avoid extended discussions in comments" message, so I'm proposing this answer.
Write a icon tray application; this link gives an example of how to do this (also see the "Related Articles" on the right of the article).
When you (right-) click on the tray icon, the icon tray application should determine if the service is already running; if yes, pop up a menu item to stop the service, otherwise pop up a menu item to start the service.
Answers to this StackOverflow question has pointers to how you can manage services using the Windows API.

Add to timeline dialog doesnt appear at all

I am having some issues with facebook's open graph beta add-to-timeline function.
https://developers.facebook.com/docs/opengraph/tutorial/
I am following step by step instructions as mentioned in the text and video tutorial. As soon as I launch my app at https://strong-rain-3190.herokuapp.com/cooking.html the add to timeline button doesnt appear at all. I am not sure whats going on. Have tried many times but no luck.
Is anyone else having the same issue? or if there's any possible solution for this.
This is because you are logged into facebook already.
You can test this by clicking on the Cook button and it would work.
Log out of facebook for the Add to timeline button to show up.