O'Reilly logo

Voice Application Development for Android by Zoraida Callejas, Michael F. McTear

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

Developing applications with the Google speech recognition API

The components of the Google speech API (package android.speech) are documented at http://developer.android.com/reference/android/speech/package-summary.html. Interfaces and classes are listed here and further details can be obtained by clicking on them.

There are two ways in which speech recognition can be carried out on an Android device: based solely on a RecognizerIntent approach, or by creating an instance of SpeechRecognizer. The former provides an easy-to-program mechanism with which it is possible to create apps that use speech recognition by starting the Intent class and processing its results. The apps following this scheme will present a dialog providing feedback to the user ...

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