Author: Yuanchen Lu ylu36@ncsu.edu
An Android application to track user's outdoor activities. The application constantly sends the user’s location to a server, which saves the location information in a database and tells the user how far he or she has gone. To save battery on the client, the server also tells the client how long to wait before sending the next update, based on the user’s speed.
- Run the command
sbt run
insideLocation_server
directory. Wait until server starts. - Build the apk inside
Location_tracker
directory. Note this is the Android application. - Enter the host name and username as prompted, the host name should be the address for the
Location_server
. - Upon moving, the app tracks the total distance since start. It also shows the user location update frequency. (Note: update frequency may not show for the first few update requests)
The server was built and tested within a Ubuntu 16.04 Virtual Machine. The Android app was built with Android Studio on Windows OS.