private static Intent createClipboardIntent(final Context context, final Intent origIntent) {
        if (origIntent == null || origIntent.getExtras() == null || !Settings.provideClipboardCopyAction()) {
            return null;
        }
        return CopyToClipboardActivity.createClipboardIntent(context, origIntent.getExtras().getString(Intent.EXTRA_TEXT), null);
    }
Standard message box + additional share button for file sharing
main/src/main/java/cgeo/geocaching/utils/ShareUtils.java