2015-07-20 124 views
0

我想弄清楚如何啓動一個應用程序(WP 8.1 RT)在前臺使用Cortana。我發現這個鏈接here。我可以很好地創建VCD文件,問題是下面的命名空間不存在,所以我無法安裝VCD xml命令。Windows Phone啓動應用程序與語音命令在Cortana

Windows.ApplicationModel.VoiceCommands; 

我是否缺少DLL?我似乎無法找到它。另外,我正在使用VS2013和Windows 8.1。

回答

1

您應該按照this documentation for 8.x。你想要的命名空間是Windows.Phone.Speech.VoiceCommands

+0

謝謝彼得。因此,您提供的文檔適用於Windows Phone 8和Windows Phone 8.1 Silverlight應用程序嗎?我只是構建了一個快速原型,所以我很好地使用Silverlight應用程序。我注意到在Windows 8.1 RT應用程序中無法識別Windows.Phone.Speeh.VoiceCommands命名空間。那麼Universal Apps不支持它嗎? – kernanb

+1

Windows 8.1根本不支持語音命令。 Windows 10(所有設備)通過原始問題中的命名空間支持語音命令。 –

相關問題