Click & Fix: Final Presentation12/08/10
James Cui
Janam Jhaveri
Paul 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
GPS
Camera
User
Comments
Internet
4
Purdue
Maintenance
Initial Architecture
GPS
Camera
User
Comments
Internet
5
W. Lafayette
Current Architecture
Tabs
Submit
Application (global variables)
Data
Data
Data
Data
Proposed Milestones 9/15/10
Due 10/13/10 (3 weeks)
oCamera: Turn on/off, take/store picture
Due 10/27/10 (2 weeks)
oGPS: Turn on/off, retrieve/store coordinates
Due 11/10/10 (2 week)
oTransmission
Due 11/24/10 (2 weeks)
oText Entry & Additional Features
Due 12/8/10 (2 weeks)
oDebugging & Finalizing
6
Proposed Milestones 9/15/10
Due 10/13/10 (3 weeks)
oCamera: Turn on/off, take/store picture
Due 10/27/10 (2 weeks)
oGPS: Turn on/off, retrieve/store coordinates
Due 11/10/10 (2 week)
oTransmission
Due 11/24/10 (2 weeks)
oText Entry & Additional Features
Due 12/8/10 (2 weeks)
oDebugging & Finalizing
7
Application: Splash Screen
8
\\shay.ecn.purdue.edu\cui1\pchome\.pcprefs\Desktop\vip_poster\tabs+lgo\pudue_vip.png
Application: Tabs
9
\\shay.ecn.purdue.edu\cui1\pchome\.pcprefs\Desktop\vip_poster\tabs+lgo\pudue_vip.png
  Tabs allow for better UI
  Customized icons for visualappeal
Application: User Comments
10
\\shay.ecn.purdue.edu\cui1\pchome\.pcprefs\Desktop\vip_poster\tabs+lgo\pudue_vip.png
Users enter:
 contact info (optional)
 indoor or outdoor
 problem type/description
snap20101208_074326.png
 Application: Camera
11
User takes picture of problem
 orientation-aware
 zoom controls
 auto-focus
 auto-flash
 saves jpeg to SD card
snap20101208_080431.png
\\shay.ecn.purdue.edu\cui1\pchome\.pcprefs\Desktop\vip_poster\tabs+lgo\pudue_vip.png
Application: GPS
12
\\shay.ecn.purdue.edu\cui1\pchome\.pcprefs\Desktop\vip_poster\tabs+lgo\pudue_vip.png
For outdoor problems, find GPSand display it on map
 Dynamically reloads coordinates
 Allow users to lock/savecoordinates
 Map gets saved to SD card
For indoor problems (to beimplemented)
 Choose building and roomnumber
snap20101208_074404.png
Application: Submit Form
13
\\shay.ecn.purdue.edu\cui1\pchome\.pcprefs\Desktop\vip_poster\tabs+lgo\pudue_vip.png
Displays what information hasalready been saved by user
 Data sent to PHP script on server
 Hassle to email directly throughphone
 PHP script allows flexibility
Application: Submit Form
14
Script emails information
screenshot_email.jpg
E:\msee_pic.jpg
\\shay.ecn.purdue.edu\cui1\pchome\.pcprefs\Desktop\vip_poster\msee_map.jpg
E:\purdue_vip.jpg
\\shay.ecn.purdue.edu\cui1\pchome\.pcprefs\Desktop\vip_poster\title_white.png
Dr Jan P. Allebach,  Dr Edward J. Delp,  Xiang Cui,  Janam Jhaveri,  Paul Mongold
School 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 GPS
location
Submit data
\\shay.ecn.purdue.edu\cui1\pchome\.pcprefs\Desktop\vip_poster\tabs+lgo\pudue_vip.png
\\shay.ecn.purdue.edu\cui1\pchome\.pcprefs\Desktop\vip_poster\tabs+lgo\pudue_vip.png
snap20101208_074326.png
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 binfolder, 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 andJanam)
18
Option to switch between outdoor/indoor  onGPS tab
Select building and room number
Improve UI more
Format email and put PHP script on Purdue’swebsite
Give presentation to Purdue GroundsDepartment
Future: Spring 2011 (James andJanam)
19
Publish + market application
Maintain wiki