Question

I know this is likely a silly question all things considered but I was wondering if anyone knew how a news ticker widget works... Is it just an RSS feed that displays on the screen or is it a webView that grabs the latest news from XYZ site?

Been trying to figure this out for a while...

Was it helpful?

Solution

You actually answered your own question.

An RSS feed is indeed among the simplest ways of doing it since most news websites have an RSS feed. Simply retrieve the feed and parse the XML blocks (i.e., title, news body, etc) and arrange the content the way you want it.

Since you've tagged Android, give this a try.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top