
Google’s Voice Actions in their voice search on Android are pretty slick. Being able to play a song with a phrase is definitely a time-saver for most people. But how exactly does the code work?
I’m no code-monkey, but Tim Bray explains how they used a new Intent to accomplish it. Here’s a brief explanation of it:
If you develop a music app that supports open-ended music search, you can make it work with users speaking “listen to” Voice Actions simply by registering for the new intent we’ve defined. This new intent isn’t defined as a constant in the SDK yet, but we wanted to make sure music app developers had all the information needed to use it right away.
For a glimpse at the code hit up the link below and check it out.
[via android dev blog]