String function ( String arg0 , CordovaInterface arg1 ) { String loc0 = null ; Uri loc1 = Uri . parse ( arg0 ) ; if ( arg0 . startsWith ( "srini_string" ) ) { loc0 = arg1 . getActivity ( ) . getContentResolver ( ) . getType ( loc1 ) ; } else { loc0 = getMimeTypeForExtension ( loc1 . getPath ( ) ) ; } return loc0 ; }
returns the mime type of the data specified by the given uri string . concode_field_sep String _DATA concode_elem_sep String LOG_TAG concode_field_sep String stripFileProtocol concode_elem_sep String getRealPath concode_elem_sep String getRealPath concode_elem_sep String getMimeTypeForExtension concode_elem_sep InputStream getInputStreamFromUriString