📅  最后修改于: 2022-03-11 14:52:33.783000             🧑  作者: Mango
//Moves you to different intent with the map on it
String uri = String.format(Locale.ENGLISH, "geo:%f,%f", latitude, longitude);
Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(uri));
context.startActivity(intent);