Search code examples
google-glassgoogle-gdk

Application name in Google Glass Menu


In Google Glass the menu shows the launch keyword of an app. But for example, viewfinder shows as:

"Show viewfinder"

And in the launch keywords list as:

"Show the viewfinder".

It is possible show in the menu the application name, and in the voice list the launch keyword?


Solution

  • What you are talking about with your sample "Show viewfinder" is a Listed Voice Command

    If you use in your trigger xml the following code, you will have in your menu "Show Demo", and by voice "Show me a demo" :

    <trigger command="SHOW_ME_A_DEMO" />
    

    It is not possible to have a different sentence by voice and menu if you do not take a listed voice command. If you want to use custom trigger word, use this method : Unlisted Voice Command