What it does
"Never walk alone in the city". You've heard that before. But you have no friends.
Enter InDanger, your geiger counter for local crime. Press a button, and we take public criminal data and rate your immediate locality from a scale of 1-5, with 1 being the safest, and 5 being inner city Detroit. Also, if you're in enough danger, we'll even tweet (with your permission) your location so that when you're brutally mugged and left for dead, your followers will know where to find your body and any valuables the attacker might've missed.
How we built it
We imported criminal record data to a MongoDB server, and created a REST API to interface with it using node/express.js. We created an Android app to send the user's GPS coordinates to the server, and in turn receive a "danger rating". A website was also created to demonstrate the return values an end user could expect.
Challenges we ran into
- Twitter API. We started off trying to use twitter4j, a java twitter library, but ended up switching to a much the much more reliable Fabric.
- Android: Asynchronous task management was a big learning experience. Also, shoving everything into one activity might not have been the best idea..
Accomplishments that we're proud of
-Creating the tweeting while we're in danger feature. -Division of labor, and quality of effort was very equal and very fair :) -Putting the website, Android app, API, and server together so smoothly!
What we learned
Twitter API. We're just glad that we were able to learn how to use Fabric. It really makes everything much easier. We were proud of learning how to use MongoDB, and how to set up a REST API.
What's next for InDanger
-Live updates. -UI redesign. Definitely.