We wanted to create a mobile app that could be used to improve public health/wellness safety. After discussing probable applications, we decided to take the route that would allow drivers gain awareness of traffic areas with a history of frequent or severe accidents.
What it does
It sends push notifications to the driver's phone based on their location, as they enter the 'high risk' areas.
How I built it
We used Android Studio to create an application that gathered the phone's location, which is then compared to data from a government crash database. We converted the database's Excel spreadsheet into a text file and then a JSON object. Using Google's Android API, we constructed geofences marking the zones of increased risk and compared the user's current location those of the dangerous areas. If the locations matched, the app would send a notification to the user.
Challenges I ran into
We had many front-end and back-end issues. One major problem was dealing with shared preferences. Another was reinitializing location services to track the user in realtime.
What's next for DriveSaferHD15
Scaling up to include real-time as well as historical data by pulling from local databases, and augmenting the push notifications sent to smart devices to include more detailed reports.