Java tutorial
//package com.java2s; import android.content.Context; import android.content.Intent; import android.net.Uri; public class Main { public static Intent newMapIntent_LatLong(Context context, double lat, double lng) { String uri = String.format("geo:%f,%f", lat, lng); Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(uri)); return intent; } }