Get a sneak peek at whats next for Permanent Hazards on our April 7th Office Hours!
These forums are specific to the Waze mobile app. Post here if you experienced a problem while using the app, have a question about the app functionality or a feature such as navigation or search.

Post Reply
Forum rules
Waze App Useful Resources

Android URL Scheme (Launch Waze from Email, web etc)

Post by MaFt
I'm working on a site that I want to offer users the ability to navigate directly to a point using Waze.

On the iPhone I use the info from http://world.waze.com/dev/documentation/ and link to:
waze://?ll=52.123,-1.234&z=6&navigate=yes which opens up the waze app and starts navigating.

However, not everyone has an iPhone/iPad and I want to be able to do the same for Android users too.

Now, I've got the app to open via this link:
http://waze.to/waze://?ll=52.123,-1.234 ... vigate=yes

BUT I cannot get it to navigate to a specific lat/long location. All it does is open the app. Are the URL variables available on the Android version of the app? If not, will they be or shall I solely offer navigation via Sygic on Android handsets?

Thanks in advance

MaFt
MaFt
Posts: 2

POSTER_ID:199330

1

Send a message

Post by AlanOfTheBerg
sugarsmax wrote:Turns out you can do this with Google Maps and some javascript.
Nice! Please add this to the community plugins and extensions in the wiki.
AlanOfTheBerg
EmeritusChamps
EmeritusChamps
Posts: 23627
Has thanked: 568 times
Been thanked: 3478 times
Send a message
Wiki Resources: Map Editing Manual | alanoftheberg@gmail.com
Oregon-based US Ex-Global Champ Editor | iPhone13Pro - VZ

Post by AlanOfTheBerg
moogonk wrote:The solutions I've seen here work with coordinates. Does anyone have a response to the original post which asked for links using an address?
There isn't a way to automatically navigate to an address as there will be multiple search results for it. There's only one lat/lon location possible, so that's why that one can have navigate=yes. The dev documentation say to use ?q=<address search term> to search for the address. User will still probably have to select the one they want and tap Go.
AlanOfTheBerg
EmeritusChamps
EmeritusChamps
Posts: 23627
Has thanked: 568 times
Been thanked: 3478 times
Send a message
Wiki Resources: Map Editing Manual | alanoftheberg@gmail.com
Oregon-based US Ex-Global Champ Editor | iPhone13Pro - VZ

Post by bugshideout
There are two kinds of Google Maps URLs:

http://maps.google.com/maps?daddr=10,10
and
http://maps.google.com/maps?q=10,10

Although both URLs launch Waze, it can only correctly parse the former.

Please fix it so it will parse the latter as well. It is a simple fix.

Thanks

Marcos
bugshideout
Posts: 2
Send a message

Post by bugshideout
tonestertm wrote:
bugshideout wrote:It is a simple fix.
Go ahead, and post the result here.

Sure!
Here is the app that solves that:
https://play.google.com/store/apps/deta ... mapstowaze

and here is the source code for the app: https://github.com/marcosdiez/google_maps_to_waze
bugshideout
Posts: 2
Send a message

Post by gerben
It should be possible... I use an app that tracks communication of emergency departments (mostly fire department). The app has an 'Maps' button. If I press it, I can choose between Google Maps and Waze. When Google Maps is chosen, Maps is started, centered on the location. If I choose Waze, Waze is started and a route to the location is started.

I have no idea what the exact url is though. I am rather sure the app developer did not include something special for Waze, so the url that is used for G Maps should work for Waze too.
gerben
Posts: 4782
Has thanked: 13 times
Been thanked: 175 times
Send a message
Nokia Lumia 920 (WP8 3.7.6 client)
Countrymanager The Netherlands
[img]https:///EcBKq[/img][img]https:///WS6zp[/img][img]https:///Y17fx[/img]https://img69.imageshack.us/img69/35/luiconring.png

Post by guri211
MaFt wrote:BUT I cannot get it to navigate to a specific lat/long location.
For both Android and iOS, the URL http://waze.to/{encoded_latlon} is working, but you need to decrypt the {encoded_latlon} format. I.e.:
hu2s555555 -> 48.356860,17.011106
hu2s555556 -> 48.356904,17.011062
hu2s555559 -> 48.356944,17.011020
hu2s000000 -> 47.812524,16.875020
hu2r000000 -> 46.406272,21.093770
guri211
EmeritusChamps
EmeritusChamps
Posts: 1725
Has thanked: 538 times
Been thanked: 382 times
Send a message
Waze 2.4 @ Ericsson GA628 (landscape mode preffered)
Škoda 100 MB 1977 (grey)
Pressburg, Slovakia

guri211
EmeritusChamps
EmeritusChamps
Posts: 1725
Has thanked: 538 times
Been thanked: 382 times
Send a message
Waze 2.4 @ Ericsson GA628 (landscape mode preffered)
Škoda 100 MB 1977 (grey)
Pressburg, Slovakia

Post by guri211
Pegi wrote:
guri211 wrote:
MaFt wrote:BUT I cannot get it to navigate to a specific lat/long location.
For both Android and iOS, the URL http://waze.to/{encoded_latlon} is working, but you need to decrypt the {encoded_latlon} format. I.e.:
hu2s555555 -> 48.356860,17.011106
hu2s555556 -> 48.356904,17.011062
hu2s555559 -> 48.356944,17.011020
hu2s000000 -> 47.812524,16.875020
hu2r000000 -> 46.406272,21.093770
Hi guri211,
maybe a stupid question but how you actually decrypt the lat, lon to hu2...... format?

Thanks
I have no algorithm for that, this was just manually rewritten from the client (from history file). Anyway this is not necessary, as the format http://waze.to/?ll=48.149491,17.108636&navigate=yes is also working.
guri211
EmeritusChamps
EmeritusChamps
Posts: 1725
Has thanked: 538 times
Been thanked: 382 times
Send a message
Waze 2.4 @ Ericsson GA628 (landscape mode preffered)
Škoda 100 MB 1977 (grey)
Pressburg, Slovakia

Post by justdave72
bugshideout wrote:Sure!
Here is the app that solves that:
https://play.google.com/store/apps/deta ... mapstowaze
This link is 404 now, but I found what appears to be this same app, but renamed and with more features (same author) at
https://play.google.com/store/apps/deta ... aps_parser

It can target other map applications besides Waze now, and the rename also gets rid of trademarks in the name presumably :-)
justdave72
Posts: 27
Been thanked: 5 times
Send a message