webviewclient Questions
16
EDIT: I worked on this project years ago and unfortunately I cannot verify if any of the answers is working in the given scenario.
I am having hard time with one WebView which should show our blog...
Cadent asked 11/1, 2013 at 13:37
9
Solved
While searching for an answer in google, it seems that I'm not the only one stuck with a problem that seems impossible to solve.
I've managed to create a WebView with a custom WebViewClient - this...
Danialdaniala asked 23/2, 2011 at 10:23
11
Solved
I created an Activity that has a title and a web view in a LinearLayout. In the onResume() method it calls webView.loadUrl(url). The problem is that the activity first shows the title with the rest...
Guth asked 12/10, 2011 at 20:51
6
hi
In a list view i have an webview which should load a image file from the server,when there is no image present i need a dummy image .I tried
holder.image.setWebViewClient(new WebViewClient()
...
Kono asked 25/3, 2011 at 14:31
7
Solved
I want to open a PDF in my WebView, and I found and combined codes on this forum.
But it catches the "No PDF application found" although I have multiple PDF apps installed, including Adobe Reader....
Pathogenic asked 24/2, 2012 at 16:35
4
Solved
What's the difference between setWebViewClient vs. setWebChromeClient in Android?
Lovable asked 14/5, 2010 at 15:53
0
If I try to sign in to web-url via a Chrome / Microsoft Edge browser that has access to certificates on android device then everything works fine.
Screen shot for the chrome/edge browser working:
...
Nambypamby asked 24/8, 2020 at 14:7
5
Solved
I build a WebView which displays a website. The website contains links without a target="_blank" attribute and some with it.
I need to open the links with target defined in the external standard d...
Kenya asked 12/8, 2013 at 13:2
3
I am using a webview based application where i am rendering a url in the webview. The Url has a HTTP auth .
When i launch the url very first time,its onReceivedHttpAuthRequest() is called and I di...
Rascality asked 5/12, 2013 at 11:54
5
How can I disable the Android WebView/WebViewClient from sending out a request for favicon.ico when I call WebView.loadUrl()? I can see the call being made while profiling requests via CharlesProxy...
Alburga asked 19/1, 2016 at 20:44
1
Is there any way to intercept redirect requests in Android WebView? shouldInterceptRequest(WebView,WebResourceRequest) does not seem to get called!
I wanted to automatically catch token expiration...
Entrain asked 25/8, 2017 at 14:15
1
Below I posted my current onRenderProcessGone.
In the if (!detail.didCrash()) {} the instance variable "view" is guaranteed to be null, it's safe to reinitialize it. Should I myself reinitialize ...
Terse asked 13/10, 2017 at 21:1
2
I've implemented onReceivedSslError method in my WebViewClient to properly handle invalid https certificate in webview:
@Override
public void onReceivedSslError(WebView view, final SslErrorHandler...
Upholsterer asked 26/5, 2018 at 15:8
3
Solved
-Edit: Solution Found-
Figured it out after some heavy searching - one person (I literally mean one) said they instead used onPageLoad(); which worked perfectly for my purposes. The difference is t...
Eulalia asked 18/7, 2011 at 19:31
5
Solved
I try to catch webview longclicks to show a context menu. (see code below)
When longclicking an image, I always get the image-URL as extra (for a not linked image with IMAGE_TYPE and for a linked i...
Seem asked 28/8, 2012 at 21:52
1
Goal:
Override all requests made by a WebView and make the request myself (eventually set up a proxy).
Code:
@Override
public WebResourceResponse shouldInterceptRequest(WebView view, String url)...
Frasch asked 21/3, 2012 at 14:24
4
My application uses WebViewClient to make SSL connections to the server.
The server is configured to only accept TLSv1.1 and above protocols.
How do I check which SSL protocols are a) Supported an...
Garratt asked 4/2, 2015 at 19:22
0
I am using a Webview with WebViewClient to load a URL which requires authentication. I am using onReceivedHttpAuthRequest method of WebViewClient to set the authentication for every request.
@Over...
Windfall asked 8/6, 2018 at 6:18
0
I try to get cookie information with CookieManager in Android WebView. However, all it does is providing a key value pair of cookies, no additional information.
I also tried this post and use con...
Takeoff asked 14/4, 2018 at 19:37
1
I'm working on an SDK for Android. As part of this SDK, I need to set my own WebViewClient to a WebView of an application where the WebView and the SDK are integrated (meaning not part of my SDK).
...
Pledge asked 30/10, 2017 at 13:38
4
Solved
I have a webview in my Layout. By default, a search form is opened in it. On search, a listing section appears below the search form. If any link in the list is clicked, the details page opened. No...
Tiresias asked 4/9, 2014 at 11:18
3
I am trying to perform an action on an Android WebView after my webpage finishes loading in it. I setup my WebView to have a WebViewClient to make use of the onPageFinished event callback. However,...
Sensuality asked 20/11, 2012 at 2:28
1
I am trying to understand the difference b/w https://developer.android.com/reference/android/webkit/WebViewClient.html
onRecievedHttpError and onRecievedError.
For me I always get both of these c...
Wonderment asked 18/8, 2016 at 21:21
3
Solved
Context
In the Android SDK 23 onReceivedError(WebView view, int errorCode, String description, String failingUrl) has been deprecated and replaced with onReceivedError(WebView view, WebResourceReq...
Felicefelicia asked 19/5, 2017 at 10:49
1
Solved
WebViewClient.onReceivedError was deprecated, now I have to use onReceivedHttpError to handle the webview errors, however this method receives the error from any resource, which is not what I desir...
Lipp asked 27/4, 2017 at 17:23
1 Next >
© 2022 - 2025 — McMap. All rights reserved.