webview wont load pages properly unless app data is clearedHow to listen for a WebView finishing loading a URL?Android Issue with WebView and overriding the urlAndroid - webview - shouldOverrideUrlLoading not called - when user clicks links inside iframeError message -> shouldOverrideUrlLoading Webview AndroidAndroid progressbar inside WebViewLaunching android apps that uses codes(eg: *#1234#,*#06#) programmatically?React-router urls don't work when refreshing or writing manuallyAndroid webview does not load CSS properlyWebView not loading some pages twiceWebview not clearing previous page Android
STM Microcontroller burns every time
What was the Shuttle Carrier Aircraft escape tunnel?
I am completely new to Tales from the Floating Vagabond, how do I get started?
How does DC work with natural 20?
Is it illegal to withhold someone's passport and green card in California?
Can we put equal sign after aggregate functions in sql?
Why do some games show lights shine thorugh walls?
Find the C-factor of a vote
Why do even high-end cameras often still include normal (non-cross-type) AF sensors?
Why do all the teams that I have worked with always finish a sprint without completion of all the stories?
Trainee keeps missing deadlines for independent learning
How do I set an alias to a terminal line?
How to create a Tetrix/Sierpinski Tetrahedron fractal radiating from 0,0,0 ? Python or nodes
Employer wants to use my work email account after I quit
What does "play with your toy’s toys" mean?
Is it damaging to turn off a small fridge for two days every week?
What does an Input layer of shape=(None,) or (None,12) actually mean?
MRI maximum field strenght
Does this Wild Magic result affect the sorcerer or just other creatures?
Require advice on power conservation for backpacking trip
How can I politely work my way around not liking coffee or beer when it comes to professional networking?
If the world have massive single giant world tree can it stop earthquake?
If you snatch, I trade
How risky is real estate?
webview wont load pages properly unless app data is cleared
How to listen for a WebView finishing loading a URL?Android Issue with WebView and overriding the urlAndroid - webview - shouldOverrideUrlLoading not called - when user clicks links inside iframeError message -> shouldOverrideUrlLoading Webview AndroidAndroid progressbar inside WebViewLaunching android apps that uses codes(eg: *#1234#,*#06#) programmatically?React-router urls don't work when refreshing or writing manuallyAndroid webview does not load CSS properlyWebView not loading some pages twiceWebview not clearing previous page Android
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I have a hybrid android app which uses a webView to load a number of big web pages, big in the sense lot of contents. There is a button in one of the pages which will let the user make a voice call using:
startActivity(new Intent(Intent.ACTION_DIAL, Uri.parse(URL)));
The issue is when the app is launched for the first time everything works fine, but after the user starts loading few other pages(could be many) when the page with the button to call loads that call button won't work. Yes, the touch event is working because onClick a pop appears as it is supposed to be but ACTION_DIAL
is not working. And typing inside textboxes becomes very laggy.
This same page works fine in other newly installed devices
shouldOverrideUrlLoading
@Override
public boolean shouldOverrideUrlLoading(WebView view, String url)
if (url.startsWith("tel:"))
startActivity(new Intent(Intent.ACTION_DIAL, Uri.parse(url)));
return true;
return false;
WebSettings
settings.setBuiltInZoomControls(true);
settings.setDisplayZoomControls(false);
settings.setLoadWithOverviewMode(true);
settings.setUseWideViewPort(true);
settings.setJavaScriptEnabled(true);
settings.setAppCacheEnabled(false);
settings.getJavaScriptCanOpenWindowsAutomatically();
settings.setCacheMode(WebSettings.LOAD_NO_CACHE);
webView.setWebViewClient(new WebViewClient());
webView.setWebChromeClient(new WebChromeClient());
webView.requestFocusFromTouch();
webView.requestFocus(View.FOCUS_DOWN);
webView.setLayerType(View.LAYER_TYPE_HARDWARE, null);
However, after clearing the app data from Settings->Installed apps and when relaunched everything works fine, but after a day or two same things happens again.
I have toggled these things but no use:
settings.setAppCacheEnabled(true);
settings.setCacheMode(WebSettings.LOAD_NO_CACHE);
javascript android html webview android-webview
add a comment |
I have a hybrid android app which uses a webView to load a number of big web pages, big in the sense lot of contents. There is a button in one of the pages which will let the user make a voice call using:
startActivity(new Intent(Intent.ACTION_DIAL, Uri.parse(URL)));
The issue is when the app is launched for the first time everything works fine, but after the user starts loading few other pages(could be many) when the page with the button to call loads that call button won't work. Yes, the touch event is working because onClick a pop appears as it is supposed to be but ACTION_DIAL
is not working. And typing inside textboxes becomes very laggy.
This same page works fine in other newly installed devices
shouldOverrideUrlLoading
@Override
public boolean shouldOverrideUrlLoading(WebView view, String url)
if (url.startsWith("tel:"))
startActivity(new Intent(Intent.ACTION_DIAL, Uri.parse(url)));
return true;
return false;
WebSettings
settings.setBuiltInZoomControls(true);
settings.setDisplayZoomControls(false);
settings.setLoadWithOverviewMode(true);
settings.setUseWideViewPort(true);
settings.setJavaScriptEnabled(true);
settings.setAppCacheEnabled(false);
settings.getJavaScriptCanOpenWindowsAutomatically();
settings.setCacheMode(WebSettings.LOAD_NO_CACHE);
webView.setWebViewClient(new WebViewClient());
webView.setWebChromeClient(new WebChromeClient());
webView.requestFocusFromTouch();
webView.requestFocus(View.FOCUS_DOWN);
webView.setLayerType(View.LAYER_TYPE_HARDWARE, null);
However, after clearing the app data from Settings->Installed apps and when relaunched everything works fine, but after a day or two same things happens again.
I have toggled these things but no use:
settings.setAppCacheEnabled(true);
settings.setCacheMode(WebSettings.LOAD_NO_CACHE);
javascript android html webview android-webview
add a comment |
I have a hybrid android app which uses a webView to load a number of big web pages, big in the sense lot of contents. There is a button in one of the pages which will let the user make a voice call using:
startActivity(new Intent(Intent.ACTION_DIAL, Uri.parse(URL)));
The issue is when the app is launched for the first time everything works fine, but after the user starts loading few other pages(could be many) when the page with the button to call loads that call button won't work. Yes, the touch event is working because onClick a pop appears as it is supposed to be but ACTION_DIAL
is not working. And typing inside textboxes becomes very laggy.
This same page works fine in other newly installed devices
shouldOverrideUrlLoading
@Override
public boolean shouldOverrideUrlLoading(WebView view, String url)
if (url.startsWith("tel:"))
startActivity(new Intent(Intent.ACTION_DIAL, Uri.parse(url)));
return true;
return false;
WebSettings
settings.setBuiltInZoomControls(true);
settings.setDisplayZoomControls(false);
settings.setLoadWithOverviewMode(true);
settings.setUseWideViewPort(true);
settings.setJavaScriptEnabled(true);
settings.setAppCacheEnabled(false);
settings.getJavaScriptCanOpenWindowsAutomatically();
settings.setCacheMode(WebSettings.LOAD_NO_CACHE);
webView.setWebViewClient(new WebViewClient());
webView.setWebChromeClient(new WebChromeClient());
webView.requestFocusFromTouch();
webView.requestFocus(View.FOCUS_DOWN);
webView.setLayerType(View.LAYER_TYPE_HARDWARE, null);
However, after clearing the app data from Settings->Installed apps and when relaunched everything works fine, but after a day or two same things happens again.
I have toggled these things but no use:
settings.setAppCacheEnabled(true);
settings.setCacheMode(WebSettings.LOAD_NO_CACHE);
javascript android html webview android-webview
I have a hybrid android app which uses a webView to load a number of big web pages, big in the sense lot of contents. There is a button in one of the pages which will let the user make a voice call using:
startActivity(new Intent(Intent.ACTION_DIAL, Uri.parse(URL)));
The issue is when the app is launched for the first time everything works fine, but after the user starts loading few other pages(could be many) when the page with the button to call loads that call button won't work. Yes, the touch event is working because onClick a pop appears as it is supposed to be but ACTION_DIAL
is not working. And typing inside textboxes becomes very laggy.
This same page works fine in other newly installed devices
shouldOverrideUrlLoading
@Override
public boolean shouldOverrideUrlLoading(WebView view, String url)
if (url.startsWith("tel:"))
startActivity(new Intent(Intent.ACTION_DIAL, Uri.parse(url)));
return true;
return false;
WebSettings
settings.setBuiltInZoomControls(true);
settings.setDisplayZoomControls(false);
settings.setLoadWithOverviewMode(true);
settings.setUseWideViewPort(true);
settings.setJavaScriptEnabled(true);
settings.setAppCacheEnabled(false);
settings.getJavaScriptCanOpenWindowsAutomatically();
settings.setCacheMode(WebSettings.LOAD_NO_CACHE);
webView.setWebViewClient(new WebViewClient());
webView.setWebChromeClient(new WebChromeClient());
webView.requestFocusFromTouch();
webView.requestFocus(View.FOCUS_DOWN);
webView.setLayerType(View.LAYER_TYPE_HARDWARE, null);
However, after clearing the app data from Settings->Installed apps and when relaunched everything works fine, but after a day or two same things happens again.
I have toggled these things but no use:
settings.setAppCacheEnabled(true);
settings.setCacheMode(WebSettings.LOAD_NO_CACHE);
javascript android html webview android-webview
javascript android html webview android-webview
edited Mar 25 at 11:33
Jeff
asked Mar 25 at 9:27
JeffJeff
12 bronze badges
12 bronze badges
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55334720%2fwebview-wont-load-pages-properly-unless-app-data-is-cleared%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55334720%2fwebview-wont-load-pages-properly-unless-app-data-is-cleared%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown