Android google map APIs get programming instructions


I am new to google google APIs. I learn this from this TUT: http://mobiforge.com/developing/story/using-google-maps-android , but there is no mention of the direction between the two points. Are there any APIs to accomplish this task in http://code.google.com/android/add-ons/google-apis/reference/index.html ?

Thanks in advance!

+4
source share
2 answers

The Google Maps API does not provide any routing capabilities. You can use the intention to run a google navigator (presumably on your device) or a version of Google Maps (as mentioned by Hwa Rang)

There are several guides for this outside the API, but keep in mind that google does not allow the implementation of turn-by-turn navigation; obviously, simple routing is ok.

How to add routing to Google maps

+3
source

There is an intention to use the Google Maps application.

Intent i = new Intent(android.content.Intent.ACTION_VIEW, Uri.parse("http://maps.google.com/maps?saddr=" + saddr + "&daddr=" + daddr)); 
+2
source

All Articles