We have had a couple of friends and their families contract the Coronavirus. Contact tracing could have helped to mitigate the spread of the virus to others.
What it does
The application acts as a Bluetooth Low Energy (BLE) beacon and scanner; using this technology, the app logs the people they interacted with six feet or closer based on the Bluetooth signal strength. When a user notifies the app that they have symptoms or have tested positive for COVID-19, all of the smartphone users who have been close enough to that particular person’s smartphone will be notified the date at which they have been potentially exposed to the virus and advised to quarantine.
How I built it
We built the app using Android Studio with Kotlin, Java, and XML. We also used Google Firebase for cloud storage for the database of people who have contracted COVID-19 or have symptoms.
Challenges I ran into
We had issues at first linking our Firebase server into our application, but we resolved it after a few hours of searching. We also had to debug why the beacon was not working at first, but this was due to an error in our configuration of it.
Accomplishments that I'm proud of
We were able to make an application that detects other phones within six feet using the signal strength of Bluetooth. The Firebase database also stores the incidents with the virus as well, and this can be cross-referenced with a user’s list of people they have met. This app has the potential to slow down the spread of COVID-19 significantly.
What I learned
We learned how to use a Firebase database in an Android application. We also learned how to integrate a remote stack with a local stack to transfer information.
What's next for COVID-19 Alert
We will make a service that automatically checks every 30 minutes if the user is at risk for having COVID-19. Currently, this is handled by a button that the user can click to see if they are at risk.