Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6922495
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T10:24:48+00:00 2026-05-27T10:24:48+00:00

I have a webview and an string that holds over 500kb which displays the

  • 0

I have a webview and an string that holds over 500kb which displays the page. Does anyone have any idea to decrease the loading time of a webview?. The way I load is synchronous would it be better if I load it asynchronous. Any help is greatly appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T10:24:49+00:00Added an answer on May 27, 2026 at 10:24 am

    If you would like to increase the loading time of your web view while other views load normally you should

    1. Create a asynctask passing it the web view object
    2. Put a Thread.sleep(<time you want to wait>) in it set at how long you would like to wait, then execute loadData(<data>)
    3. When you are loading your views call execute on your async tasks and it will perform the sleep then load in the background while other views are being populated.

    Is that really what you want to do?

    UPDATED

    You can’t decrease the time it takes to load the web view by loading it asynchronous but you can stop it from blocking other views from loading while it loads.

    If the page makes sense (doesn’t look a mess) without the web view then you can load it on a separate thread (AsyncTask or creating a runnable class and calling runOnUiThread()) task with that view being updated when it is ready. An option would be to load from a thread and make the thread low priority so it would most likely wait for views to be rendered and then start the heavy html processing.

    You could also look at splitting the html up into separate views, embedding the dynamic content in standard android views or launching the browser activity and displaying it there

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

On Android, I have a WebView that is displaying a page. How do I
I have WebView which loads some page, when it's finished I apply some javascript
My application is a simple WebView wrapper that displays a web page in a
I have an webView in a Cocoa application which I edit the contents programatically.
I have a WebView. I'd like to show some page from my server, but
I have a webview, which shows the pages of a ebook. I want to
I have a Cocoa app that uses a WebView to display an HTML interface.
I have a NSWindow that hosts a WebView that Ive hooked up to a
I have Webview application that uses progress bar dialog. It works fine but the
I have an app that is displaying a webpage using a WebView control. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.