Wednesday, September 15, 2010

How does Google’s Voice Action work? Let’s look at the code

How does Google’s Voice Action work? Let’s look at the code: "


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.


Visit TalkAndroid for android news, android guides, and much more!


How does Google’s Voice Action work? Let’s look at the code





"

No comments:

Post a Comment