Closed urvish91 closed 7 years ago
filePicker.setMimeType("application/pdf");
This should work.
Yes but I want to set multiple like doc and PDF only then how to do?
On Apr 27, 2017 2:44 PM, "Kumar Bibek" notifications@github.com wrote:
filePicker.setMimeType("application/pdf");
This should work.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/coomar2841/android-multipicker-library/issues/96#issuecomment-297659531, or mute the thread https://github.com/notifications/unsubscribe-auth/ACsMRVKIX-A-55K4hOoI9vxXOjiER84Yks5r0FyAgaJpZM4MvTS2 .
Sorry, there is no solution yet for this. Actually, it depends on the target applications. There is no recommended specification for handling multiple mime types.
Hi, how can we restrict specified multiple mimetype for file picker ? for ex. i want to allow only pdf, doc and txt file.