Adam Varhegyi
Adam Varhegyi

Reputation: 9924

Is there a way to launch Google Map form Android app just like in Iphone?

I want to use Google's route planning and etc in my android app. I know that IPhone developers can launch it with an url call something like this:

[someUIApplication openURL:[NSURL URLWithString:@"http://maps.google.com/maps?q=London"]]

Anyone can help ?

Upvotes: 0

Views: 379

Answers (2)

MahdeTo
MahdeTo

Reputation: 11194

Yes just fire a VIEW intent with the url geo:latitude,longitude?z=zoom

For a full list of Intents of google apps you can check this

Upvotes: 1

pjulien
pjulien

Reputation: 1379

Intent intent = new Intent(android.content.Intent.ACTION_VIEW, Uri.parse("http://maps.google.com/maps?q=London"));

startActivity(intent);

Upvotes: 1

Related Questions