All Questions

119
votes
15answers
132741 views

File Upload in WebView

I have been struggling to upload files from WebView since last few days and there is no progress. I googled and implemented all suggested solutions but none works, like: solutions suggested here - And...
115
votes
13answers
123437 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 th...
86
votes
12answers
148173 views

how to get html content from a webview?

Which is the simplest method to get html code from a webview? I have tried several methods from stackoverflow and google, but can't find an exact method. Please mention an exact way. public class htm...
185
votes
6answers
211931 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 functi...
59
votes
10answers
68310 views

How to change font face of Webview in Android?

I want change the default font of webview to a custom font. I'm using webview in developing an bilingual browser app for Android. I tried getting an instance of custom typeface by placing my custom f...
78
votes
12answers
67203 views

detect ipad/iphone webview via javascript

Is there a way to differ via javascript if the website runs inside the ipad safari or inside an application WebView?
34
votes
4answers
57396 views

Detect click on HTML button through javascript in Android WebView

I'm not highly familiar with javascript but I think this is the best way to accomplish my purpose. If not, please correct me. I have a licence text 2 buttons at the end. All of this is written in H...
77
votes
7answers
121238 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 sam...
42
votes
9answers
77108 views

HTML file input in android webview (android 4.4, kitkat)

I was using the <input type="file"> on the android webview. I got it working thanks to this thread: File Upload in WebView But the accepted answer (or any other) no longer works with android 4...
64
votes
12answers
120168 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 i...

Previous Next