0

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 ?

Adam Varhegyi
  • 11,307
  • 33
  • 124
  • 222

2 Answers2

1

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

onkar
  • 4,427
  • 10
  • 52
  • 89
MahdeTo
  • 11,034
  • 2
  • 27
  • 28
1

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

startActivity(intent);

pjulien
  • 1,369
  • 10
  • 14