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 | 1 |
While the user is talking, a visual indicator signals that recording is in progress. | Navigation template | 1 |
A toast message tells the user that the app has understood and responded to the user's spoken instructions. | Navigation template (refresh) | 1 |