Use this tag for questions regarding managing settings state for a WebView on the Android OS
Questions tagged [android-websettings]
142 questions
0
votes
1 answer
How to send mail from webviewActivity in android
i have a document which is loaded in webViewActivity, in this document i have my email id. when users clicks my email id i want to open email app, please help me.
This is sample document.
This is text contained in document. if you have…

Venkat
- 232
- 3
- 11
0
votes
1 answer
Android -- Prevent Webpage from Focusing on Form
I've a simple WebView, but the problem I'm having is that the when a page loads Android automatically focuses on the first text field in a form.
In other words, when the webpage loads, Android shows a cursor in the first text field, which hides the…

TMacGyver
- 1,281
- 3
- 12
- 27
0
votes
1 answer
Webview always redirects to twitter sign up url
I am facing this strange issue with web view of android. I am trying to load this in my web view but it is always redirecting to this url.
Here is my the snippet of webview
web=(WebView)findViewById(R.id.linkwebview);
…

Nitin Bathija
- 800
- 3
- 12
- 24
0
votes
1 answer
Android : Complete action with.. for loading webview
I use WebChromeClient for loading a webpage. It works fine for some url but for some others url, an Android menu is displayed "Complete action with..." and i must to choose between contextual navigator, Chrome or default navigator.
I would like to…

wawanopoulos
- 9,614
- 31
- 111
- 166
0
votes
1 answer
WebView Android trying to get full size
I have a webView in the layout only, the problem is that I have an image on a web that I should show in full size of the screen (I need a webview since I need to use javascript on the image) the image on the html gets full size of the screen (with…

D4rWiNS
- 2,585
- 5
- 32
- 54
0
votes
1 answer
WebSettings.setZoomLevel "no such method" on Android 2.3
I have the following code (quite simple):
WebSettings webSettings = webView.getSettings();
webSettings.setTextZoom(110);
While running on Android 4.0, all is right. However, both Android 2.2 and Android 2.3.3 throw a "no such method" excepcion when…

francgo
- 23
- 5
0
votes
1 answer
Web view Error using HTML content in Android
Errors I am getting when passing Html(textstring) content value to webview.loaddata(textstring , "text/html", "utf-8");
Works fine in gingerbread,jellybean etc....but facing problem in Ice cream sandwich....Please help me to solve this
02-08…

ARIJIT
- 515
- 8
- 22
0
votes
0 answers
Web view using ICS Android OS
wvtxtcastdet.loadData(text, "text/html", "utf-8")
where text is the HTML content. It works fine in every OS. But in ICS getting this error
java.lang.Throwable: EventHub.removeMessages(int what = 107) is not supported before the WebViewCore is set…

ARIJIT
- 515
- 8
- 22
0
votes
1 answer
How to run the HTML5 video in webview in android
From last one week i try to find how to play a html5 video in android webview i read so many blog and questions in the stack overflow but my problem is solve.i am using .mp4 , .wevm ,ogv and also .3gp format but noon of format is running.
i run …

Naveen Kumar
- 3,738
- 4
- 29
- 50
0
votes
0 answers
Android wrapper won't download file
I have an android application that is just a wrapper around my mobile website. I have one webview that simply points to the login URL of my site. When I access my mobile site on a regular browser I can download the PDFs when I click on a button…

user1467225
- 119
- 1
- 1
- 10
0
votes
0 answers
how can i display specific part of webview in android
After going through many post i still not able to resolve the way of showing part of webview in my Application, What exactly i want is to display a specific portion of webpage present inside HTML body. Do suggest some useful solution to resolve the…

Vivek Singh
- 1,201
- 3
- 17
- 39
0
votes
3 answers
Android - Video player from website not playing in WebView
Hi I have a website that has a video player in it, and I want to play that video player insie of my android application. The video player plays great inside of the androids native browser, But when I direct a WebView to go to that same site with the…

Christian
- 958
- 5
- 23
- 52
0
votes
3 answers
Turn javascript on in android webview
hello i am new to android developing,
I want to set my javscript turn on in my android webview. I tried everything, but it doesn't work. My code below is my webview class. I hope someone can help me.
package visuals.Webview;
import…

robind38
- 253
- 1
- 7
- 18
0
votes
1 answer
Html5 cache problems with android webview
Hello I tried to cache my web application with my android device. I tried everything but nothing will work. The Cache will not refresh only on android devices and not on other devices! Below you see all the settings I've set to cache the web…

robind38
- 253
- 1
- 7
- 18
-1
votes
1 answer
Android prevent time consuming loading of WebView
I used android 'WebView' to load the url content. The loading process is time consuming than that url loading in browser.
Below is my code:
actvitity_main.xml

Nuwan Withanage
- 393
- 7
- 19