1 / 13

Purdue Pride 4.30.10 Joe Gutierrez Tung Ho Janam Jhaveri

Purdue Pride 4.30.10 Joe Gutierrez Tung Ho Janam Jhaveri. Goals for the semester. Learn Java Learn Android API Develop a widget that would pull RSS feed from a website and display one article. History of Progress. Websit e with RSS feed is set up (3.3.10)

thanos
Download Presentation

Purdue Pride 4.30.10 Joe Gutierrez Tung Ho Janam Jhaveri

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Purdue Pride4.30.10Joe GutierrezTung HoJanam Jhaveri Purdue Pride

  2. Goals for the semester • Learn Java • Learn Android API • Develop a widget that would pull RSS feed from a website and display one article Purdue Pride

  3. History of Progress • Website with RSS feed is set up (3.3.10) • Basic widget displays hard-coded text (3.10.10) • Successfully store and recall data from SQL Lite with an application (3.24.10) (Need to add fixes) • Successfully retrieve and display RSS feed onto view (4.1.10) • RSS Application fully working (no database) (4.14.10) • RSS Weather Widget fully working (no database) (4.21.10) • RSS Reader Widget fully working (no database) (4.30.10) Purdue Pride

  4. Challenges • Difficulty accessing the internet • Solution: Add the following line of code to the manifest.xml file: • <manifestxlmns:android...> ...<uses-permission android:name="android.permission.INTERNET"></uses-permission></manifest> • Proper documentation and extensive tutorialswasmissing • Solution: A lot of trial and error. Eventuallyfigured out how code worked • Databasepresented challenges . It worked, but we have difficultyhavingitworktogetherwith the rest of the code. • Solution: Removeddatabase and displayed RSS content directlyfromwebsite • Sometutorialswere for older API version • Solution: Seeked help from sites and forums • Works 50% of the time • Solution: Nextsemester • Memory Leaktest? • Performance => how long before battery drains • Solution: next semester Purdue Pride

  5. Original vs Current Pull Contents from RSS feed Store Contents to SQL Lite Organize/Format Contents Original Idea Open/Update Widget Access content Display Contents Open/Update Widget Pull Contents from RSS feed Choose Random article Current Status Display Contents Purdue Pride

  6. Original Widget Flow Chart Pull Contents from RSS feed Store Contents to SQL Lite Organize/Format Contents Original Idea Open/Update Widget Access content Display Contents Original Code Widget.java DB.java Item.java Feed.java RSSHandler.java Purdue Pride

  7. Current Widget Flow Chart Open/Update Widget Pull Contents from RSS feed Choose Random article Display Contents Current Idea Current Code Widget.java RSSHandler.java Item.java DB.java Feed.java Purdue Pride

  8. Widget Transition from App Application Widget Purdue Pride

  9. RSS Feed https://engineering.purdue.edu/Engr/AboutUs/News/Features/feed.rss Purdue Pride

  10. Different Widget Instances Purdue Pride

  11. Widget Demo Purdue Pride

  12. Future Development • Manually refresh to new article • Manually input specific RSS feed • Modify the layout of widget • Specify frequency of auto update • Keyword preference • Default List of Purdue RSS Feeds Purdue Pride

  13. Resources • Hello Widget tutorial • http://nm-blog.sanid.com/wp-content/uploads/2009/07/android_howto-hellowidget.pdf • Android with MySQL tutorial: • http://groups.google.com/group/android-beginners/browse_thread/thread/878e5ff197cf7f71?pli=1 • PHP with MySQL tutorial: • http://www.w3schools.com/php/php_mysql_intro.asp • RSS Tutorial • https://www6.software.ibm.com/developerworks/education/x-androidrss/ • http://www.Anddev.org/parsing_xml_from_the_net_-_using_the_saxparser-t353.html • RSS and databases Tutorialhttp://www.helloandroid.com/tutorials/newsdroid-rss-reader Purdue Pride

More Related