I am currently speech-enabling my app in Windows Phone 8 by using the VoiceCommandService.InstallCommandSetsFromFileAsync method to install grammar definitions from an XML file.
Using this function, is it possible to load the commands via the isolated storage instead somehow? The idea is that I want to make the commands editable, so that the user can add new commands on his own which will be implemented the next time the application launches.
Currently I am doing this:
await VoiceCommandService.InstallCommandSetsFromFileAsync(new Uri("ms-appx:///Commands.xml"));
I figured out I just had to refer to it by writing
ms-appdata:///local/Commands.xmlinstead ofms-appx:///Commands.xmlto load it dynamically.It was done through guessing and past experiences with similar resources. Pretty weird that there was no documentation on this.