code: public static Intent newMapsIntent(float latitude, float longitude, String placeName) {
          StringBuilder sb = new StringBuilder();
          sb.append("geo:");
  
          sb.append(latitude);
          sb.append(",");
          sb.append(longitude);
  
          if (!TextUtils.isEmpty(placeName)) {
              sb.append("?q=");
              sb.append(latitude);
              sb.append(",");
              sb.append(longitude);
              sb.append("(");
              sb.append(Uri.encode(placeName));
              sb.append(")");
          }
  
          return new Intent(Intent.ACTION_VIEW, Uri.parse(sb.toString()));
      }
docs: Intent that should allow opening a map showing the given location (if it exists)
  
  @param latitude  The latitude of the center of the map
  @param longitude The longitude of the center of the map
  @param placeName The name to show on the marker
  @return the intent