Skip to content

This Location Tracker app is built using Kotlin and integrates with the Google Maps API to display maps and track the user's current location. It also utilizes the Geofencing API to set a defined radius. When the user exits this radius, the app triggers an alert through a notification and a popup. Upon re-entering the radius, the app sends another

Notifications You must be signed in to change notification settings

devAchint/Location-Tracker

Repository files navigation

Location Tracker

This Location Tracker app is built using Kotlin and integrates with the Google Maps API to display maps and track the user's current location. It also utilizes the Geofencing API to set a defined radius. When the user exits this radius, the app triggers an alert through a notification and a popup. Upon re-entering the radius, the app sends another popup notification. The app continues to work in the background using a service, even if the app is closed, ensuring uninterrupted geofencing alerts.

Features

  1. Integrates Google Maps API to display maps and the user's current location.
  2. Implements geofencing to define a radius for location-based alerts.
  3. Uses a foreground service to send continuous location updates.
  4. Utilizes a broadcast receiver to trigger geofencing alerts.
  5. Built with Kotlin and uses Data Binding for efficient UI updates.
  6. Uses polylines to draw and display the user's movements on the map.

Screenshot

initial start left
notificaiton enter

Package Structure

  • service: Contains the TrackingService, responsible for tracking user location in the background.
  • broadcast: Includes the BroadcastReceiver for handling Geofencing alerts.
  • ui: Contains the MainActivity, responsible for managing the UI.
  • utils: Contains utility classes.
    • Constants: Stores constant values used throughout the app.
    • PermissionManager: Handles permission requests and checks.

Build With

Kotlin: As the programming language.

Google Maps : For implementing maps.

GeoFencing : For radius.

About

This Location Tracker app is built using Kotlin and integrates with the Google Maps API to display maps and track the user's current location. It also utilizes the Geofencing API to set a defined radius. When the user exits this radius, the app triggers an alert through a notification and a popup. Upon re-entering the radius, the app sends another

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages