googlesamples / google-services

A collection of quickstart samples demonstrating the Google APIs for Android and iOS
https://developers.google.com
Apache License 2.0
3.05k stars 2.53k forks source link

Create foreground service for run tracking and timing. #470

Closed caller9 closed 4 years ago

caller9 commented 4 years ago

Create a foreground service https://developer.android.com/guide/components/services#Foreground to track the run while the user has the phone in standby mode or uses other apps.