Reputation: 9924
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
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
Reputation: 1379
Intent intent = new Intent(android.content.Intent.ACTION_VIEW, Uri.parse("http://maps.google.com/maps?q=London"));
startActivity(intent);
Upvotes: 1