code: public static Intent newMapsIntent(String address, String placeTitle) {
          StringBuilder sb = new StringBuilder();
          sb.append("geo:0,0?q=");
  
          String addressEncoded = Uri.encode(address);
          sb.append(addressEncoded);
  
          // pass text for the info window
          String titleEncoded = Uri.encode(" (" + placeTitle + ")");
          sb.append(titleEncoded);
  
          return new Intent(Intent.ACTION_VIEW, Uri.parse(sb.toString()));
      }
docs: Intent that should allow opening a map showing the given address (if it exists)
  
  @param address    The address to search
  @param placeTitle The title to show on the marker
  @return the intent