Hi guys, new here and new to programming. I've been using Stack Overflow, but I'm realising they aren't so tolerant with someone like myself asking lots of newbie questions, even though I've done hours of searching for my answer.
Anyway, to my issue. I am writing an Android app that in part of it I would like to download traffic information. I have a link to an xml file I can use -
http://m.highways.gov.uk/feeds/rss/AllEvents.xml
For now though, I've downloaded this xml file and put it in my res folder. I'll come to parsing it without downloading if we can fix the first issue
Now, at the moment I have a SAXHandler that looks like this -
Then in my main activity I have -
The error I get is -
org.apache.harmony.xml.ExpatParser$ParseException: At line 1, column 0: syntax error
So it looks like me first issue is my parser doesn't like the xml format?
If we can figure that, I would like to then know how to a) download this xml as the user opens the activity or b) parse it direct?
Thanks for any help you might be able to offer a struggling noob!