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
showing my voice command configuration:
<service
android:name="com.mimming.sugarglider.MapDisplayService"
android:label="@string/app_name"
android:enabled="true">
<intent-filter>
<action android:name="com.google.android.glass.action.VOICE_TRIGGER" />
</intent-filter>
<meta-data
android:name="com.google.android.glass.VoiceTrigger"
android:resource="@xml/show_map" />
</service>
And here's the contents of show_map.xml
, which defines my voice command:
<trigger keyword="@string/show_me_a_map">
<constraints network="true" />
</trigger>
What's wrong?