I have a tabhost with 3 tabs. In each of these tabs there is a webiview. When i click a tab the webview need to “reload” even when i have been there before, it have not been saved. Is there any way to save the webview ?
Jelly Bean doesn’t seem to like the maxlength attribute of HTML for text input. It certainly restricts the number of input characters but the moment you attempt to type beyond the allowed number of character, the text box fails. Now you won’t be able to type in any other text boxes and nor will you […]
I’m calling loadData on my WebView and passing it some HTML in the form of a String like so: webView.loadData( htmlString, “text/html”, “utf-8” ); It works fine on my Galaxy Tab 10.1, but the WebView displays: Webpage not available when running on the emulator with everything set up to match my Galaxy Tab. Setting android.permission.INTERNET […]
Hi I created a webview app for my video site. The design of the site is a hybrid that loads for mobile users. Only videos compatible with mobile devices are loaded onto the hybrid. The players are from Vk, dailymotion, youtube, quicktime. The videos only play on sdk 11 and higher but when I click […]
Goal: to be able to attach a file of any type to a <input type=”file” /> in a webview in Android 4.1+. (Android 5+ is fine) I set openFileChooser as I saw fit based on few examples I have found. It works on 4.1 but not on 4.4.4 where the files attached do not have […]
I’ve been having troubles getting PDF printing work on Android. What I’m trying to do is render some HTML in WebView, then draw the WebView contents on a PDF canvas and finally write the PDF to a file. The problem I’m having is that when I draw to the PDF canvas the content gets clipped […]
In my app, I show an external HTML site in either a CustomTabsIntent or a in a WebView: if (customTabsIntent != null) customTabsIntent.launchUrl(this, Uri.parse(“http://some.where.com/site.html”)); else startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(“http://some.where.com/site.html”))); But the style of that HTML is already updated, but my smartphone shows the old style (old fonts etc.). In the *.html file there is a *.css […]
Does anyone else know how to track a sort of webview “onLocationChange”? iOS has something like this for its webview. PS – I am trying to see if I can use the phonegap childbrowser plugin on android to do facebook auth. I’m giving up and just using a facebook plugin I found that uses part […]