Turn-By-Turn Driving Directions in Android with Mono for Android (MonoDroid)

I needed to open some turn-by-turn directions in Android.  I did the following with Mono for Android, and this code worked:

                    String url = String.Format("http://maps.google.com/maps?saddr={0},{1}&daddr={2}", lat, lon, dAddr);

                    Intent intent = new Intent(Android.Content.Intent.ActionView, Android.Net.Uri.Parse(url));

                    StartActivity(intent);

 In this code, I needed to get some directions from the current latitude and longitude.

No Comments