Presentation is loading. Please wait.

Presentation is loading. Please wait.

Purdue Pride 4.30.10 Joe Gutierrez Tung Ho Janam Jhaveri 4/30/2010Purdue Pride1.

Similar presentations


Presentation on theme: "Purdue Pride 4.30.10 Joe Gutierrez Tung Ho Janam Jhaveri 4/30/2010Purdue Pride1."— Presentation transcript:

1 Purdue Pride 4.30.10 Joe Gutierrez Tung Ho Janam Jhaveri 4/30/2010Purdue Pride1

2 Goals for the semester 1.Learn Java 2.Learn Android API 3.Develop a widget that would pull RSS feed from a website and display one article 4/30/2010Purdue Pride2

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

4 Challenges 4/30/2010Purdue Pride4 Difficulty accessing the internet Solution: Add the following line of code to the manifest.xml file:... Proper documentation and extensive tutorials was missing Solution: A lot of trial and error. Eventually figured out how code worked Database presented challenges. It worked, but we have difficulty having it work together with the rest of the code. Solution: Removed database and displayed RSS content directly from website Some tutorials were for older API version Solution: Seeked help from sites and forums Works 50% of the time Solution: Next semester Memory Leak test? Performance => how long before battery drains Solution: next semester

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

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

7 Current Widget Flow Chart 4/30/2010Purdue Pride7 Current Idea Current Code Widget.java Item.java RSSHandler.java Open/Update Widget Display Contents Pull Contents from RSS feed Choose Random article DB.javaFeed.java

8 Widget Transition from App 4/30/2010Purdue Pride8 Application Widget

9 RSS Feed 4/30/2010Purdue Pride9 https://engineering.purdue.edu/Engr/AboutUs/News/Features/feed.rss

10 Different Widget Instances 4/30/2010Purdue Pride10

11 Widget Demo 4/30/2010Purdue Pride11

12 Future Development 4/30/2010Purdue Pride12 Manually input specific RSS feed Specify frequency of auto update Modify the layout of widget Manually refresh to new article Default List of Purdue RSS Feeds Keyword preference

13 Resources 4/30/2010Purdue Pride13 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 Tutorial http://www.helloandroid.com/tutorials/newsdroid-rss-reader http://www.helloandroid.com/tutorials/newsdroid-rss-reader


Download ppt "Purdue Pride 4.30.10 Joe Gutierrez Tung Ho Janam Jhaveri 4/30/2010Purdue Pride1."

Similar presentations


Ads by Google