Android examples for Map:Google Map
You can use LatLng to provide latitude and longitude from Google Map.
//package com.java2s; import android.app.Activity; import android.content.Intent; import android.net.Uri; public class Main { /**/* w ww .j av a 2s. c o m*/ * You can use LatLng to provide latitude and longitude. * <br> * Starts a External Map intent. */ public static void startExternalMapUri(Activity activity, String latitude, String longitude, String searchCriteria) { // NOT GOING TO USE THIS ONE, INSTEAD THE geo: ONE... Intent intent = new Intent(android.content.Intent.ACTION_VIEW, Uri.parse("http://maps.google.com/maps?saddr=" + latitude + "," + longitude)); activity.startActivity(intent); } }