Search code examples
android-auto

Android Auto : How to get current step count?


There is a Template restriction, the 5th step must be NavigationTemplate, PaneTemplate or MessageTemplate.

I'd like to know How to get the current total number of steps.


Solution

  • You can find how to do it following this link: https://developer.android.com/training/cars/apps#template-restrictions

    Here you find a note on how to Enable debug overlay and you can find it in your debugger.