Inspiration

Due to Covid-19, staying healthy has become more important than ever. We thought it would be useful to send a "Wash your hands" notification if you're home after you went out. Some might think this is annoying, but handwashing is one of the best ways to protect yourself!

What it does

It sends you a notification to wash your hands when you are home after you went out. First, you can set your home location and your home parameter(sensitivity). After that, the app registers a background service and checks your location. If you go out of your house parameter and then come home, the app recognizes that you're back home again, notifying you to wash your hands.

How we built it

We used Kotlin and Android Studio to build the app. Additionally, we used Google Maps API to retrieve our location and use MapFragment to set our home location. We version-controlled our code via git with GitHub.

Challenges we ran into

We had to get users' current location and calculate the distance between users' set home location. Not only doing this foreground wasn't easy but also doing the task in the background was very challenging.

Accomplishments that we're proud of

We are proud of the background service that we made. Our background service checks our location and the distance to our home and gives us a push notification!

What we learned

We learned how to use Google Maps API. We learned how to trigger a notification in Android using Kotlin. We also improved our Android Studio IDE skills by doing lots of debugging :D.

What's next for Clean Hands!

We do have some minor bugs to fix, and we will continue our project to trigger notifications when you go out, saying "Make sure you wear a mask!".

Built With

Share this project:

Updates