code: public static Intent newDialNumberIntent(String phoneNumber) {
          final Intent intent;
          if (phoneNumber == null || phoneNumber.trim().length() <= 0) {
              intent = new Intent(Intent.ACTION_DIAL, Uri.parse("tel:"));
          } else {
              intent = new Intent(Intent.ACTION_DIAL, Uri.parse("tel:" + phoneNumber.replace(" ", "")));
          }
          return intent;
      }
docs: Creates an intent that will open the phone app and enter the given number. Unlike
  {@link #newCallNumberIntent(String)}, this does not actually dispatch the call, so it gives the user a chance to
  review and edit the number.
  
  @param phoneNumber the number to dial
  @return the intent