Using the Google Fit API without the Google Fit app
Yes , obviously you can use it without the app installed. Let me tell you this.
-
If you want google fit to record the number of steps for your application, you only need to subscribe to the Step data type using
RecordingApi
google fit. -
Use
HistoryApi
to fetch data from google fit as you want, whether it is inbuckets
, or it is the daily data you want.
I can put the code too if I want. Otherwise, you can just follow the google fit guide .
For more clarification, some magic lines straight from Google Docs below .
The Google Fit app uses the Google Fit platform, which is included with Google Play Services. Your fitness or wellness app can use the Google Fit platform without requiring the user to install the Google Fit app.
source to share
Yes, you can.
Option 1:
You can go to fit.google.com and manually add activity data. After you add your activity, the data will be available immediately.
Option 2:
From the Google Fit Developer Site ,
Google fit is an open platform that allows users to control their fitness data, developers develop smarter apps, and manufacturers focus on creating amazing devices.
This means you can use the Google Fit API to build apps like the Google Fit App, or the platform can also be integrated directly into multiple fitness devices that can monitor fitness data.
So, if you have another app or fitness device that pushes data to the Google Fit server, you don't need to use the Google Fit app.
source to share