Android Webview File Browser Opens But File Not Selectable
HTML Input type file in my android webview was not working for me so I found this solution (File Upload in WebView) and implemented the same, now I am able to open file browser. Bu
Solution 1:
After a long research I found that the accept
attribute of file
HTML tag was doing all this.
My HTML for input type file tag was like this..
<inputtype="file" name="file1"id="file1" accept="application/zip,image/png,image/jpg,application/msword,application/pdf,image/jpeg,image/gif,vnd.openxmlformats-officedocument.wordprocessingml.document">
And once I removed the content from accept
attribute or removed the accept attribute itself, enable the file selection and it resolved my problem.
<inputtype="file" name="file1"id="file1" accept="">
Post a Comment for "Android Webview File Browser Opens But File Not Selectable"