问题
I'm trying to figure out how to launch an app (WP 8.1 RT) in the foreground using Cortana. I found this link here. I can create the VCD file fine, the problem is the below namespace doesn't exist, so I can't install the VCD xml commands.
Windows.ApplicationModel.VoiceCommands;
Am I missing a DLL? I can't seem to find it. Also, I'm using VS2013 and Windows 8.1.
回答1:
You should follow this documentation for 8.x. The namespace you want is Windows.Phone.Speech.VoiceCommands.
来源:https://stackoverflow.com/questions/31526955/windows-phone-launch-app-with-voice-commands-in-cortana