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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T21:32:31+00:00 2026-05-25T21:32:31+00:00

I would like to dynamically add some images from this page to the rows

  • 0

I would like to dynamically add some images from this page to the rows from my table.

This is my code so far:

 TableLayout tableView = (TableLayout) findViewById(R.id.tableView);
    TableRow row = new TableRow(this);
    ImageView im;
    im = new ImageView(this);
    im.setImageResource(R.drawable.rss);
    row.addView(im, new TableRow.LayoutParams(50, 50)); 
    tableView.addView(row, new TableLayout.LayoutParams(LayoutParams.WRAP_CONTENT,  LayoutParams.WRAP_CONTENT));

Now… how can I make, for example, the image with the man with sunglasses, to be part of my table row?

PS: I would like my application to fetch each day the images, without me changing the code. That website updates one day to another, changing the news and the images.

  • 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-25T21:32:31+00:00Added an answer on May 25, 2026 at 9:32 pm

    Do you have an API from golfnews?

    My norwegian is a bit rusty to be honest. So I can’t really search around on the page.

    Do you have any code for fetching the news? Or just one row in a tableview with an rss button? More or less.

    You have as I see it three options, either use their api if they have one. You probably need to talk to them.

    1. Use the API, should give you image in base64 or similar if they have one.

    2. Use the RSS feed to fetch an index of the news and then parse each page and download the image in a temporary folder.

    3. Parse the homepage of golfnews.no and download the different pictures/cache them on the device.

    For parsing homepages check the answers to this question: Parse HTML in Android

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

Sidebar

Related Questions

I would like to add some paragraphs or new lines or words dynamically but
For debugging / performance tests I would like to dynamically add logging code to
I would like only to start some applications dynamically with the package name from
I would like to dynamically allocate memory from the machine_init function in my arm
I would like to use jQuery to dynamically add and remove sections of html
I would like to add some dynamic behavior to an application, preferably without resorting
I have created a nice user interface, and I would like to add some
I am creating some thumbnails dynamically with JQuery, like this (in a loop): var
I have an HTML table, to which I would like to add or remove
I would like to dynamically create a minimal transparent bar graph to display over

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.