In the previous section, you built the Voice Assistant application. Now, you’ll install it on your Android phone. The easiest way is to enable developer mode and use a USB cable to upload the application.
By default, Android devices ship with developer mode disabled. To enable it, follow these instructions .
Once developer mode is enabled, connect your phone to your computer with USB. It should appear as a running device in the top toolbar. Select the device and click Run (a small green triangle, as shown below). This transfers the app to your phone and launches it.
The app starts with this welcome screen:
Welcome Screen
Tap Press to talk at the bottom of the screen to begin speaking your request.
You can toggle performance counters such as:
Click the icon circled in red in the top left corner to show or hide these metrics:
Performance Counters
To reset the Voice Assistant’s conversation history, click the icon circled in red in the top right:
Reset the Voice Assistant's Context