public static String getSubject(final Intent intent) {
        return intent != null ? intent.getStringExtra(EXTRA_SUBJECT) : null;
    }
Get subject from intent

@param intent
@return subject
app/src/main/java/com/github/pockethub/android/util/ShareUtils.java