DEVELOPMENT OF ANDROID AND WEB APPLICATION FOR DISASTER RISK MANAGEMENT THROUGH CROWDSOURCING
description
Transcript of DEVELOPMENT OF ANDROID AND WEB APPLICATION FOR DISASTER RISK MANAGEMENT THROUGH CROWDSOURCING
![Page 1: DEVELOPMENT OF ANDROID AND WEB APPLICATION FOR DISASTER RISK MANAGEMENT THROUGH CROWDSOURCING](https://reader036.fdocuments.in/reader036/viewer/2022070420/56815e35550346895dcc9808/html5/thumbnails/1.jpg)
DEVELOPMENT OF ANDROID AND WEB APPLICATION FOR DISASTER RISK MANAGEMENT THROUGH CROWDSOURCING
Project Members:Arun BhandariNishanta Khanal
SUPERVISORS:MR. SHASHISH MAHARJANMR. UMA SHANKAR PANDAY
JULY 28 , 2014 1
![Page 2: DEVELOPMENT OF ANDROID AND WEB APPLICATION FOR DISASTER RISK MANAGEMENT THROUGH CROWDSOURCING](https://reader036.fdocuments.in/reader036/viewer/2022070420/56815e35550346895dcc9808/html5/thumbnails/2.jpg)
INTRODUCTION
• Disasters:• Natural or human induced• Mostly inevitable • Risk reduction, safety and better rescue is what is necessary
• Location Based Services (LBS):• Services that extract the location information of the people from
GPS enabled devices• Popular, effective and easy to use• Provide the information on where a person is
2
![Page 3: DEVELOPMENT OF ANDROID AND WEB APPLICATION FOR DISASTER RISK MANAGEMENT THROUGH CROWDSOURCING](https://reader036.fdocuments.in/reader036/viewer/2022070420/56815e35550346895dcc9808/html5/thumbnails/3.jpg)
BACKGROUND
• Kathmandu valley faces the risk towards severe earthquake damage• Other disasters/ accidents also occur every once in a while• Rapid urban growth with unplanned settlements• Lack of efficient and sufficient emergency service providers
BUT,
The challenge of finding where a victim is trapped or where the rescue service is needed still prevails
3
![Page 4: DEVELOPMENT OF ANDROID AND WEB APPLICATION FOR DISASTER RISK MANAGEMENT THROUGH CROWDSOURCING](https://reader036.fdocuments.in/reader036/viewer/2022070420/56815e35550346895dcc9808/html5/thumbnails/4.jpg)
OBJECTIVES
• To develop a system for communication between victims and rescue service operators/ non-victims in a post disaster scenario
• Sub-objectives• To design and develop a database• To enable a system of communication with server containing database• To build a system enabling users to report, view map and call for emergency help• To design user interfaces (android and web) • To design and implement a proper administrative component
4
![Page 5: DEVELOPMENT OF ANDROID AND WEB APPLICATION FOR DISASTER RISK MANAGEMENT THROUGH CROWDSOURCING](https://reader036.fdocuments.in/reader036/viewer/2022070420/56815e35550346895dcc9808/html5/thumbnails/5.jpg)
METHODOLOGY
• PLANNING• RESEARCH• SYSTEM DEVELOPMENT
• DATABASE CREATION• SERVER BACKEND DEVELOPMENT• WEB APPLICATION DEVELOPMENT• ANDROID APPLICATION DEVELOPMENT
• TESTING AND DEBUGGING
5
![Page 6: DEVELOPMENT OF ANDROID AND WEB APPLICATION FOR DISASTER RISK MANAGEMENT THROUGH CROWDSOURCING](https://reader036.fdocuments.in/reader036/viewer/2022070420/56815e35550346895dcc9808/html5/thumbnails/6.jpg)
DATABASE CREATION
• PostgreSQL was used as DBMS
• PGADMIN III was used as frontend
• Tables were created using PGADMIN III UI and writing SQL
METHODOLOGY -> SYSTEM DEVELOPMENT
6
![Page 7: DEVELOPMENT OF ANDROID AND WEB APPLICATION FOR DISASTER RISK MANAGEMENT THROUGH CROWDSOURCING](https://reader036.fdocuments.in/reader036/viewer/2022070420/56815e35550346895dcc9808/html5/thumbnails/7.jpg)
SERVER BACKEND DEVELOPMENT
• Server backend development was done by writing PHP scripts
• Apache server was used to run the scripts
• The scripts are designed to be supplied with data using post method
• Scripts were written such that they returned data in JSON or GEOJSON format
METHODOLOGY -> SYSTEM DEVELOPMENT
7
![Page 8: DEVELOPMENT OF ANDROID AND WEB APPLICATION FOR DISASTER RISK MANAGEMENT THROUGH CROWDSOURCING](https://reader036.fdocuments.in/reader036/viewer/2022070420/56815e35550346895dcc9808/html5/thumbnails/8.jpg)
SERVER BACKEND DEVELOPMENT ( CONTD…)
• Following tools were used• XAMPP to run/emulate and configure APACHE server on our pc
• Notepad++ to write PHP scripts
• Google chrome to test and debug scripts
• Mozilla Firefox to test and debug scripts
METHODOLOGY -> SYSTEM DEVELOPMENT
8
![Page 9: DEVELOPMENT OF ANDROID AND WEB APPLICATION FOR DISASTER RISK MANAGEMENT THROUGH CROWDSOURCING](https://reader036.fdocuments.in/reader036/viewer/2022070420/56815e35550346895dcc9808/html5/thumbnails/9.jpg)
WEB APPLICATION DEVELOPMENT
• Web application was developed using multiple languages• PHP• JS• Html5• CSS 3
• Multiple files were created for different components to make it easy to add and edit components of the web site
• CSS and JS were saved in separate files as well• External libraries were downloaded and used as well as referenced as
required • Graphics and icons that were to be used were created• Testing and debugging
METHODOLOGY -> SYSTEM DEVELOPMENT
9
![Page 10: DEVELOPMENT OF ANDROID AND WEB APPLICATION FOR DISASTER RISK MANAGEMENT THROUGH CROWDSOURCING](https://reader036.fdocuments.in/reader036/viewer/2022070420/56815e35550346895dcc9808/html5/thumbnails/10.jpg)
WEB APPLICATION DEVELOPMENT (CONTD…)
• Following external libraries were used• BOOTSTRAP 3 • JQUERY • AJAX• LEAFLET• CHARTS.JS• MAPBOX API
• GOOGLE GEOCODING
METHODOLOGY -> SYSTEM DEVELOPMENT
10
![Page 11: DEVELOPMENT OF ANDROID AND WEB APPLICATION FOR DISASTER RISK MANAGEMENT THROUGH CROWDSOURCING](https://reader036.fdocuments.in/reader036/viewer/2022070420/56815e35550346895dcc9808/html5/thumbnails/11.jpg)
WEB APPLICATION DEVELOPMENT ( CONTD…)
• Following software and tools were used• XAMPP to run/emulate and configure APACHE server on our pc• Notepad++ to write scripts• Google chrome to test and debug web application• Mozilla Firefox to test and debug web application• Photoshop CS6 to create graphics and icons
METHODOLOGY -> SYSTEM DEVELOPMENT
11
![Page 12: DEVELOPMENT OF ANDROID AND WEB APPLICATION FOR DISASTER RISK MANAGEMENT THROUGH CROWDSOURCING](https://reader036.fdocuments.in/reader036/viewer/2022070420/56815e35550346895dcc9808/html5/thumbnails/12.jpg)
ANDROID APPLICATION DEVELOPMENT
• Android application was developed using multiple languages• Java• XML
• External libraries were downloaded and added to the build path• Multiple activities were created for the android application• Graphics and icons that were to be used were designed• Offline data to be used was acquired• Testing and debugging was done
METHODOLOGY -> SYSTEM DEVELOPMENT
12
![Page 13: DEVELOPMENT OF ANDROID AND WEB APPLICATION FOR DISASTER RISK MANAGEMENT THROUGH CROWDSOURCING](https://reader036.fdocuments.in/reader036/viewer/2022070420/56815e35550346895dcc9808/html5/thumbnails/13.jpg)
ANDROID APPLICATION DEVELOPMENT(CONTD…)
• Following external libraries were used• Mapsforge• Graphhopper
• Following software were used• Eclipse• Java SDK• Android SDK
METHODOLOGY -> SYSTEM DEVELOPMENT
13
![Page 14: DEVELOPMENT OF ANDROID AND WEB APPLICATION FOR DISASTER RISK MANAGEMENT THROUGH CROWDSOURCING](https://reader036.fdocuments.in/reader036/viewer/2022070420/56815e35550346895dcc9808/html5/thumbnails/14.jpg)
RESULTS
• DATABASE• SERVER BACKEND• WEB APPLICATION• ANDROID APPLICATION
14
![Page 15: DEVELOPMENT OF ANDROID AND WEB APPLICATION FOR DISASTER RISK MANAGEMENT THROUGH CROWDSOURCING](https://reader036.fdocuments.in/reader036/viewer/2022070420/56815e35550346895dcc9808/html5/thumbnails/15.jpg)
•FIVE TABLES:1. user_auth: to store user
information (username, contact, email address, type)
2. reports: to store information each report contains (type, level, description, location, date, etc. )
3. likes: to store the report id, username and vote (yes or no)
4. report_types: to store the type of report
5. emergency: to store information about emergency request (username, location, date, time)
DATABASERESULTS
Fig: Flow Database Schema Design 15
![Page 16: DEVELOPMENT OF ANDROID AND WEB APPLICATION FOR DISASTER RISK MANAGEMENT THROUGH CROWDSOURCING](https://reader036.fdocuments.in/reader036/viewer/2022070420/56815e35550346895dcc9808/html5/thumbnails/16.jpg)
SERVER BACKENDRESULTS
Fig: Flow Diagram of Server Processing
• Scripts written in PHP
• Help in extracting required data from the database according to the client request
16
![Page 17: DEVELOPMENT OF ANDROID AND WEB APPLICATION FOR DISASTER RISK MANAGEMENT THROUGH CROWDSOURCING](https://reader036.fdocuments.in/reader036/viewer/2022070420/56815e35550346895dcc9808/html5/thumbnails/17.jpg)
• Clean and easy to use User Interface• Functionalities:
• Map-view• News Feed • Submit new report• Search for nearest Hospital• Find shortest route• Admin components with privileges like
manage users and reports, view statistics, etc.
WEB APPLICATIONRESULTS
Fig: Website Homepage UI
17
![Page 18: DEVELOPMENT OF ANDROID AND WEB APPLICATION FOR DISASTER RISK MANAGEMENT THROUGH CROWDSOURCING](https://reader036.fdocuments.in/reader036/viewer/2022070420/56815e35550346895dcc9808/html5/thumbnails/18.jpg)
• Application along with a widget for emergency service request
• Six activities/ screens:• Login Page• Registration Page• News Feed• Map Screen• Disaster Report Page • Disaster Details Screen
• Facility of routing and finding nearest hospital
• Emergency service request possible through widget
ANDROID APPLICATIONRESULTS
Fig: Android Application Splash Screen
Fig: Android Application Map-view 18
![Page 19: DEVELOPMENT OF ANDROID AND WEB APPLICATION FOR DISASTER RISK MANAGEMENT THROUGH CROWDSOURCING](https://reader036.fdocuments.in/reader036/viewer/2022070420/56815e35550346895dcc9808/html5/thumbnails/19.jpg)
DISCUSSION
• Choice of OpenStreetMaps as the base map justifies data acquisition through crowd sourcing
• One click for emergency reporting is helpful to victims
• Users are responsible of validating the reports
19
![Page 20: DEVELOPMENT OF ANDROID AND WEB APPLICATION FOR DISASTER RISK MANAGEMENT THROUGH CROWDSOURCING](https://reader036.fdocuments.in/reader036/viewer/2022070420/56815e35550346895dcc9808/html5/thumbnails/20.jpg)
LIMITATIONS
• Android application is platform dependent
• Error in GPS coordinates
• We do not guarantee rescue services, a third party involvement is required
20
![Page 21: DEVELOPMENT OF ANDROID AND WEB APPLICATION FOR DISASTER RISK MANAGEMENT THROUGH CROWDSOURCING](https://reader036.fdocuments.in/reader036/viewer/2022070420/56815e35550346895dcc9808/html5/thumbnails/21.jpg)
CONCLUSION
• The initial objectives have been achieved
• The application can be of use to overall disaster resilience in Nepal
• Addition of features such as alerting respondents in the vicinity
21
![Page 22: DEVELOPMENT OF ANDROID AND WEB APPLICATION FOR DISASTER RISK MANAGEMENT THROUGH CROWDSOURCING](https://reader036.fdocuments.in/reader036/viewer/2022070420/56815e35550346895dcc9808/html5/thumbnails/22.jpg)
RECOMMENDATIONS• Proper marketing is required as crowd sourcing means nothing if crowd don’t use it
• Working on how to mitigate the damages caused due to hazards
• Involving responsible parties to manage the system and relay information to mass
• Addition of features such as alerting respondents in the vicinity, broadcasting safety tips
22
![Page 23: DEVELOPMENT OF ANDROID AND WEB APPLICATION FOR DISASTER RISK MANAGEMENT THROUGH CROWDSOURCING](https://reader036.fdocuments.in/reader036/viewer/2022070420/56815e35550346895dcc9808/html5/thumbnails/23.jpg)
23
THANK YOU!!visit our website
www.banmedo.heliohost.org/disasteraid Android application download available in the site
![Page 24: DEVELOPMENT OF ANDROID AND WEB APPLICATION FOR DISASTER RISK MANAGEMENT THROUGH CROWDSOURCING](https://reader036.fdocuments.in/reader036/viewer/2022070420/56815e35550346895dcc9808/html5/thumbnails/24.jpg)
SERVER BACKEND DEVELOPMENT (CONTD…)
• AN EXAMPLE GEOJSON STRING{ "type": "featurecollection","features": [{ "type": "feature", "geometry": {"type": "point", "coordinates": [0.0, 0.0]}, "properties": {"name": "point1"} },
{ "type": "feature", "geometry": {"type": "point", "coordinates": [10.0, 10.0]}, "properties": {"name": "point2”}] }
METHODOLOGY -> SYSTEM DEVELOPMENT
24