简体   繁体   English

在Cortana中具有语音命令的Windows Phone启动应用

[英]Windows Phone Launch App with Voice Commands in Cortana

I'm trying to figure out how to launch an app (WP 8.1 RT) in the foreground using Cortana. 我试图弄清楚如何使用Cortana在前台启动应用程序(WP 8.1 RT)。 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. 我可以很好地创建VCD文件,问题是下面的命名空间不存在,因此无法安装VCD xml命令。

Windows.ApplicationModel.VoiceCommands;

Am I missing a DLL? 我是否缺少DLL? I can't seem to find it. 我似乎找不到。 Also, I'm using VS2013 and Windows 8.1. 另外,我正在使用VS2013和Windows 8.1。

You should follow this documentation for 8.x . 对于8.x,应遵循此文档 The namespace you want is Windows.Phone.Speech.VoiceCommands . 所需的名称空间是Windows.Phone.Speech.VoiceCommands

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM