android-multipicker-library icon indicating copy to clipboard operation
android-multipicker-library copied to clipboard

Even on filePicker.setMimeType("application/pdf") filePicker is allowing other file extensions to be selected

Open lovely-karn opened this issue 6 years ago • 2 comments

I passed parameter value as -> filePicker.setMimeType("application/pdf"); But when selecting WPS officer Android app, other MIMEs, other than pdf are getting selected.

A solution could have been that:- After picking the file, in method -> List<ChosenFile> getFileObjects(List<String> uris); MIME type must have been re-checked before processing files ? It is a miss.

Please provide a solution otherwise i need to make a filter in void onFilesChosen(final List<ChosenFile> files) callback method.

lovely-karn avatar Jul 10 '18 12:07 lovely-karn

I am getting the error on-

com.kbeanie.multipicker.core.threads.FileProcessorThread.getDataAndMimeType (FileProcessorThread.java:419) I am getting this issue on Android Version 8 Please provide me the solution of this issue...

Sunaina015 avatar Oct 05 '18 11:10 Sunaina015

I am getting the error on-

/content:/com.android.providers.media.documents/document/document%3A1000009234: open failed: ENOENT (No such file or directory) while upload pdf file I am getting this issue on Android Version 13 Please provide me the solution of this issue...

Zaiba25 avatar Apr 12 '23 05:04 Zaiba25