open the map and get longitude and latitude android app code example
Example: android coding how to open map
//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);