uses http://maps.google.com to route a driving directions between two locations and parse response kml file with SAX parser into easy coordinates structure. Contains example applications on Blackberry and Android.
<coordinates>
tags per kml document. Thanks, Lukas! This code samples are for educational purpose only!
It's not officially allowed by Google Maps APIs Terms of Service to use Google Maps API for driving directions:
and may be disabled for certain apps (somehow, at least on Android)... From Geocode scraping in .NET conversation:Google Maps/Google Earth APIs Terms of Service
Last updated: May 27, 2009
...
10. License Restrictions. Except as expressly permitted under the Terms, or unless you have received prior written authorization from Google (or, as applicable, from the provider of particular Content), Google's licenses above are subject to your adherence to all of the restrictions below. Except as explicitly permitted in Section 7 or the Maps APIs Documentation, you must not (nor may you permit anyone else to):
...
10.9 use the Service or Content with any products, systems, or applications for or in connection with:
(a) real time navigation or route guidance, including but not limited to turn-by-turn route guidance that is synchronized to the position of a user's sensor-enabled device;
This is not allowed by the API terms of use. You should not scrape Google Maps to generate geocodes. We will block services that do automated queries of our servers.
Bret Taylor
Product Manager, Google Maps