An Android app for effortless background location tracking.
Status bar notification | Before starting service |
---|---|
Location service stopped | Location Service Started |
---|---|
-
Open the project in Android Studio.
-
Build and run the app on an emulator or a physical device.
The app requires the following permissions:
- Fine Location
- Coarse Location
- Post Notifications
- Foreground Service
- Click the "START" button to begin location tracking.
- Click the "STOP" button to stop location tracking.
- Latitude and longitude values are displayed in real-time.
MainActivity.kt
: Handles the main activity logic.LocationService.kt
: Implements the background location tracking service.
Feel free to contribute by opening issues or creating pull requests.
This project is licensed under the MIT License - see the LICENSE file for details.
- Thanks to the Material Components for UI elements.
- Inspired by the need for simple background location tracking.