I am Using and OpenFileChooser it is working on Android 4.2.2(Jelly Bean) but not working on Android Lollipop (5.0) version.So is there any option to do this thing which support from 4.0 to until new version.
I am using this tutorial
And there is issue submitted regarding that
Issue 62220: openFileChooser not called when is clicked on android 4.4 webview
I am using webview in which I had call webpage which contain file chooser/Image chooser.
Add this before onCreate:
Add to
mWebView.setWebChromeClient(new WebChromeClient() {this:And add this to class:
Last thing, add to Manifest
It should work on lollipop and marshmallow