I have a Android Webview and when I click on a link to download a file (image of pdf etc) I got a error message.
Error message: Cannot call determinedVisibility() - never saw a connection for the pid
Any idea what I do wrong? Who can help please!?
Just a bit of configuration:
webview.getSettings().setJavaScriptEnabled(true); webview.getSettings().setDomStorageEnabled(true);
I got the same error and Burhans solution was not helping me. I think things went wrong when you´re trying to load different urls too fast.
Edit: Found a better solution credits go to user2652394 WebView must be loaded twice to load correctly
You have to do something like this:
webView.postDelayed(new Runnable() { @Override public void run() { webView.loadUrl(landingpage); } }, 500);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With