Computer Science 2023 Android Programming
2023 Create an RSS Reader with Two activities The first activity downloads the rss feed parses it and displays | Assignment Collections
Create an RSS Reader with Two activities. The first activity downloads the rss feed, parses it, and displays each title as an item in a list. When clicking an item, a new activity opens, displaying the text from the description (displayed in a WebView to render any HTML) and a link of the url of the story
Steps:
create list activity
create async task
write code to download rss feed
build object model (each object is just a container for title and description)
write code to parse rss using xml pull parser
for each title-description pair in the rss feed, create a new object instance and store it in an array
use the array to populate your list adapter
create a listener for when an item is clicked. When it is clicked, create a new intent to start a DescriptionActivity which will display the description of the item clicked.
extend the RSS Feed application to check for updates from the hosted rss site and notify the user when there are new feeds to be seen even, when the application isn’t running.
You are going to need to do two things:
Download RSS feed and store in an SQLite database on the phone. One of the columns in the database must contain a date.
Create a service which periodically checks the hosted rss site. Every time the service checks the site, it must download the rss feed, and check the pubDate to see if it is more recent then the current one stored in the database. If it is, throw out the local feed and store the new one. Then notify the user using a notification that there are new rss items available.
Attached is the RSS feed I have used before. You can modify and add to the code to create the SQlite Database. I will also like you to add a button so I can view the database.
We give our students 100% satisfaction with their assignments, which is one of the most important reasons students prefer us to other helpers. Our professional group and planners have more than ten years of rich experience. The only reason is that we have successfully helped more than 100000 students with their assignments on our inception days. Our expert group has more than 2200 professionals in different topics, and that is not all; we get more than 300 jobs every day more than 90% of the assignment get the conversion for payment.