Zigfreid
Zigfreid

Reputation: 121

Is there official API for google-maps driving navigation?

I've found that on Google support driving navigation on latest Android. http://www.google.com/mobile/navigation/index.html

But, I can't find any kinds of API set to provide those kinds of functions. Is there navigation support API? or isn't it released yet?

I can't understand why it's not included on Ginger bread version. They said that Nexus S already support Driving navigation.

Do you have any information about this issue? Please let me know. Thanks.

Upvotes: 2

Views: 7081

Answers (1)

Stefan Bossbaly
Stefan Bossbaly

Reputation: 6794

Are you trying to send intents to the navigation app to navigate to a location? Apparently it is not "officially" supported, however here is how you tell the navigation app to navigate to a location.

String url = "google.navigation:q=" + lat + ","
            + lng;
Intent i = new Intent(Intent.ACTION_VIEW, Uri.parse(url));
startActivity(i);

Upvotes: 1

Related Questions