Open a map direct with Google Maps when clicking a link
Goog night.
I have an app with several links to maps that i have created in My Maps. When i click in the link, a pop-up window appear asking me with what app i want to open the link (to my map), i can choose to open it with a web browser or with Google Maps app.
Is there a way to make a button to make Google Maps app open the link direct? Thanks
Postdata: I have google it, and i found that you can do it using intends, but i am not a programer and don't know how to use it. I add the link and the exact part where this is explained.
https://developers.google.com/maps/do...
Package: Calling setPackage("com.google.android.apps.maps") will ensure that the Google Maps app for Android handles the Intent. If the package isn't set, the system will determine which apps can handle the Intent. If multiple apps are available, the user may be asked which app they would like to use.