Hi everyone,
I am trying to upload file with webview depending on: https://www.b4x.com/android/forum/threads/upload-files-with-webview.98623/
However I am faced with the error: java.lang.IllegalArgumentException: Expected receiver of type b4a.example.main, but got java.lang.Class<b4a.example.main> as I pick the file. It is an image file intended to be uploaded to the web page for further processing. I tried many solutions, none worked. Anybody has the solution please.
The line causing the error is:
Thanks
I am trying to upload file with webview depending on: https://www.b4x.com/android/forum/threads/upload-files-with-webview.98623/
However I am faced with the error: java.lang.IllegalArgumentException: Expected receiver of type b4a.example.main, but got java.lang.Class<b4a.example.main> as I pick the file. It is an image file intended to be uploaded to the web page for further processing. I tried many solutions, none worked. Anybody has the solution please.
The line causing the error is:
B4X:
jo.RunMethod("SendResult", Array(Provider.GetFileUri("TempFile"), FilePathCallback))