views:

1448

answers:

3

It seems that DrivingDirections have been removed since Android API 1.0

What's the way now to display a map with two points (one of them might be the current location, but can also be any other location) and the direction from one to another in Android 1.6?

+2  A: 

I suspect the answer is to sign up for a multi-million-dollar license from TeleNav or somebody.

The reason the API was pulled was because Google itself has limitations on what it can do with driving directions (e.g., cannot do real-time turn-by-turn stuff), since Google licenses this data from TeleNav or other firms. Google, in turn, cannot let developers do those restricted things, and an open API cannot be adequately protected for this case.

I thought I saw mention that Open Street Map has driving directions, FWIW.

CommonsWare
+2  A: 

It maybe a little too late, but still helpful for others. I have written a few simple classes to get and display driving directions in MapView for Android:

http://home.ameliemedia.com/android-app-aroundme/#tips

Hope it helps!

Andrea.

andrea.lagala