question: public static boolean isFileUploadAvailable ( final boolean needsCorrectMimeType ) { if ( Build . VERSION . SDK_INT == 19 ) { final String platformVersion = ( Build . VERSION . RELEASE == null ) ? "" : Build . VERSION . RELEASE ; return ! needsCorrectMimeType && ( platformVersion . startsWith ( "4.4.3" ) || platformVersion . startsWith ( "4.4.4" ) ) ; } else { return true ; } }
target:  Returns whether file uploads can be used on the current device (generally all platform versions except for 4.4) <p/> On Android 4.4.3/4.4.4, file uploads may be possible but will come with a wrong MIME type