NightLite - HackXX2019

The safefy of any person is very important and most women would agree that they have experienced a time when they felt unsafe walking by themselves. NightLite offers a solution to this feeling of fear to any person.

DEVPOST: https://devpost.com/software/nightlite

Motivation

As a team of young women, we all understood how it felt to walk alone in the dark with no one around. We constantly heard stories of young girls getting abducted, so we always had this thought in the back of our minds that something so unthinkable could potentially happen to us. An app like NightLite would provide some relief while you are walking through a suspicious area.

Implementation

There are four tabs on the app that provide a different function to the user.

  • The first tab contains a button that the user would tap and hold when they feel unsafe. Once they feel that they are out of danger, they can let go of the button and NightLite will ask for a password to confirm that the user is in fact safe. If the password is not inputted, the app should contact the emergency contact that is recorded in the phone, and the location of the user will be sent to the authorities.
  • The second tab would contain a bell that the user can press to scare off any potential threats. It would play a loud sound until the user believes they have warded the danger.
  • The third tab is a map that potentially would send out a location to the authorithies. It tracks the location of the user while they are on the app, and implements a Google Maps API.
  • The fourth tab is where the user can make changes to their settings. There is an option to change the emergency contact and another to change their passcode.

Installation

  • Clone the repository
  • Install Android Studio
  • Download an emulator to run the program

Features

  • Button to hold until the user feels they are safe
  • Bell/siren button to play a loud sound
  • Map to provide live tracking of the user

Challenges

  • Learning to use Android Studio including coding in XML
  • Making a button open a new window and being able to close this window from another button (settings)
  • Implementing a way to check if the password that the user inputs matches the password in the verify password section

Credits

  • Creating a popup window

-- https://www.youtube.com/watch?v=fn5OlqQuOCk

  • Validating that two passwords match

-- https://www.youtube.com/watch?v=9a7mK_Z0z9w

Share this project:

Updates