Snippet

  // get the char sequence

  CharSequence displayContents = resultHandler.getDisplayContents();
  ClipboardManager clipboard = (ClipboardManager) getSystemService(CLIPBOARD_SERVICE);

// set the contents
  clipboard.setText(displayContents)