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

  • Home
  • SEARCH
  • 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 7999277
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T15:27:35+00:00 2026-06-04T15:27:35+00:00

SOLVED: Problem was that the second picture was really large! I am a bit

  • 0

SOLVED: Problem was that the second picture was really large!

I am a bit confused about this… probably I am missing something really basic.

I am trying to display this simple html page as part of my UI (there’s lots of elements in there, not just the webview)

<html>
<head>
</head>

<body bgcolor="black">

    <div align="center">
    <h2>Blabla</h2>
    <p>
        <img src="images/image1.jpg" width="300" />
    </p>
    <p>
        <img src="images/image2.jpg" width="300" />
    </p>
    <h3>tralala</h3>
    </div>
</body>

</html>

This is how I try to display the content (the url is a real url, not an asset!):

WebView mWebView = (WebView) findViewById(R.id.webview);
mWebView.getSettings().setJavaScriptEnabled(true);
mWebView.loadUrl("url");

This is the relevant part of the main.xml file:

<WebView
        xmlns:android="http://schemas.android.com/apk/res/android"
        android:id="@+id/webview"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
 />

What happens is that it loads the first image plus the text blabla, but not the tralala and the second image. It’s like it stops loading. How can I fix this?

Thanks for your help.

  • 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-04T15:27:37+00:00Added an answer on June 4, 2026 at 3:27 pm

    image2.jpg was really huge and that seemed to cause the problem. Person responsible for html site now resized the picture and it is working fine now.

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

Sidebar

Related Questions

Searched a lot about this problem but never found a answer, that solved it.
I understand the problem that OSGI solved thanks to this question.... What does OSGi
Solved: The problem was a virus or something similar that was hijacking the port.
I'd like to say that I solved the problem but I wanted post this
This is actually a problem that I've already solved, but I suspect that there
Issue is SOLVED: Problem is that it is a pre-compiled web page project and
Updated Problem solved, I have some design problem here. The directory looks like that:
[Update] Solved the Problem by generating a new web.config. Possible error was the second
I presume this isn't a common problem, which makes it a bit more difficult
(Problem solved, please see the updates) I have some files that have incorrect filenames

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.