private static Intent getShareLinkIntent(final Context context, final String subject, final String url) {
        return createShareIntentInternal(context, TYPE_TEXT, subject, StringUtils.defaultString(url), null, null);
    }
context needs to be filled only when file is not null
main/src/main/java/cgeo/geocaching/utils/ShareUtils.java