Free Sample
+ Collection

Voice Application Development for Android

Michael F. McTear, Zoraida Callejas

A practical guide to develop advanced and exciting voice applications for Android using open source software
RRP $21.99
RRP $36.99
Print + eBook

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781783285297
Paperback134 pages

About This Book

  • A comprehensive guide containing all the best practices for voice application development for Android
  • Progress quickly from basic apps to more advanced topics
  • Written in an easy-to-follow style with detailed descriptions of the included code examples to help you learn quickly and efficiently
  • You can download the updated code here

Who This Book Is For

Voice Application Development for Android is for all those who are interested in speech technology and for those who, as owners of Android devices, are keen to experiment with developing voice apps for their devices. It will also be useful as a starting point for professionals who are experienced in Android application development but who are not familiar with speech technologies and the development of voice user interfaces. Some background in programming in general, particularly in Java, is assumed.

Table of Contents

Chapter 1: Speech on Android Devices
Using speech on an Android device
Designing and developing a speech app
Why Google speech?
What is needed to create a Virtual Personal Assistant?
Chapter 2: Text-to-Speech Synthesis
Introducing text-to-speech synthesis
The technology of text-to-speech synthesis
Using pre-recorded speech instead of TTS
Using Google text-to-speech synthesis
Developing applications with Google TTS
Chapter 3: Speech Recognition
The technology of speech recognition
Using Google speech recognition
Developing applications with the Google speech recognition API
Chapter 4: Simple Voice Interactions
Voice interactions
VoiceSearch app
VoiceLaunch app
VoiceSearchConfirmation app
Chapter 5: Form-filling Dialogs
Form-filling dialogs
Implementing form-filling dialogs
MusicBrain app
Chapter 6: Grammars for Dialog
Grammars for speech recognition and natural language understanding
NLU with hand-crafted grammars
Statistical NLU
The GrammarTest app
Chapter 7: Multilingual and Multimodal Dialogs
Chapter 8: Dialogs with Virtual Personal Assistants
The technology of VPA
Making an appropriate response
The VPALib library
Creating a Pandorabot
Sample VPAs – Jack, Derek, and Stacy
Chapter 9: Taking it Further
Developing a more advanced Virtual Personal Assistant

What You Will Learn

  • Use text-to-speech synthesis so that your device can talk to you
  • Enable your device to recognize your speech
  • Create simple voice interactions to get information and carry out commands
  • Develop a voice app that engages in a dialogue with you to collect the information required to perform a transaction
  • Use grammars to enable your app to understand the meaning behind your words
  • Make use of different languages in your apps
  • Add multimodal interaction to your apps as an alternative to speech
  • Build a voice-based personal assistant using an open source development platform for chatbots

In Detail

Speech technology has been around for some time now. However, it has only more recently captured the imagination of the general public with the advent of personal assistants on mobile devices that you can talk to in your own language. The potential of voice apps is huge as a novel and natural way to use mobile devices.

Voice Application Development for Android is a practical, hands-on guide that provides you with a series of clear, step-by-step examples which will help you to build on the basic technologies and create more advanced and more engaging applications. With this book, you will learn how to create useful voice apps that you can deploy on your own Android device in no time at all.

This book introduces you to the technologies behind voice application development in a clear and intuitive way. You will learn how to use open source software to develop apps that talk and that recognize your speech. Building on this, you will progress to developing more complex apps that can perform useful tasks, and you will learn how to develop a simple voice-based personal assistant that you can customize to suit your own needs.

For more interesting information about the book, visit


Read More