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