Hi Guys,
I'm using the WebView along with WebviewExtras in order to navigate into a page, retrieve the html document, and upon that, excute some injection...
The get the Html document part is done, and working like a charm, but when I try to execute another JavaScript to inject a value, I get the following error....
I'm lost, I can only guess that I'm calling on the wrong thread, BUT I'm not threading!
Also, what would be the right javascript string to inject a value to a textfield that has no id, only a name, within a form (login form)?How do I execute without callback to B4A?
I'm using the WebView along with WebviewExtras in order to navigate into a page, retrieve the html document, and upon that, excute some injection...
The get the Html document part is done, and working like a charm, but when I try to execute another JavaScript to inject a value, I get the following error....
java.lang.RuntimeException: java.lang.Throwable: A WebView method was called on thread 'JavaBridge'. All WebView methods must be called on the same thread. (Expected Looper Looper (main, tid 1) {21174b47} called on Looper (JavaBridge, tid 3532) {3c2554c9}, FYI main Looper is Looper (main, tid 1) {21174b47})
I'm lost, I can only guess that I'm calling on the wrong thread, BUT I'm not threading!
Also, what would be the right javascript string to inject a value to a textfield that has no id, only a name, within a form (login form)?How do I execute without callback to B4A?