Windows Phone Launch App with Voice Commands in Cortana

时光毁灭记忆、已成空白 提交于 2019-12-25 04:43:10

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!