I wanted to parse the xml feed and display as links in my Blackberry application.
After googling it, i found out that i have to use SAX parser. I have not found any good example.
For example if i want to parse the news rss feed from bbc.co.uk. How to do it. How to extract images from rss feed.
Please Help, Advise, and Guide me.
SIA
Thanks
Lets say its twitter rss xml we are talking about:
First of all implement handler for your xml, to take < title > and < link > value from < item > only:
Now, to use it, get InputStream from HttpConnection and put it all in SAXParser.parse:
Now use custom LabelField as a link field:
Sample of use:
alt text http://img215.imageshack.us/img215/7583/rssurl.jpg