AppQuest Metal Detector is the 1. application for the App Quest 2016 Treasure Hunt. The application must be able to find a magnetical object by showing the magnetic value in a progress bar. While the Treasure Hunt the goal will be to find the treasure with the "gold" inside. Finally it must be possible to upload the QR-code string to the AppQuest Logbuch.
AppQuest Repository | AppQuest 2016 |
Application Requirements | http://appquest.hsr.ch/2016/metall-detektor-android |
Minimum API Level | API level 23 (Marshmallow) |
Development Environment | Android Studio |
Work with the magnet sensor data
float[] mag = event.values;
double betrag = FloatMath.sqrt(mag[0] * mag[0] + mag[1] * mag[1] + mag[2] * mag[2]);
AppQuest Logbuch format
{
"task": "Metalldetektor",
"solution": "$Lösungswort"
}