Scavenger Hunt came out of a failed attempt to build an indoor navigation app. We took what we coded with the navigation system and used it in a simpler application.
What it does
Shows you a “map” of hidden scavenger items inside a building. As the user moves, they can see where they are relative to the scavenger items. This is a fun app that is great for events such as a Hackathon where participants want to have some fun.
How we built it
We used Android’s Location Services and phone sensors to determine the user’s location. Additionally we used android’s canvas to draw our ui and handle user gestures make it easier for the user to navigate around.
Challenges we ran into
- We had originally planned to use the Augmented reality core for Android but we found that it was not compatible with any of our devices.
- We also found that the accuracy of the locations we could retrieve were not precise enough for what we had originally wanted
- When we decided to change ideas and do a scavenger hunt instead, there wasn’t as much time. So we found that it was important to reuse as much of the existing code that we had
Accomplishments that we are proud of
- Used Android Location Services API to locate user in a building with accuracy within 10 meters
- Used phone’s magnetometer to determine orientation relative to North Pole
- Graphed scavenger items on canvas and dynamically showed user’s location
What we learned
Things are not going to go according to plan and you have to be able to adjust!