Top Banner
Android RSS Reader Tutorial Mobile Computing CSE 40814 Fall 2012 Nikhil Yadav
25

Android RSS Reader Tutorial Mobile Computing CSE …cpoellab/teaching/cse40814/RSS... ·  · 2014-08-27Android RSS Reader Tutorial Mobile Computing CSE 40814 Fall 2012 ... 12-42

May 24, 2018

Download

Documents

vuanh
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Android RSS Reader Tutorial Mobile Computing CSE …cpoellab/teaching/cse40814/RSS... ·  · 2014-08-27Android RSS Reader Tutorial Mobile Computing CSE 40814 Fall 2012 ... 12-42

Android RSS Reader TutorialMobile Computing

CSE 40814Fall 2012

Nikhil Yadav

Page 2: Android RSS Reader Tutorial Mobile Computing CSE …cpoellab/teaching/cse40814/RSS... ·  · 2014-08-27Android RSS Reader Tutorial Mobile Computing CSE 40814 Fall 2012 ... 12-42

RSS Feed Reader App.

Page 3: Android RSS Reader Tutorial Mobile Computing CSE …cpoellab/teaching/cse40814/RSS... ·  · 2014-08-27Android RSS Reader Tutorial Mobile Computing CSE 40814 Fall 2012 ... 12-42

Build RSS Feed Reader app1. Create new project.

Page 4: Android RSS Reader Tutorial Mobile Computing CSE …cpoellab/teaching/cse40814/RSS... ·  · 2014-08-27Android RSS Reader Tutorial Mobile Computing CSE 40814 Fall 2012 ... 12-42
Page 5: Android RSS Reader Tutorial Mobile Computing CSE …cpoellab/teaching/cse40814/RSS... ·  · 2014-08-27Android RSS Reader Tutorial Mobile Computing CSE 40814 Fall 2012 ... 12-42

2. Create RSS item class

Page 6: Android RSS Reader Tutorial Mobile Computing CSE …cpoellab/teaching/cse40814/RSS... ·  · 2014-08-27Android RSS Reader Tutorial Mobile Computing CSE 40814 Fall 2012 ... 12-42
Page 7: Android RSS Reader Tutorial Mobile Computing CSE …cpoellab/teaching/cse40814/RSS... ·  · 2014-08-27Android RSS Reader Tutorial Mobile Computing CSE 40814 Fall 2012 ... 12-42
Page 8: Android RSS Reader Tutorial Mobile Computing CSE …cpoellab/teaching/cse40814/RSS... ·  · 2014-08-27Android RSS Reader Tutorial Mobile Computing CSE 40814 Fall 2012 ... 12-42
Page 9: Android RSS Reader Tutorial Mobile Computing CSE …cpoellab/teaching/cse40814/RSS... ·  · 2014-08-27Android RSS Reader Tutorial Mobile Computing CSE 40814 Fall 2012 ... 12-42
Page 10: Android RSS Reader Tutorial Mobile Computing CSE …cpoellab/teaching/cse40814/RSS... ·  · 2014-08-27Android RSS Reader Tutorial Mobile Computing CSE 40814 Fall 2012 ... 12-42

3. Create an RSS Parse handler Class (SAX Parser used for parsing the RSS (XML) feed)

Page 11: Android RSS Reader Tutorial Mobile Computing CSE …cpoellab/teaching/cse40814/RSS... ·  · 2014-08-27Android RSS Reader Tutorial Mobile Computing CSE 40814 Fall 2012 ... 12-42
Page 12: Android RSS Reader Tutorial Mobile Computing CSE …cpoellab/teaching/cse40814/RSS... ·  · 2014-08-27Android RSS Reader Tutorial Mobile Computing CSE 40814 Fall 2012 ... 12-42
Page 13: Android RSS Reader Tutorial Mobile Computing CSE …cpoellab/teaching/cse40814/RSS... ·  · 2014-08-27Android RSS Reader Tutorial Mobile Computing CSE 40814 Fall 2012 ... 12-42
Page 14: Android RSS Reader Tutorial Mobile Computing CSE …cpoellab/teaching/cse40814/RSS... ·  · 2014-08-27Android RSS Reader Tutorial Mobile Computing CSE 40814 Fall 2012 ... 12-42
Page 15: Android RSS Reader Tutorial Mobile Computing CSE …cpoellab/teaching/cse40814/RSS... ·  · 2014-08-27Android RSS Reader Tutorial Mobile Computing CSE 40814 Fall 2012 ... 12-42
Page 16: Android RSS Reader Tutorial Mobile Computing CSE …cpoellab/teaching/cse40814/RSS... ·  · 2014-08-27Android RSS Reader Tutorial Mobile Computing CSE 40814 Fall 2012 ... 12-42

4. Code RSS Reader Class

Page 17: Android RSS Reader Tutorial Mobile Computing CSE …cpoellab/teaching/cse40814/RSS... ·  · 2014-08-27Android RSS Reader Tutorial Mobile Computing CSE 40814 Fall 2012 ... 12-42
Page 18: Android RSS Reader Tutorial Mobile Computing CSE …cpoellab/teaching/cse40814/RSS... ·  · 2014-08-27Android RSS Reader Tutorial Mobile Computing CSE 40814 Fall 2012 ... 12-42

5. Create List Listener Class

Page 19: Android RSS Reader Tutorial Mobile Computing CSE …cpoellab/teaching/cse40814/RSS... ·  · 2014-08-27Android RSS Reader Tutorial Mobile Computing CSE 40814 Fall 2012 ... 12-42
Page 20: Android RSS Reader Tutorial Mobile Computing CSE …cpoellab/teaching/cse40814/RSS... ·  · 2014-08-27Android RSS Reader Tutorial Mobile Computing CSE 40814 Fall 2012 ... 12-42

6. Change Design Layout

Page 21: Android RSS Reader Tutorial Mobile Computing CSE …cpoellab/teaching/cse40814/RSS... ·  · 2014-08-27Android RSS Reader Tutorial Mobile Computing CSE 40814 Fall 2012 ... 12-42
Page 22: Android RSS Reader Tutorial Mobile Computing CSE …cpoellab/teaching/cse40814/RSS... ·  · 2014-08-27Android RSS Reader Tutorial Mobile Computing CSE 40814 Fall 2012 ... 12-42

7. Coding Activity

Page 23: Android RSS Reader Tutorial Mobile Computing CSE …cpoellab/teaching/cse40814/RSS... ·  · 2014-08-27Android RSS Reader Tutorial Mobile Computing CSE 40814 Fall 2012 ... 12-42

8. Set Internet Permission in Android Manifest file

Page 24: Android RSS Reader Tutorial Mobile Computing CSE …cpoellab/teaching/cse40814/RSS... ·  · 2014-08-27Android RSS Reader Tutorial Mobile Computing CSE 40814 Fall 2012 ... 12-42

9. Run app

Page 25: Android RSS Reader Tutorial Mobile Computing CSE …cpoellab/teaching/cse40814/RSS... ·  · 2014-08-27Android RSS Reader Tutorial Mobile Computing CSE 40814 Fall 2012 ... 12-42

Check out: http://www.ingeniumblog.net/2012/01/making-a-slick-rss-reader-in-android/

For information on multithreading in RSS Feeds

Questions??