Purdue_Pride_2.24.10x

Download Report

Transcript Purdue_Pride_2.24.10x

Purdue Pride
2.24.10
Live Wallpapers
• Unsure if do-able
– Couldn’t find anything about RSS
=> maybe very recent feature
=> formatting RSS might be an issue
– No support for views (which we need)
– Can’t display content, only images and animations
– Only supported for 2.1
– Wallpaper would be covered by App Icons
Widgets
• Alternative: widgets
– Widgets are light-weight
applications that run in the
background
– Can have app icons on top
– Slide to get a clear view
MySQL vs RSS
• MySQL
– Required PHP page to access MySQL
– Widget sends request to PHP page to access contents from database
• Potential Problems: permission, calling columns and rows from table correctly
– Widget stores contents to database
– Contents display on widget
• RSS
–
–
–
–
Create RSS feed/link on HTML page
Widget pulls contents via link/reader
Widget stores contents to database
Contents display on widget
Widget
Pull
Contents
from
Website
Slide to
Open
Store
Contents to
SQL Lite
Organize/Format
Contents
Access
content
•Widget runs in the background
•Pulls contents daily
Display
Contents
Purdue Pride
25 Things To Do Before Graduating
1. Run through the fountain
2. Go sledding on Slayter Hill
3. Spend the day at Harry’s Chocolate
Shop
4. Dress Up for Breakfast Club
5. Eat Thanksgiving Dinner at the
Residence Halls
6. Attend a women’s basketball game
7. Attend Grand Prix
8. Take a Roadtrip for Spring Break
9. Attend a call-out for the free pizza
10. Skip class (but not ECE 438)
Purdue Pride
25 Things To Do Before Graduating
1. Run through the fountain
2. Go sledding on Slayter Hill
3. Spend the day at Harry’s Chocolate
Shop
4. Dress Up for Breakfast Club
5. Eat Thanksgiving Dinner at the
Residence Halls
6. Attend a women’s basketball game
7. Attend Grand Prix
8. Take a Roadtrip for Spring Break
9. Attend a call-out for the free pizza
10. Skip class (but not ECE 438)
Resources
• Widgets api:
http://developer.android.com/reference/andr
oid/widget/package-summary.html
• Widgets layout guidelines:
http://developer.android.com/guide/practices
/ui_guidelines/widget_design.html
Resources
• Hello Widget tutorial
http://nm-blog.sanid.com/wpcontent/uploads/2009/07/android_howto-hellowidget.pdf
• Android with MySQL tutorial:
http://groups.google.com/group/androidbeginners/browse_thread/thread/878e5ff197cf7f71?pli=1
• PHP with MySQL tutorial:
http://www.w3schools.com/php/php_mysql_intro.asp