M Mike1970 Well-Known Member Licensed User Longtime User Jun 9, 2022 #1 Hi everyone, In my project I have a WebView that loads a webpage that has a "Choose File" button. I took a look in the forum and i found this post: Upload files with WebView However... the attached project works, but it's not b4xpages... As soon as i take the code (and the manifest too) to put it in my project (B4Xpages) it does not work any more, fails compiling with this error in the Java part B4X: Copy src\xxx\xxx\home.java:9887: error: cannot find symbol processBA.raiseEventFromUI(this, "showfile_chooser", filePathCallback, fileChooserParams); ^ symbol: variable processBA location: class MyChromeClient How can i solve the problem? There is another approach to open the file chooser from a webview? Thanks in advance
Hi everyone, In my project I have a WebView that loads a webpage that has a "Choose File" button. I took a look in the forum and i found this post: Upload files with WebView However... the attached project works, but it's not b4xpages... As soon as i take the code (and the manifest too) to put it in my project (B4Xpages) it does not work any more, fails compiling with this error in the Java part B4X: Copy src\xxx\xxx\home.java:9887: error: cannot find symbol processBA.raiseEventFromUI(this, "showfile_chooser", filePathCallback, fileChooserParams); ^ symbol: variable processBA location: class MyChromeClient How can i solve the problem? There is another approach to open the file chooser from a webview? Thanks in advance
Erel B4X founder Staff member Licensed User Longtime User Jun 9, 2022 #2 Making 3 posts with the same question isn't the correct way to participate in the forum. I can't help like this. Sorry. Upvote 0
Making 3 posts with the same question isn't the correct way to participate in the forum. I can't help like this. Sorry.
M Mike1970 Well-Known Member Licensed User Longtime User Jun 9, 2022 #3 Erel said: Making 3 posts with the same question isn't the correct way to participate in the forum. I can't help like this. Sorry. Click to expand... I'm sorry... I only wanted to answer to the people that had the same issue in the forum that i found during my research. I didn't want to break some rule... and also sorry to the community in case i provided confusion Upvote 0
Erel said: Making 3 posts with the same question isn't the correct way to participate in the forum. I can't help like this. Sorry. Click to expand... I'm sorry... I only wanted to answer to the people that had the same issue in the forum that i found during my research. I didn't want to break some rule... and also sorry to the community in case i provided confusion
Erel B4X founder Staff member Licensed User Longtime User Jun 9, 2022 #4 I've updated the example. Upvote 0