1

This is probably because a lack experience with both Java and Android development, but I'm looking for a way to fetch a RSS feed over the internet and parsing it, so I can display a list of entries in my app.

A lot of Googling showed me a lot of different results, but all of the suggested solutions seems incredibly large and I don't seem to get the general idea of these large systems.

Downloading a couple of samples supplied me with 3 or more (up to 16) .java files that I had to implement into my project just to fetch and parse an XML file - this seems highly overkill to me, but maybe thats the only way to go?

In short - is there no simple way of doing each of these things?

3

1 Answer 1

2

In short - is there no simple way of doing each of these things?

Taking the XML parsing as an example, the solutions you found try to parse as many different types of XML files as possible. XML files with multiple name spaces. XML files that are not well defined, possibly with missing tags.

You could certainly code a simpler XML parser, because you only need to parse one type of XML file, from the RSS service you're interested in.

There's the good, fast, and cheap project triangle. No matter how hard you try, you can get at most two of the three. Substitute simple for good, and small for cheap, and you'll see that you wind up with slow, meaning a custom solution.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.