F FabioC6 Member Licensed User Nov 14, 2018 #1 Hi, I've been trying to upload a file from a webview but when I click on "Choose file" nothing happens. I've searched on the Internet and it seems like I should override the method "openFileChooser" but I'm not sure how to (or if I can) do that on B4A (https://stackoverflow.com/questions/5907369/file-upload-in-webview). This is my code, I'm using WebViewExtras 1.4.2. Code: Copy wb.Initialize("wb") Dim wve As WebViewExtras wve.addWebChromeClient(wb,"wve") p_webview.AddView(wb,0,0,100%x,100%y) Do you have any suggestions on how to do this? Thank you.
Hi, I've been trying to upload a file from a webview but when I click on "Choose file" nothing happens. I've searched on the Internet and it seems like I should override the method "openFileChooser" but I'm not sure how to (or if I can) do that on B4A (https://stackoverflow.com/questions/5907369/file-upload-in-webview). This is my code, I'm using WebViewExtras 1.4.2. Code: Copy wb.Initialize("wb") Dim wve As WebViewExtras wve.addWebChromeClient(wb,"wve") p_webview.AddView(wb,0,0,100%x,100%y) Do you have any suggestions on how to do this? Thank you.
Erel B4X founder Staff member Licensed User Longtime User Nov 14, 2018 #2 Upload files with WebView Upvote 0
F FabioC6 Member Licensed User Nov 14, 2018 #3 Thank you Erel, sorry for the duplicate, I don't know how I've missed that thread. Upvote 0