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 8998343
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T00:00:48+00:00 2026-06-16T00:00:48+00:00

I am using 8 – 10 different WebViews in one layout and loading different

  • 0

I am using 8 – 10 different WebViews in one layout and loading different content in each WebView.

While loading Webview shows different messages like “Loading..” “Processing..” etc.

enter image description here

Is there any way to hide these notifications?

  • 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-06-16T00:00:49+00:00Added an answer on June 16, 2026 at 12:00 am

    Try to use HttpClient to get the webpage’s html code and then use WebView.loadData to load the entire page into WebView.

    private class exampleHttpTask extends AsyncTask<Integer, Integer, String> {
        public String convertStreamToString(InputStream is, String charset) throws IOException {
            if (is != null) {
                Writer writer = new StringWriter();
                char[] buffer = new char[1024];
                try {
                    Reader reader = new BufferedReader(new InputStreamReader(is, charset));
                    int n;
                    while ((n = reader.read(buffer)) != -1) {
                        writer.write(buffer, 0, n);
                    }
                } finally {
                    is.close();
                }
                return writer.toString();
            } else {
                return "";
            }
        }
    
        protected String doInBackground(Integer... params) {
            String r = "";
            try {
                HttpClient hc = new DefaultHttpClient();
                HttpGet get = new HttpGet("http://google.com"); // replace with the url
                HttpResponse hr = hc.execute(get);
    
                if(hr.getStatusLine().getStatusCode() == HttpStatus.SC_OK) {
                    InputStream is = hr.getEntity().getContent();
                    r = convertStreamToString(is, "UTF-8");
                } else {
                    r = "Error";
                }
            } catch(Exception e){
                e.printStackTrace();
            }
            return null;
        }
    
        protected void onPostExecute(String result) {
            WebView wv = (WebView) findViewById(R.id.web_view); // replace web_view with the webView id
            wv.loadData(result, "text/html", "utf-8");
        }
    
        protected void onPreExecute() {
        }
    
    }
    

    Then call new exampleHttpTask().exec() to load the webpage.

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

Sidebar

Related Questions

Using System.Diagnostics.EventLog .NET type one can programmatically create logs into the Event Viewer application.
Using the RichTextArea in GWT, It looks like I can only change the font
using MSQL 2005 I have a continuous set of flow measurements (averaged for each
using grep, vim's grep, or another unix shell command, I'd like to find the
Using these images: (333x300) (1680x1050) and this layout: <?xml version=1.0 encoding=utf-8?> <LinearLayout xmlns:android=http://schemas.android.com/apk/res/android android:layout_width=match_parent
using this meta tag , as i understand supposed to make the site layout
Using myObject.performClick() I can simulate click event from the code. Does something like this
Using a CSS image sprite, I'm creating an 'interactive' image where hovering over certain
Using a populated Table Type as the source for a TSQL-Merge. I want to
using this http://bl.ocks.org/950642 we can see how to add images to nodes, the question

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.