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 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: Brookline, Greenville, Hollis, Hudson, Litchfield, Mason, Nashua, Pelham, Wilton, 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: 312
Joined: Wed Mar 27, 2013 2:24 am
Location: Southern New Hampshire, USA
Has thanked: 179 times
Been thanked: 59 times

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

Postby ojaneri » Thu Feb 20, 2014 1:00 pm

Can I use address (street name, number and city) ?

Thanks.
ojaneri
 
Posts: 1
Joined: Sun Jan 23, 2011 12:26 am
Has thanked: 0 time
Been thanked: 0 time

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

Postby Pegi » Thu Jun 21, 2012 10:27 am

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
Pegi
 
Posts: 6
Joined: Mon Apr 25, 2011 10:47 am
Location: Auckland, New Zealand
Has thanked: 0 time
Been thanked: 0 time

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

Postby Pegi » Thu Jun 21, 2012 11:08 pm

guri211 wrote:
Pegi wrote:
guri211 wrote: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.


I can obtain a decrypted format from Waze app when I email a location to myself but I need to do more than 1000 sites which would take ages to do it this way.
Yes, you are right http format works but for some reason when I used New Zealand (where I live) GPS coords it didn't work. It is strange because when I used your example it worked fine but the one with NZ coords (http://waze.to/?ll=174.644742,-36.889987&navigate=yes) didn't. It looks like it is working now when I swaped lon and lat (http://waze.to/?ll=-36.889987,174.644742&navigate=yes).
Thanks for your time anyway
Pegi
 
Posts: 6
Joined: Mon Apr 25, 2011 10:47 am
Location: Auckland, New Zealand
Has thanked: 0 time
Been thanked: 0 time

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

Postby sugarsmax » Fri May 03, 2013 12:07 am

Turns out you can do this with Google Maps and some javascript.

1. Go to Google Maps, find the point of interest.
2. Right mouse: What's Here
3. The lat & long will show up in the Search bar.
4. Select that text

5. The following Bookmark can absorb your selected text, and build a URL of the form:
http://waze.to/?navigate=yes&ll=xx.xxx,yy.yyy

javascript:q=""+(window.getSelection?window.getSelection():document.getSelection?document.getSelection():document.selection.createRange().text);if(!q)q=prompt("Search for?","");if(q!=null)location="http://waze.to/?navigate=yes&ll="+escape(q).replace(/ /g,"+");void 0

6. Email / SMS to your phone.

Worked like a charm!
sugarsmax
 
Posts: 3
Joined: Tue Jul 06, 2010 10:06 pm
Has thanked: 0 time
Been thanked: 0 time

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

Postby sugarsmax » Thu May 16, 2013 10:37 pm

Apologies, what section? (I'm new to the forums)
sugarsmax
 
Posts: 3
Joined: Tue Jul 06, 2010 10:06 pm
Has thanked: 0 time
Been thanked: 0 time

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

Postby tonestertm » Mon Jul 28, 2014 6:56 pm

bugshideout wrote:It is a simple fix.

Go ahead, and post the result here.
tonestertm
Country Manager
Country Manager
 
Posts: 959
Joined: Wed Nov 14, 2012 12:02 pm
Location: City of...um, Angels, CA, USA
Has thanked: 331 times
Been thanked: 571 times

Previous

Return to Waze App

Who is online

Users browsing this forum: No registered users