90
votes
2answers
4k views
Favourite content is not shown correctly on webview
I'm developing a language dictionary app. I save the favourite word into Preference. The Favourite content in the XML file looks like the following:
<?xml version='1.0' encoding='utf-8' ...
63
votes
8answers
33k views
Android WebView handling orientation changes
Just started working with the webview. The issue is performance following rotation. The WebView has to reload the page, which can be a bit tedious.
What's the best of of handling an orientation ...
61
votes
7answers
38k views
How to listen for a Webview finishing loading a URL in Android?
I have a webview that is loading a page from the Internet. I want to show a progressbar until the loading is complete.
How do I listen for the completion of page loading of a WebView?
56
votes
12answers
47k views
WebView and HTML5 <video>
I'm piecing together a cheapo app that amongst other things "frames" some of our websites... Pretty simple with the WebViewClient... until I hit the video.
The video is done as HTML5 elements, and ...
53
votes
14answers
33k views
Android WebView style background-color:transparent ignored on android 2.2
I'm struggling to create a WebView with transparent background.
webView.setBackgroundColor(0x00FFFFFF);
webView.setBackgroundDrawable(myDrawable);
Then I load a html page with
<body ...
50
votes
2answers
18k views
Android webview & localStorage
I have a problem with a webview which may access to the localStorage by an HTML5 app. The test.html file informs me that local
storage is'nt supported by my browser (ie. the webview). If you have any ...
47
votes
5answers
57k views
Android Calling JavaScript functions in WebView
I am trying to call some javascript functions sitting in an html page running inside an android webview. Pretty simple what the code tries to do below - from the android app, call a javascript ...
39
votes
1answer
11k views
What do setUseWideViewPort() and setLoadWithOverviewMode() precisely do?
I am disappointed at the lack of documentation of WebView and related stuff.
(unless you think the following is propert documetation)
public void setLoadWithOverviewMode
(boolean overview)
...
37
votes
1answer
3k views
WebView on Android ICS, iframe problems with android_assets
My application engine runs inside a WebView. It spans different IFRAMES.
Both the main application html and the iframes html are on android_assets.
On Android 3.x no problems ever. Same on chrome ...
30
votes
5answers
41k views
Android Webview - Completely Clear the Cache
I have a WebView in one of my Activities, and when it loads a webpage, the page gathers some background data from Facebook.
What I'm seeing though, is the page displayed in the application is the ...
30
votes
4answers
13k views
Flash video not displaying in WebView for Android 3.0.1
I have a simple WebView to display a website with Flash (the Adobe Flash website) -- testing on a Xoom tablet running Android 3.0.1 with newly released Flash 10.2
After referring to every question on ...
29
votes
5answers
36k views
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 in a way that tries to fit their width to the screen. However, the default behavior of the ...
28
votes
2answers
8k views
Tapping form field in WebView does not show soft keyboard
I created my own WebView and set the WebChromeClient and WebViewClient objects. When I start this WebView, the HTML form fields react when I touch them (a cursor appears), but they do not get ...
28
votes
6answers
48k views
Android WebView Cookie Problem
I have a server that sends my android app a session cookie to be used for
authenticated communication. I am trying to load a WebView with a URL
pointing to that same server and I'm trying to pass ...
27
votes
4answers
21k views
Android WebView, how to code the back button?
I have a app in which I have a webview where I display some website, it works, but at the moment of clicking a link in the webpage it goes to the next page in the website inside my app that is good ...