Sample Android Application demonstrate how to track the current location of the device in a background service and share it to the Activity in the application
Switch branches/tags
Nothing to show
Clone or download

README.md

LocationTrackerApplication

Sample Android Application to keep track the current location of the device in a background service and share it the Activities in the application

It tracks the location of the device using a background service with Google LocationServices API Client and share the location to the Activity using a broadcast receiver. The background service will keep running as long as the application exists in the memory and sticks to the notification drawer.

The service handles the following functionalities,

  • Connecting to Google LocationServices API
  • Getting the current location
  • Sharing the result to the Activity

Result

track_location_device_devdeeds