ImagePicker
ImagePicker copied to clipboard
mimeTypes problem
hi. I'm have problem `web.setWebChromeClient( new WebChromeClient() {
@Override
public boolean onShowFileChooser(WebView webView, ValueCallback<Uri[]> filePathCallback, FileChooserParams MODE_OPEN_MULTIPLE) {
ImagePicker.with(activity)
.galleryMimeTypes( //Exclude gif images
mimeTypes = arrayOf(
"image/png",
"image/jpg",
"image/jpeg"
))
.compress(600)
.galleryOnly()
.start(web.mRequestCodeFilePicker);
return true;
}
});`
what am I doing wrong? is it possible to enable multiple selection of files?
translated with GoogleTranslate