Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using Google Fit APIs without Google Fit app

Tags:

google-fit

Can the Google Fit APIs be used without having the Google Fit APP?

I want to use the Google Fit APIs to count number of steps but can this be done without having to install the Google Fit App.

like image 454
user2424586 Avatar asked Jun 25 '15 05:06

user2424586


People also ask

Can you access Google Fit on browser?

If you use Google Fit on the web, you'll soon need to make the transition to using it on mobile and smartwatches. Google has announced that its Google Fit website will shutting down next month.

Is Google Fit only an app?

Google Fit is a fitness tracking app available for Android and iOS devices.


1 Answers

Yes obviously you can use it without application installed . Let me tell you this way ..

  1. If you want to that google fit will record step count for your app then you only have to subscribe the Step datatype by using RecordingApi of google fit .

  2. Use HistoryApi to fetch the data from google fit as you want whether in buckets or whether it is daily data you want .

I can put some code too if you want . Otherwise you can just follow the google fit guide .

For more clarification some magical lines right from Google Docs below .

The Google Fit app uses the Google Fit platform, which is included in Google Play services. Your fitness or wellness app can use the Google Fit platform without requiring users to install the Google Fit app.

like image 159
ADM Avatar answered Sep 28 '22 15:09

ADM