Our inspiration for this project was to make a killer trick or treating app. Unfortunately, we were not able to accomplish that. Instead we made an app that used Google Maps API to help friends find common ground to hang out.

What it does

The user enters their address, and their friends address. They also choose what hangout they want to go to, bar, restaurant, or movie theatre. The app then find the location of the closest, most equidistant place that matches that description. It shows this to the user, as well as their own location and their friends location.

How I built it

We used Android Studio to build an Android App. Using namely the Google Maps API and related APIs we created the map and fetched all the world data we needed to, via https requests to the API. We then processed resulting .JSON files in order to extract necessary data and give proper feedback to the user.

Challenges I ran into

APIs, HTTPS requests, and JSONs are not something we have ever worked with. We also have never developed in android studio. There was a lot to learn in order to move forward.

Accomplishments that I'm proud of

We figured out how to get access to the Google Maps API, which was a challenge. We figured out how to fetch JSONs using HTTPS requests. Drawing stuff on the map.

What I learned

Processing JSONs Working with APIs

What's next for Track or Treat

If we had more time, we would draw a rout, base best location on commute rather than distance, and try adding several friends. Also we would do far more debugging and error handling.

Share this project: