How to open Maps app from link within app?

How to open Maps app from link within app?



In our mobile app we want to open native navigation app (Maps in iOS and Google Maos on Android) within a link. On iOS we've managed to do so with "

SyntaxEditor Code Snippet


link but on Android none is working :( 

We've tried"geo:0,0?q....", { openExternal: true });

and"google.navigation:q=23.3728831,85.3372199&mode=d" , '_system');

but none of it worked. Using http links  ( opens google maps within the app and only way to return to the app is clicking back arrow...

What is th best practice to open native apps in Android from app?

Thank you

Try to create a link with an href like this,longitude/@latitude,longitude,733m/data=!3m1!1e3!4m4!4m3!1m0!1m1!4e1?hl=en


Don't forget to replace the latitude and longitude variables


Hello Mykola,

I have used in a link with the following URL (RedirectToURL): 


And also an action that executes a simple JavaScript:

window.location = 'geo:40.765819,-73.975866'

Both opened the Maps App in my android.
But of course, in both cases, to return to my app, I had to use the back, or to open the manager and chose my app.

If you want's to open in the InAppBrowser, you can use the following format in Open's URL

In this case, the "X" in the top will close the map.

If this is not what you want, please, let us know.

Eduardo Jauch


The method window.location also accepts your URL: 



Hi Mykola,

I was also looking for the solution for the problem you are facing, And I found exactly what Eduardo have posted above. Eduardo is right to the point, Implement the solution what he has suggested. It may solve your problem.


Hi Eduardo, 

Thank for reply - it worked.