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

VoiceLaunch app

The functionality of this app is as follows:

  1. When clicking on the Press to speak button, the user is prompted for the name of an app.
  2. The user says the name of an app.
  3. VoiceLaunch compares the recognized input against the names of all the apps installed in the device, and launches the one whose name is the most similar.

An application like VoiceLaunch does not require any interface, as the user could just speak the name of the app they want to be launched. However, for illustration purposes, we have created a simple interface in which the user can choose the values of two parameters: a similarity threshold and a similarity criterion, as shown in the following screenshot. The screenshot shows the scenario in which the user has asked ...

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