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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T13:51:30+00:00 2026-05-16T13:51:30+00:00

Following is my html content which i want to show in the webview using

  • 0

Following is my html content which i want to show in the webview using android sdk. It will displays only

//Please

But when I put this HTML content into the browser then it shows differently.

<br /><br />Read the handouts please for tomorrow.<br /><br /><!--homework help homework


help help with homework homework assignments elementary school high school middle school



// --><font color="#60c000" size="4"><strong>Please!</strong></font>

Please suggest how to resolve this problem

I have another problem that in HTML content there is a tag

<img src="http://www.homeworknow.com/hwnow/upload/images/tn_star300.gif" border="0" />

in this images does not shows.

  • 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-16T13:51:31+00:00Added an answer on May 16, 2026 at 1:51 pm
    1. Use web.loadDataWithBaseURL instead of web.loadData (And don’t forget to escape strings where it’s needed)
    2. You need to add internet permission to download images and view them in your manifest file.

    This example works for me:

    public class SimpleMusicStream extends Activity {
        @Override
        public void onCreate(Bundle icicle) {
            super.onCreate(icicle);
            setContentView(R.layout.main);
    
            WebView wv = (WebView) findViewById(R.id.WebView01);        
    
            final String mimeType = "text/html";
            final String encoding = "UTF-8";
            String html = "<br /><br />Read the handouts please for tomorrow.<br /><br /><!--homework help homework" +
                    "help help with homework homework assignments elementary school high school middle school" +
                    "// --><font color='#60c000' size='4'><strong>Please!</strong></font>" +
                    "<img src='http://www.homeworknow.com/hwnow/upload/images/tn_star300.gif'  />";
    
    
            wv.loadDataWithBaseURL("", html, mimeType, encoding, "");
        }
    
    }
    

    And don’t forget to add:

    <uses-permission android:name="android.permission.INTERNET"></uses-permission>
    

    in your AndroidManifest.xml file

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

Sidebar

Related Questions

I have the following html content: <p>My name is <a href=way2project>way2project</a></p> Now I want
I'm trying to insert some text midway through some HTML content using the following
I'm using the following script to request new content to a file called index.html:
Following is my ajax function which will fill the html div on button click..now
I want to show the content of ViewData, which holds string in my case,
I want a rich text box control using which i can achieve following functionality:
I am using php. Create a file leftcolumn.php which includes following codes.. <!DOCTYPE html
I have following json data which I want to pass it to server using
I have the following HTML page and the background color for the content is
I have the following HTML: <div id=mydiv> </div> I would like to load content

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.