Skip to content

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.

Notifications You must be signed in to change notification settings

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

Watchers

Forks

Packages

No packages published

Languages