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

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.

Moderators: Unholy, bextein

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

Postby guri211 » Thu Jun 21, 2012 1:28 pm

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.
Waze 2.4 @ Ericsson GA628 (landscape mode preffered)
Škoda 100 MB 1977 (grey)
Pressburg, Slovakia
guri211
Waze Global Champs
Waze Global Champs
 
Posts: 1725
Joined: Fri Dec 31, 2010 6:13 pm
Location: Bratislava, Slovakia
Has thanked: 781 times
Been thanked: 472 times

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

Postby guri211 » Mon Mar 26, 2012 10:10 pm

Sorry, also the following format is working, both for Android and iOS:

http://waze.to/?ll=latitude,longitude&navigate=yes

Example:
http://waze.to/?ll=48.149491,17.108636&navigate=yes
Waze 2.4 @ Ericsson GA628 (landscape mode preffered)
Škoda 100 MB 1977 (grey)
Pressburg, Slovakia
guri211
Waze Global Champs
Waze Global Champs
 
Posts: 1725
Joined: Fri Dec 31, 2010 6:13 pm
Location: Bratislava, Slovakia
Has thanked: 781 times
Been thanked: 472 times

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

Postby guri211 » Mon Mar 26, 2012 9:44 pm

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
Waze 2.4 @ Ericsson GA628 (landscape mode preffered)
Škoda 100 MB 1977 (grey)
Pressburg, Slovakia
guri211
Waze Global Champs
Waze Global Champs
 
Posts: 1725
Joined: Fri Dec 31, 2010 6:13 pm
Location: Bratislava, Slovakia
Has thanked: 781 times
Been thanked: 472 times

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

Postby gerben » Sun Mar 25, 2012 9:46 pm

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.
Nokia Lumia 920 (WP8 3.7.6 client)
Countrymanager The Netherlands
ImageImageImageImage
gerben
 
Posts: 4783
Joined: Sun Dec 13, 2009 10:42 pm
Location: Almelo
Has thanked: 33 times
Been thanked: 196 times

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

Postby bugshideout » Sun Feb 15, 2015 8:46 pm

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
Joined: Mon May 26, 2014 12:41 pm
Has thanked: 0 time
Been thanked: 0 time

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

Postby bugshideout » Mon May 26, 2014 12:42 pm

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
Joined: Mon May 26, 2014 12:41 pm
Has thanked: 0 time
Been thanked: 0 time

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

Postby AlanOfTheBerg » Sun Mar 01, 2015 2:19 am

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.
Wiki Resources: Map Editing Manual | alanoftheberg@gmail.com
Oregon-based US Country Manager | iPhone6 - VZ
AlanOfTheBerg
Waze Global Champs
Waze Global Champs
 
Posts: 23617
Joined: Sat Aug 28, 2010 8:48 pm
Location: US Country Manager - Oregon, USA
Has thanked: 1108 times
Been thanked: 4811 times

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

Postby AlanOfTheBerg » Sat May 04, 2013 8:35 pm

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.
Wiki Resources: Map Editing Manual | alanoftheberg@gmail.com
Oregon-based US Country Manager | iPhone6 - VZ
AlanOfTheBerg
Waze Global Champs
Waze Global Champs
 
Posts: 23617
Joined: Sat Aug 28, 2010 8:48 pm
Location: US Country Manager - Oregon, USA
Has thanked: 1108 times
Been thanked: 4811 times

Previous

Return to Waze App

Who is online

Users browsing this forum: bduren