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;








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);









share|improve this question






























    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);









    share|improve this question


























      0












      0








      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);









      share|improve this question
















      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






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 25 at 11:33







      Jeff

















      asked Mar 25 at 9:27









      JeffJeff

      12 bronze badges




      12 bronze badges






















          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
          );



          );













          draft saved

          draft discarded


















          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















          draft saved

          draft discarded
















































          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.




          draft saved


          draft discarded














          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





















































          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







          Popular posts from this blog

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

          Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript