0

I would like to add to an app the directions from the Google maps as seen bellow, but the information to come from the google maps when I am starting the navigation (a route on the main Maps App. Would that be possible? And if yes, where would I start?
enter image description here

EDIT: This post describes better the issue I'm having, and it even provides a Kotlin library that can be used.

2 Answers 2

0

You can use Mapbox API for Navigation. It's a very great library to use.

Check this tutorial for implementation.

Check the example that you want exactly.

Basic UI Navigation Example

BETA => Turn-by-turn navigation

1
  • Thank you for the answer, but what I want is to use the already opened GoogleMaps app to retrieve the directions information and to implement them in my app (to show only some direction arrow, the distance to the next intersection --> like in the dashboard of the new vehicles). I do not want to build a new navigation app. Aug 3, 2021 at 19:42
0

This can be solved using the notification Listener Service. There is a Kotlin library that can be used.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.