O'Reilly logo

Windows® Phone 8 Unleashed by Daniel Vaughan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Launching Your App via Voice Commands

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required