Android to get the extension of file using Uri Posted on November 9, 2021November 9, 2021 By christo No Comments on Android to get the extension of file using Uri To get the extension of file using Uri or mimeType use this function in java private String extension(Uri uri){ String mimeType = getContentResolver().getType(uri); return mimeType; } android Tags:Android