playMaker

Author Topic: How to open Url from my app in google maps app, not in a www browser  (Read 4380 times)

KrzysztofZuk

  • Playmaker Newbie
  • *
  • Posts: 16
Hello, I'm trying to open Url with specified location in my unity android map , but when I use playmaker action "Application Open Url" (downloaded from Eco System) my app open it in www browser. Is there posibility to force my unity app to open map links in google map app:) ?  Mayby I must use another struct of my url to make it work ?
I tried links like:
https://www.google.com/maps/dir/
https://www.google.com/maps/dir/?api=1&parameters
but this not work for me :(.

Cheers!

Edit:
Hmm, on Android 6.0.1 links are opened on google maps app, so here it's working like i want :), but on device with Android 4.3 my app open it on www browser :O
« Last Edit: May 18, 2018, 03:27:52 PM by KrzysztofZuk »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Hi

Have you tried something like this?
Code: [Select]
http://maps.google.com/maps?q=London)

KrzysztofZuk

  • Playmaker Newbie
  • *
  • Posts: 16
Hello, thank you for answer :). Hmm, I just checked this link (http://maps.google.com/maps?q=London), and my Unity app with Android 4.3 only minimalize self , and don't open anything after runing "open url action". But I think that today a small number of user use Andoird 4.3 so I will use "https://www.google.pl/maps/place" link and they will open google maps from www browser :).

Cheers!