Sample flows

  • This section provides examples of how to use Android for Cars App Library templates to build common app task flows.

  • Many flows utilize the Navigation template, primarily for navigation apps; other apps can adapt these flows by integrating a navigation app as the final step.

  • Each flow details step counter increments, referencing the "Step counts and refreshes" documentation for context.

  • Sample flows cover permission & sign-in, navigation tasks, and other scenarios like purchasing and voice communication.

  • While most template sequences are consistent across Android Auto and AAOS, permission template sequences differ due to platform-specific handling.

The examples in this section show how to sequence templates from the Android for Cars App Library to create flows for common app tasks.

Many of these sample flows end with the Navigation template, which is only available for navigation apps. Other apps can use versions of these flows by switching to a navigation app as the last step in the flow. For examples, see Access location details and start navigation and Purchase using existing payment method.

Each flow includes details about how the step counter is incremented. For context, see Step counts and refreshes.

Permissions & sign-in

User flows for common permission and sign-in tasks

User flows for common navigation tasks

Other common scenarios

User flows for other scenarios, such as purchasing and voice communication