Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Voice Application Development for Android

You're reading from   Voice Application Development for Android A practical guide to develop advanced and exciting voice applications for Android using open source software

Arrow left icon
Product type Paperback
Published in Nov 2013
Publisher Packt
ISBN-13 9781783285297
Length 134 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Toc

Table of Contents (19) Chapters Close

Voice Application Development for Android
Credits
Foreword
About the Authors
Acknowledgement
About the Reviewers
www.PacktPub.com
Preface
1. Speech on Android Devices FREE CHAPTER 2. Text-to-Speech Synthesis 3. Speech Recognition 4. Simple Voice Interactions 5. Form-filling Dialogs 6. Grammars for Dialog 7. Multilingual and Multimodal Dialogs 8. Dialogs with Virtual Personal Assistants 9. Taking it Further Afterword
Index

VoiceSearch app


This app illustrates the following:

  1. When clicking on the Press the button to speak option, the user is prompted to say some words.

  2. The user speaks some words.

  3. VoiceSearch initiates a search query based on the words spoken by the user.

The opening screen has a button asking the user to press and speak. On pressing the button, the next screen displays the Google speech prompt What is your query? The results are displayed in a browser window.

In this case, the app uses the two libraries developed previously: TTSLib (see Chapter 2, Text-to-Speech Synthesis) and ASRLib (see Chapter 3, Speech Recognition). Their jar files are included in the libs folder of the VoiceSearch project. The ASR methods are used to recognize the user input and use it as the search criterion. The TTS is employed to provide spoken feedback to the user about the status of the app.

This app combines the code that was already presented for the TTSWithLib (Chapter 2, Text-to-Speech Synthesis) and the ASRWithLib ...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image