Choose a file in Webview HTML-form like
<input type="file" accept="image/*" name="imageupload" onchange="imageChosen()">
under Android 5+: is it still impossible in 2017 for B4A ?
Choose a file in Webview HTML-form like
<input type="file" accept="image/*" name="imageupload" onchange="imageChosen()">
under Android 5+: is it still impossible in 2017 for B4A ?
Code requires Android 5+ 1. Set a custom WebViewChromeClient. It is implemented with inline Java code. 2. The ShowFile_Chooser event is raised when the user clicks on a "browse" button. 3. You need to get the file URI with FileProvider and call SendResult. Example based on ContentChooser...
www.b4x.com
Take a look at this
I tried it and it works, but with B4XPages not yet... i already published a post to talk about this issue