I am developing a Cortana application and I want to test my application using text queries (as well as voice queries), but Cortana only activates my application when I use voice commands. Is it possible to test the application using only text?
What do I need to change / the program in the application to allow Cortana to call the application based on text queries?
I am using a laptop with Windows 10.
Here is an example of my VCD:
<?xml version="1.0" encoding="utf-8" ?>
<VoiceCommands xmlns="http://schemas.microsoft.com/voicecommands/1.2">
<CommandSet xml:lang="en-us" Name="FruitsCommandSet_en-us">
<AppName>Nutritional</AppName>
<Example>Show nutritional information about fruits.</Example>
<Command Name="GetFruitNames">
<Example>Show the fruit nutritional facts.</Example>
<ListenFor RequireAppName="ExplicitlySpecified">[Show] {builtin:AppName} details for [the] {FruitName}.</ListenFor>
<Feedback>Loading fruit details...</Feedback>
<Navigate />
</Command>
<PhraseTopic Label="FruitName">
</PhraseTopic>
</CommandSet>
</VoiceCommands>
source
share