Android application for location tracking and storage in MongoDB Atlas.
For this project, an Android app was developed as a persistent service to acquire the user’s location and then store it in a non-relational database: MongoDB.
MongoDB Atlas is used along with MongoDB Realm to synchronize the local database generated during the application use with location data and the Atlas database in the cloud.
Below is shown a screenshot of the operation of the application, that works as a service with a persistent notification informing that the location is being tracked. This location information is stored in a MongoDB Atlas database and it is being synced thanks to MongoDB Realm.
With the application running and gathering information we can obtain routes and save the data into our Atlas database, and an example of an actual route is shown in the following figure.