/**
   * Initiate the synchronous acronym lookup when the user presses the "Lookup Acronym Sync" button.
   */
  public void expandAcronymSync(View v) {
    // Try to get an acronym entered by the user.
    final String acronym = Utils.uppercaseInput(this, mEditText.getText().toString().trim(), true);

    if (acronym != null) {
      Log.d(TAG, "calling expandAcronymSync() for " + acronym);

      // Synchronously expand the acronym.
      if (getOps().expandAcronymSync(acronym) == false)
        // Show error message to user.
        Utils.showToast(this, "Call already in progress");

      // Return focus to edit box and select all text in it
      // after query.
      mEditText.requestFocus();
      mEditText.selectAll();
    }
  }