New feature - adding to-do items through voice commands
Let's get ready to write some code. In the last chapter, we augmented our Today
app to allow us to add to-do items through a paired handheld app. The wearable then surfaced notifications based on configured contexts.
Now, let's spice that up by adding voice interactions to the mix. We'll use the wearable app to take to-do notes through voice commands. This will involve extending the context-aware notifications feature we implemented with the ability to add to-do items using voice inputs. Furthermore, we will supply the context along with the to-do item.
For example, if we were to say "home make dinner", our wearable app will create a to-do item named Make dinner and associate it with the Home
context. In the same way, if we were to say "work set up monthly review meeting", the app will create a to-do item named Set up monthly review meeting and associate it with the Work
context.
A few things to keep in mind before we step through the...