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.

Moderator: Unholy

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 - iOS 8.2 | Waze v3.9.4
AlanOfTheBerg
Waze Global Champs
Waze Global Champs
 
Posts: 23285
Joined: Sat Aug 28, 2010 8:48 pm
Location: US Country Manager - Oregon, USA
Has thanked: 1041 times
Been thanked: 4268 times

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 - iOS 8.2 | Waze v3.9.4
AlanOfTheBerg
Waze Global Champs
Waze Global Champs
 
Posts: 23285
Joined: Sat Aug 28, 2010 8:48 pm
Location: US Country Manager - Oregon, USA
Has thanked: 1041 times
Been thanked: 4268 times

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 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 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
Waze Global Champs
Waze Global Champs
 
Posts: 4769
Joined: Sun Dec 13, 2009 10:42 pm
Location: Almelo
Has thanked: 32 times
Been thanked: 187 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: 1720
Joined: Fri Dec 31, 2010 6:13 pm
Location: Bratislava, Slovakia
Has thanked: 735 times
Been thanked: 460 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: 1720
Joined: Fri Dec 31, 2010 6:13 pm
Location: Bratislava, Slovakia
Has thanked: 735 times
Been thanked: 460 times

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: 1720
Joined: Fri Dec 31, 2010 6:13 pm
Location: Bratislava, Slovakia
Has thanked: 735 times
Been thanked: 460 times

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

Postby MaFt » Fri Mar 23, 2012 9:34 am

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
Joined: Fri Feb 19, 2010 1:13 am
Has thanked: 0 time
Been thanked: 0 time

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

Postby moogonk » Thu Feb 26, 2015 2:12 pm

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?
Image

Rank 4 Area Manager (NH: Nashua, Hudson, Litchfield, Pelham, Windham)


Sometimes you avoid the jam, sometimes you are the jam, and sometimes it's faster to go through the jam. - AndyPoms
moogonk
Area Manager
Area Manager
 
Posts: 266
Joined: Wed Mar 27, 2013 2:24 am
Location: Southern New Hampshire, USA
Has thanked: 149 times
Been thanked: 53 times

Next

Return to Waze App

Who is online

Users browsing this forum: No registered users