Communicate with the app by voice

  • The Android for Cars App Library now supports using the car's microphone for voice input to enable features like in-app digital assistants.

  • An on-screen indicator is displayed while voice recording is in progress.

  • The recorded voice input is sent directly to the app for processing and follow-up actions and is not saved within the library.

  • A sample flow demonstrates the user interaction from tapping the microphone button to receiving a response via a toast message.

To support building features such as an in-app digital assistant, the Android for Cars App Library now lets you use the car's microphone to record voice input from the driver.

When recording is in progress, an indicator appears on the screen. The recording is sent directly to the app (not saved within the library) for processing and follow-up actions.

Sample flow

User action Where action is performed Step count after action
The user taps the app's microphone button (on the action strip) to start voice input. Navigation template

Navigation template during the user's journey with microphone, volume, and settings buttons in the action strip

1
While the user is talking, a visual indicator signals that recording is in progress. Navigation template

Navigation template during the user's journey with voice overlay

1
A toast message tells the user that the app has understood and responded to the user's spoken instructions. Navigation template (refresh)

Navigation template during the user's journey with toast message

1