Questions tagged [webviewclient]

An Android class to intercept load requests, key events, and other events.

An Android class that is attached to a Webkit Webview to intercept load requests, key events, and other events.

Documentation: https://developer.android.com/reference/android/webkit/WebViewClient.html

321 questions
0
votes
1 answer

Why Cakephp security cookies is not stored in WebViewClient?

Is there any particular reason why CAKEPHP security cookies is not set on Android WebViewClient? This is how i setup my webviewclient: @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); …
Raymond Lagonda
  • 1,243
  • 14
  • 19
0
votes
1 answer

webviewclient when loading HTTPS webpages

I am having a webview , and webviewclient enabled for it. I have observed that 1.When loading HTTP pages the call flow is like onPageStarted > shouldOverrideUrlLoading >onPageFinished So here its working as expected. 2.While loading HTTPS pages…
V I J E S H
  • 7,464
  • 10
  • 29
  • 37
0
votes
1 answer

android webview form post

I want to write a form proxy in my app. The html file is stored locally and the form code is
My custom WebView should handle the action tag differently. So custom should be redirected to a different URL,…
mars3142
  • 2,501
  • 4
  • 28
  • 58
0
votes
1 answer

WebViewClient not called the second time

I have a WebView which I use to load some html content locally in my app. It first loads the content, then calls a JavaScript function which then scrolls the WebView to a particular position. The following code illustrates how I do this: public…
Rameez Hussain
  • 6,414
  • 10
  • 56
  • 85
0
votes
0 answers

Link to Google Play Store from within WebView using only JavaScript

Long story short: I created a mobile webapp a while ago and it seems fairly popular, especially on Android. Today I discovered someone created an Android App and listed it in Google's Play Store that just wraps my website. My plan is now to create…
0
votes
1 answer

How to let WebViewClient load websites that are not google.com in own activity

How must my WebViewClient be so all Websites that are not Google.com are loaded in an external WebView within it's own activity? Thanks
Made by FA
  • 710
  • 2
  • 7
  • 27
0
votes
1 answer

Android Geolocation on webview

I need to get the location of a user from within a webview and it's not asking me for permission to get the location. Below is my webview code: WebView Setup public void WebViewSettings(){ webView = (WebView) findViewById(R.id.webview); …
Paddy1990
  • 946
  • 4
  • 13
  • 30
0
votes
0 answers

Custom Web Page Not Available Error in webview

How Can i add custom web page not available errorin my webview. if there is no internet connection available. https://i.stack.imgur.com/3U9x1.png
Vinod
  • 95
  • 1
  • 11
0
votes
1 answer

The method onReceivedError(WebView, int, String, String) is undefined for the type WebChromeClient

The method onReceivedError(WebView, int, String, String) is undefined for the type WebChromeClient
Vinod
  • 95
  • 1
  • 11
0
votes
1 answer

Android: Parse content of webview without reload and POST

I've a problem im my actual android workingset which I don't know to handle it. I hope I'll get help here ;) I want to fetch contents from a website (which is mine). I have to parse a single html-tag, which works perfectly fine with following…
JavaDM
  • 851
  • 1
  • 6
  • 29
0
votes
2 answers

Not getting progress bar in webview

Here is my code that I have used to show the progress bar inside webview. Pls Correcr my code, to show horizontal style Progress Bar to track when WebVIew done with loading URL, show progress bar each time user clicks links, add code to show…
Vinod
  • 95
  • 1
  • 11
0
votes
0 answers

Android Webview video capture Gingerbread

I'm trying to use video upload using Video Camera in Android 2.3.6 GingerBread using Android Webview in Eclipse. But i couldn't get it. Please help me out. This is working properly in later versions except GingerBread Thanks in Advance!
0
votes
0 answers

Error while performing action in WebView

I'm able load the URL in my WebView. But if I perform some action (like click event), I'm getting following error in LogCat: Unable to get value of the property 't': object is null or undefinedundefined But if I perform some events from the…
Gokul Nath KP
  • 15,485
  • 24
  • 88
  • 126
0
votes
2 answers

Zoom in WebView to fit webpage's width

The webpage that I need to use has a 320px wide background and everything on the webpage is laid out according to the same width. On devices with larger screens, everything on the webpage appears centered but small. I've tried everything that I…
0
votes
0 answers

WebViewClient onReceivedError not showing the error

My app is displaying a web page inside a WebView. If the web page is not there i receive a file not found error page (404). I'm trying to override a WebViewClient's onReceivedError method. I logout the error code and description but nothing is…
turtleboy
  • 8,210
  • 27
  • 100
  • 199