Follow me on Twitter at Twitter.com/wbm
FYI, I'm blogging most of my stuff over at More Wally now.
You might want to add my rss feed to your reader at:http://morewally.com/cs/blogs/wallym/rss.aspx
Turn-By-Turn Driving Directions in Android with Mono for Android (MonoDroid) - Wallace B. McClure

Wallace B. McClure

All About Wally McClure - The musings of Wallym on Web, HTML5, Mobile, MonoTouch for iPhone, MonoDroid for Android, and Windows Azure.

News

Personal Blog

Work Blog

.NET

Book Authors

Business

Family

Friends

Georgia Tech Bloggers

Personal

Archives

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.

Comments

No Comments

Leave a Comment

(required) 

(required) 

(optional)

(required)