Top "Android-webview" questions

Part of the Android API.

How do I get the web page contents from a WebView?

On Android, I have a WebView that is displaying a page. How do I get the page source without requesting …

android android-webview
WebView link click open default browser

Right now I have an app that loads a webview and all the clicks are kept within the app. What …

android android-webview android-browser
How to set the initial zoom/width for a webview

I am trying to get the WebView to have similar behavior as the android browser. The browser opens all pages …

android webview width scale android-webview
Intercept and override HTTP requests from WebView

I have a WebView in my application in which some site is opened (always the same, it is my own …

android android-webview webviewclient
How to load html string in a webview?

i have a html string containing this: <!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\"> <…

android webview android-webview
Is `shouldOverrideUrlLoading` really deprecated? What can I use instead?

Is "shouldOverrideUrlLoading" really deprecated? If so, what can I use instead? It seems like shouldOverrideUrlLoading is deprecated targeting Android N …

android webview android-webview deprecated deprecation-warning
How to retrieve HTML content from WebView (as a string)

How do I retrieve all HTML content currently displayed in a WebView? I found WebView.loadData() but I couldn't find …

android webview android-webview
How does evaluateJavascript work?

I'm trying to use the new evaluateJavascript method in Android 4.4, but all I ever get back is a null result: …

android android-webview android-4.4-kitkat
Caching in Android webview

Which one is faster way to load mobile web pages and non mobile web pages in Android webview; loading cache …

android caching webview android-webview
Android - local image in webview

I'm trying to diplay a local image in my webview : String data = "<body>" + "<img src=\"file:///android_…

android image webview android-webview