Skip to content

rsteckler/Android-Google-Fit-Service-Skeleton

Repository files navigation

Android-Google-Fit-Service-Skeleton

People want to run Google Fit inside of an Android service, and to minimize the amount of Google Fit code insie their activities and fragments. This project contains two files: MainActivity.java GoogleFitService.java

...that attempt to do just that. I use this pattern in my application, Cinch, and it's very reliable. I have multiple fragments make requests to the service, and MainActivity only contains a small set of Fit code required to do the initial authorization.

About

A minimal Android project that handles Google fit authorization and data retrieval. Google Fit runs in a service and only select pieces are exposed to the activity.

Resources

Stars

31 stars

Watchers

3 watching

Forks

Packages

 
 
 

Contributors

Languages