Free driving

VERSION 0.3.1106
PUBLIC PREVIEW

Navigation SDK for Android is only available upon request. Contact us to get started.

When you use navigation without a specified route, it’s called free driving. Free driving provides detailed information about the current location such as speed, speed limit, country, and street name. It also matches the current location of the user to the road. Location details are obtained using the OnLocationContextListener.

At any time, you can change from free driving mode to the turn-by-turn navigation using the TomTomNavigation.update(RoutePlan) method. You can learn more about updating the Route in the Update route guide.

Starting navigation

First, add the navigation module to your project and set up a TomTomNavigation object. Learn how to do this in the Quickstart guide.

If TomTomNavigation is initialized, you can start navigation using the TomTomNavigation.start() method.

tomTomNavigation.start()

To stop any currently running navigation use the TomTomNavigation.stop() method. The method also clears all data related to navigation.

If navigation has not been started, the stop method has no effect.

tomTomNavigation.stop()

center

Next steps

Since you have learned about free driving, here are recommendations for the next steps: