waze

Navigation with Waze and Google Maps using Intent.createChooser shows Waze icon twice

纵然是瞬间 提交于 2019-12-19 18:24:13
问题 I'm creating this question after finding the answer, I was not sure about the etiquette, but it seems to be OK (plus, I see now there's a built-in option). The problem was as described in the title, we created an intent chooser using code that resembles this: String url = "waze://?ll=" + latitude + ", " + longitude + "&navigate=yes"; Intent intentWaze = new Intent(Intent.ACTION_VIEW, Uri.parse(url)); String uriGoogle = "google.navigation:q=" + latitude + "," + longitude; Intent

Navigation with Waze and Google Maps using Intent.createChooser shows Waze icon twice

最后都变了- 提交于 2019-12-19 18:23:21
问题 I'm creating this question after finding the answer, I was not sure about the etiquette, but it seems to be OK (plus, I see now there's a built-in option). The problem was as described in the title, we created an intent chooser using code that resembles this: String url = "waze://?ll=" + latitude + ", " + longitude + "&navigate=yes"; Intent intentWaze = new Intent(Intent.ACTION_VIEW, Uri.parse(url)); String uriGoogle = "google.navigation:q=" + latitude + "," + longitude; Intent

Waze Deep Links

烈酒焚心 提交于 2019-12-07 06:25:50
问题 I'm developing an App using Xamarin Forms (cross platform), and im trying to open Waze app from my app, passing latitude and longitude. It opens Waze very well, but Waze just open, it didn't try to find the address or the latitude/longitude that I passed. Some Ideas on how I make it work? --- EDIT --- Finally, it WORKED, using the idea from @SushiHangover, i managed to achieve the desired result. The final code is here: public static Task<bool> OpenWazeAndroid(decimal latitude, decimal

Waze Deep Links

馋奶兔 提交于 2019-12-05 09:38:10
I'm developing an App using Xamarin Forms (cross platform), and im trying to open Waze app from my app, passing latitude and longitude. It opens Waze very well, but Waze just open, it didn't try to find the address or the latitude/longitude that I passed. Some Ideas on how I make it work? --- EDIT --- Finally, it WORKED, using the idea from @SushiHangover, i managed to achieve the desired result. The final code is here: public static Task<bool> OpenWazeAndroid(decimal latitude, decimal longitude, string address) { if (IsAndroid()) { try { var lat = latitude.ToString().Replace(",","."); var

Waze doesn't load navigation from Swift

北城以北 提交于 2019-12-05 06:32:54
I integrated Waze into my Swift app, but when I click on the button, Waze opens but nothing happens with the navigation. I juste see the app and that's all, instead of launching the navigation. Here is the code: @IBAction func openWazeAction(_ sender: Any) { // open waze if UIApplication.shared.canOpenURL(URL(string: "waze://")!) { let urlStr = String(format: "waze://ul?ll=%f,%f&navigate=yes", (selectedBorne?.location?.x)!, (selectedBorne?.location?.y)!) print(urlStr) UIApplication.shared.open(URL(string: urlStr)!) } else { UIApplication.shared.open(URL(string: "http://itunes.apple.com/us/app

Navigation with Waze and Google Maps using Intent.createChooser shows Waze icon twice

时间秒杀一切 提交于 2019-12-01 17:48:51
I'm creating this question after finding the answer, I was not sure about the etiquette, but it seems to be OK (plus, I see now there's a built-in option). The problem was as described in the title, we created an intent chooser using code that resembles this: String url = "waze://?ll=" + latitude + ", " + longitude + "&navigate=yes"; Intent intentWaze = new Intent(Intent.ACTION_VIEW, Uri.parse(url)); String uriGoogle = "google.navigation:q=" + latitude + "," + longitude; Intent intentGoogleNav = new Intent(Intent.ACTION_VIEW, Uri.parse(uriGoogle)); String title = context.getString(R.string