Theme: App that could help people in the past
Over 40,000,000 innocent civilians died in WW2. In most cases this is because lack of fast communication for warnings, or an easy way to report any suspicious sightings. There is no way to know beforehand what place they should avoid. If there is a way to report and view warnings quickly, we can save so many lives.
What it does
Spotdier allows civilian to view warnings and reports from government officials, or even from other users. This information is displayed with detail, such as location, estimate numbers, etc. So people will go out or avoid that area. This could also help troops prepare as well, and evacuating as many people as possible. Users can also send in their own reports. Their report score could be viewed through the user information, and there might be a reward in place.
How we built it
Spotdier was built with many different key components. It was built with Firebase authentications for the protection of the user's password, Firestore cloud storage to store the location of the reports, Android Studio to make the actual app, and Kotlin and XML to code the frontend and backend. We split the work up among us so that everyone was able to contribute.
Challenges we ran into
There were many challenges that we ran into but each one was an opportunity for us to learn. One example of our challneges was sorting the reports in reverse order and displaying it on the page so that the user can scroll through all of the reports. This posed an issue since if we sorted by date then all of the reports on the same date would not be sorted. And then if we sorted by the time that it was reported then all of the date sorting is messed up. To fix this issue we changed the way that we were storing the times in our server.
Accomplishments that we're proud of
One accomplishment that we are proud of is being able to actually use a cloud storage server and not have the data stored locally on the phone. This was an important part of this application since people from all over the city need to be able to see the reports. Along with cloud storage we were able to use Firebase authentication. This was a great way to securely store the passwords for users so people cannot access other's accounts.
What we learned
Through this hackathon we learned so much. We learned how to store data in a cloud server and use its authentication tools. We also were able to store multiple collections in Firestore to further organize our data. It was also one of our team members first time making an app and they learned so much.
What's next for SpotDier
Like any app there is room for updates in Spotdier. To make Spotdier even better we are planning to create filters to easily sort through the reports on the reports page. Another addition that we are planning to do is showing the location of the report on a map when the user clicks on it from the reports page. This would be made using the Google Maps API.