Portfolio 2 | Week 13 - 14 - Sprint 3
- Koh Wee Xuan

- Feb 5, 2020
- 2 min read
For Sprint 3, we decided to further develop our mobile application by adding a genfencing function, when a user approaches a dengue hostpot, a notification will be sent to the mobile application. In order to do so, we will require all the hotspots location for it to be added into the mobile application and stored in Sqlite.
To start off, retrieving the hotspots location proved to be a pain due to not having a csv sheet online that we can refer to. To resolve this problem, I decided to implement a Robotic Process Automation (RPA) Program using UIPath that will scrap all of the hotspots from the
https://www.nea.gov.sg/dengue-zika/dengue/dengue-clusters#onemap website. The program will then automatically convert the csv file to a json file by using a free file converter online. It will then proceed to open firebase and upload the json file into firebase.

Once the hotspots is uploaded into Firebase, we can proceed to listen for changes on the mobile application. Once a change is detected in the Firebase, all the hotspots location will be downloaded from Firebase. The data will then be sorted out into single locations by splitting the string from the delimiter ('/'). Each location will then be geocoded into coordinates and stored into Sqlite database in the mobile application.
Whenever the user changes location, the location will be converted into coordinates and compared against the Sqlite database. Once the user enters a location that is near any of the hotspots location, a notification will pop up, notifying them of the dangers and what they can do to prevent it.
The second feature that we decided to implement during sprint 3 is the news feature. By using an API from newsapi.org, we had to read the json file from the API and convert it to the respective data types to be displayed onto a recycler view in our mobile application.
By filtering out the json file, we were able to retrieve only news that are related to Dengue in Singapore, making it relevant to users. We also allow users to open up their browser to view more details of the news as they click on the individual news items.
This allows user to always be informed of the latest dengue news, allowing them to be able to be aware of whats happening and keep themselves save.








Comments