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 Using Android Phone

In this section, you will learn to test what you have created so far using your Android phone and Visual Studio. There are a few steps you need to perform before you can deploy and test what you created on your phone:

  1. On your Android phone, go to Settings | System | About.
  2. Hit the Build number seven times, until you come to a prompt asking you whether you want to make your phone into a development phone.

The following screenshot show Build number, which you need to hit seven times to make your phone into a development phone:

Build number
  1. Go to Settings | System | Developer options.
  2. Make sure the USB debugging option is enabled.

The following screenshot shows enabling USB debugging:

USB debugging
  1. Open Visual Studio 2017.
  2. Go to File | Open | Project/Solution, go to your MyPodCast directory, and choose the MyPodCast.sln file.
  3. Connect your USB to...