So far in this chapter we have seen how speech recognition can be harnessed within an app, while the app is in execution. The speech capabilities of Windows Phone also allow your app to subscribe to speech recognition services even when your app is not running in the foreground—or not running at all—using a feature known as voice commands. Voice commands allow users to both launch your app and execute actions within your app.
Voice-command functionality can be added to your app by performing the following steps:
1. Create a Voice Command Definition (VCD) file. This is an XML document that declares all the spoken commands that users can say to initiate actions when launching your app.
2. Add code to register ...