Click & Fix: Final Presentation 12/08/10 James Cui Janam Jhaveri Paul Mongold
Dec 20, 2015
Click & Fix: Final Presentation
12/08/10
James CuiJanam JhaveriPaul Mongold
The Goal• A fast and simple way to report campus issues– Picture taken of issue– Utilize GPS to automatically provide location data– User optionally gives comments– Send info through email– Purdue maintenance decides what to do
• Examples:– Graffiti– Snow Removal– Water Drainage
2
- Potholes/Sidewalks- Trees/Grass- Etc.
Inspiration: Citizen’s Connect
3
GPSCameraUser
Comments
Internet
4
PurdueMaintenance
Initial Architecture
GPSCamera UserComments Internet
5
W. Lafayette
Current Architecture
Tabs
Submit
Application (global variables)
Data Data DataData
Proposed Milestones 9/15/10• Due 10/13/10 (3 weeks)
o Camera: Turn on/off, take/store picture• Due 10/27/10 (2 weeks)
o GPS: Turn on/off, retrieve/store coordinates• Due 11/10/10 (2 week)
o Transmission• Due 11/24/10 (2 weeks)
o Text Entry & Additional Features• Due 12/8/10 (2 weeks)
o Debugging & Finalizing6
Proposed Milestones 9/15/10• Due 10/13/10 (3 weeks)
o Camera: Turn on/off, take/store picture• Due 10/27/10 (2 weeks)
o GPS: Turn on/off, retrieve/store coordinates• Due 11/10/10 (2 week)
o Transmission• Due 11/24/10 (2 weeks)
o Text Entry & Additional Features• Due 12/8/10 (2 weeks)
o Debugging & Finalizing7
Application: Splash Screen
8
Application: Tabs
9
• Tabs allow for better UI• Customized icons for visual appeal
Application: User Comments
10
Users enter:• contact info (optional)• indoor or outdoor• problem type/description
Application: Camera
11
User takes picture of problem• orientation-aware • zoom controls• auto-focus• auto-flash• saves jpeg to SD card
Application: GPS
12
For outdoor problems, find GPS and display it on map• Dynamically reloads coordinates• Allow users to lock/save coordinates• Map gets saved to SD card
For indoor problems (to be implemented)• Choose building and room number
Application: Submit Form
13
Displays what information has already been saved by user• Data sent to PHP script on server Hassle to email directly through phone PHP script allows flexibility
Application: Submit Form
14
Script emails information
Dr Jan P. Allebach, Dr Edward J. Delp, Xiang Cui, Janam Jhaveri, Paul MongoldSchool of Electrical and Computer Engineering, Purdue University, West Lafayette, Indiana
Notice a problem on Purdue’s campus?
Enter contact info & problem description
Take picture of problem
Lock-in GPSlocation
Submit data
Challenges
16
• Paul and James: learning Java/Android– O’Reilly tutorials, Android development guide– Wiki should make process easier
• Combining code + learning SVN– figured out ways around SVN and Eclipse (e.g.
compress project before importing, deleting bin folder, avoid merging in SVN, etc.)
• Smaller challenges included improving the UI, making features more advanced
Code
17
• Code can be found using SVN:svn co svn+ssh://vipfor@web/groups/vipfor/public_html/fall2010/ClickFix/svn
* When checkout materials, need to type password twice* Our current project files are in the trunk folder of the checked out copy* We are running revision 34 for our project right now
• Code is fully commented with links to tutorials
Future: Spring 2011 (James and Janam)
18
• Option to switch between outdoor/indoor on GPS tab
• Select building and room number• Improve UI more• Format email and put PHP script on Purdue’s
website• Give presentation to Purdue Grounds
Department
Future: Spring 2011 (James and Janam)
19
• Publish + market application• Maintain wiki