private void presentMessageComposeViewController(String recipient) {
    // Create the compose text message view controller
    MFMessageComposeViewController composeTextViewController = new MFMessageComposeViewController();

    // Send the destination phone number and a default text
    composeTextViewController.setMessageComposeDelegate(messageComposeDelegate);
    composeTextViewController.setRecipients(Arrays.asList(recipient));
    composeTextViewController.setBody("Check out Anypic! http://anypic.org");

    // Dismiss the current modal view controller and display the compose
    // text one.
    // See previous use for reason why these are not animated.
    dismissViewController(false, null);
    presentViewController(composeTextViewController, false, null);
  }