Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start navigation using an address from other apps #41

Open
javaherisaber opened this issue Sep 12, 2023 · 3 comments
Open

Start navigation using an address from other apps #41

javaherisaber opened this issue Sep 12, 2023 · 3 comments

Comments

@javaherisaber
Copy link

javaherisaber commented Sep 12, 2023

It is possible to open route navigation from the current location to an address?

in Waze and GoogleMaps we can do it this way:

GoogleMaps

val uri = Uri.parse("google.navigation:q=Kruisstraat 77, Einhoven")
val intent = Intent(Intent.ACTION_VIEW, uri)
intent.setPackage("com.google.android.apps.maps")
startActivity(intent)

Waze

val uri = Uri.parse("https://waze.com/ul?q=Kruisstraat 77, Einhoven&navigate=yes")
val intent = Intent(Intent.ACTION_VIEW, uri)
intent.setPackage("com.waze")
startActivity(intent)

Is there a way to achieve this in Maps.me?

@biodranik
Copy link
Contributor

Check https://omaps.app/api

@javaherisaber
Copy link
Author

javaherisaber commented Sep 12, 2023

@biodranik
Using the deep link from the link you provided gives me Unknown place error in maps.me,

val uri = Uri.parse("ge0://o4B4pYZsRs/Kruisstraat_77_Einhoven")
val intent = Intent(Intent.ACTION_VIEW, uri)
intent.setPackage("com.mapswithme.maps.pro")
startActivity(intent)

@ansmlc
Copy link

ansmlc commented Apr 1, 2024

Any updates on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants