webviewclient

What's the difference between setWebViewClient vs. setWebChromeClient ?

What's the difference between setWebViewClient vs. setWebChromeClient in Android? ...

Android WebView Communicating from a WebViewClient to Activity

I have a simple helloworld app. I am trying to tell the Activity that a user clicked, "Cnn.com" WebViewClient wc = new WebViewClient() { @Override public boolean shouldOverrideUrlLoading(WebView view, String url) { if (url.equals("http://cnn.com/")) { //TELL ACTIVITY CNN WAS CLICKED ...

android: webview not loading javascript with custom WebViewClient

I've got a very basic WebView which works until I try to add a custom webViewClient where it stops processing JavaScript. Am I doing something wrong? Is there another way to get rid of the address bar and menu options in the WebView? browser = (WebView) findViewById(R.id.webkit); WebSettings webSettings = browser.getSettings...

Android - how to intercept a form POST in android WebViewClient on API level 4

I have a WebViewClient attached to my WebView like so: webView.setWebViewClient(new MyWebViewClient()); Here is my implementation of MyWebViewClient: private class MyWebViewClient extends WebViewClient { @Override public boolean shouldOverrideUrlLoading(WebView view, String url) { webView.loadUrl(url); return true; } } I g...

onPageFinished in WebViewClient doesn't seem to fire correctly

I have seen one other SO question on this and it was not resolved. I am using LoadData() with application generated html. I noticed when I add a few blank lines after new text the page scrolls and the text takes a moment to magically appear (no scrolling, it just appears as in a fade-in.). Watching .getContentHeight() it does not upda...

I need to know when a page really finishes loading

Hello all, I am quite new to Android yet, and I have an application that has a webview on it. I need to know when the webview finishes loading a page that has a random number of redirects (sometimes to the same page, and the order of the redirects also change), so I can remove the Splash Screen only when there is a fully loaded page. ...

[android]Setting WebViewClient to WebView doesn't work correctly

I am writing app, that should authorize on twitter. I load to WebView Link to my app's server, which redirects me to twitter authorization page. Before this, user is logged in on my app server with DefaultHttpClient. If i just writing webView.loadUrl(link); everythig works correctly, but if i'm adding webView.setWebViewClient(new WebVi...