Book Image

Voice User Interface Projects

By : Henry Lee
Book Image

Voice User Interface Projects

By: Henry Lee

Overview of this book

From touchscreen and mouse-click, we are moving to voice- and conversation-based user interfaces. By adopting Voice User Interfaces (VUIs), you can create a more compelling and engaging experience for your users. Voice User Interface Projects teaches you how to develop voice-enabled applications for desktop, mobile, and Internet of Things (IoT) devices. This book explains in detail VUI and its importance, basic design principles of VUI, fundamentals of conversation, and the different voice-enabled applications available in the market. You will learn how to build your first voice-enabled application by utilizing DialogFlow and Alexa’s natural language processing (NLP) platform. Once you are comfortable with building voice-enabled applications, you will understand how to dynamically process and respond to the questions by using NodeJS server deployed to the cloud. You will then move on to securing NodeJS RESTful API for DialogFlow and Alexa webhooks, creating unit tests and building voice-enabled podcasts for cars. Last but not the least you will discover advanced topics such as handling sessions, creating custom intents, and extending built-in intents in order to build conversational VUIs that will help engage the users. By the end of the book, you will have grasped a thorough knowledge of how to design and develop interactive VUIs.
Table of Contents (12 chapters)

Testing the Podcast's Application in the Car

In this section, you will learn to deploy your project and play the podcast in your car using Android Auto. In this example, I will be using a 2018 Buick Regal Sportback, but the Android Auto setup should be similar in other cars.

Here are the steps to set up and test your Android podcast project:

  1. Start your car
  2. On the car's dashboard, go to Settings | Android Auto
  3. Enable Android Auto

The following image shows the Android Auto settings in the car:

Android Auto car settings
  1. Connect your phone to the car using the USB.
  2. From the car dashboard, find Android Auto and select it.

The following image shows the Android Auto start button on your car's dashboard:

Android Auto in the car
  1. On your phone, you will be getting Android Auto setup prompts about What will Android Auto do? Click Continue:
Android Auto setup prompt...