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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T04:59:08+00:00 2026-05-30T04:59:08+00:00

I’ve managed to get the back end working for an android app, where it

  • 0

I’ve managed to get the back end working for an android app, where it parses an RSS Feed. However I’m having real trouble getting it to display on the GUI. I’ve read many tutorials, and either I’m doing something nobody else is, or as more likely the case, I’m doing something silly, like not calling something somewhere.

The problem is, after some help for the guys who’s already responded, I’m getting null pointer exceptions in my code. I’ve posted teh errors below for you to take a look at. The code hasn’t changed vastly from where I’ve dumped it on codepad.

I’m parsing the XML using SAX if that makes a blind bit of difference.

I’ve dumped the pertinent files here in plain text, and sorry that they’re in one massive bunch….

Code Dump of Stuff

I just can’t figure out where i’m going wrong. Many thanks for your time once more.

The errors from catlog are as follows:

CatLogErrors

  • 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-30T04:59:10+00:00Added an answer on May 30, 2026 at 4:59 am

    If you extend ListActivity and want to use your main.xml then you forgot to call:

    setContentView(R.layout.main);
    

    in your onCreate() method(before the feeds = getFeed(feedSource);). Also if you plan to extend ListActivity then in your layout you must have a ListView element with the id:

    android:id="@android:id/list"
    

    Then in your updateGui method you don’t have to find the list because the ListActivity will automatically find it as long as you have the above ID :

    private void UpdateGui() {
            ArrayAdapter<BlogPost> adapter = new ArrayAdapter<BlogPost>(this, android.R.layout.simple_list_item_1, feeds);
            setListAdapter(adapter);
        }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
this is what i have right now Drawing an RSS feed into the php,
We're building an app, our first using Rails 3, and we're having to build
I'm having trouble keeping the paragraph square between the quote marks. In firefox the
I am trying to understand how to use SyndicationItem to display feed which is
I am currently running into a problem where an element is coming back from
I am writing an app with both english and french support. The app requests
I am using Paperclip to handle profile photo uploads in my app. They upload
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function

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.