Skip to main content
Filter by
Sorted by
Tagged with
7 votes
4 answers
16k views

I'm developing a PHP application which work with Google Fit APIs to collect daily user's step count. I want to get my step count from "Jan 15 2015 00:00:00 GMT+0700" to "Jan 16 2015 00:00:00 GMT+0700"...
Kahn's user avatar
  • 113
1 vote
1 answer
2k views

I would like to get some technical help with the google fit rest Rest API. I am making an app that requires access to the location information and as a response for my request I am getting this json. ...
Ricardo Garza V.'s user avatar
17 votes
5 answers
13k views

I have developed an application that needs to display daily steps count. To do this, I used the API available in Google Fit SDK. All seems to be working properly, but the steps count I get does not ...
Thomas Thomas's user avatar
10 votes
8 answers
15k views

I am trying to use google fit api in my android app. I followed this guide and created SHA-1 certificate using keytool.exe in my jdk 1.8 bin folder. I have now created Oauth Client ID. In my app, I ...
Harshil Pansare's user avatar
6 votes
1 answer
2k views

I have created a Google Fit application to read/write data from Google Fit. I have two devices linked to the same account, but I cannot see the data added from one device to another. How is this ...
Radhakrishnan's user avatar
1 vote
1 answer
3k views

I have an app that integrates with Google Fit. One of the requirements is display a users favorite activity (most frequent) i.e.: bicycling. I assume it would be done through the History API, but I'm ...
b_the_builder's user avatar
19 votes
1 answer
8k views

I'm following the same steps described here (the Google Fit client connection part is working fine). final DataType dataType=TYPE_STEP_COUNT_DELTA; DataSourcesRequest requestData = new ...
user3290180's user avatar
  • 4,420
18 votes
2 answers
9k views

I'm writing an application that call google fit rest api from Flutter. I need to sign with google using (https://pub.dev/packages/google_sign_in). I can obtain a token without problem (see Did ...
Alessandro Verona's user avatar
15 votes
3 answers
15k views

Since I installed the Google Fit app on my Nexus 5 it has been tracking my step count and time spent walking. I'd like to retrieve this info via the Google Fitness REST api (docs) but I can't work out ...
user avatar
13 votes
2 answers
8k views

It is a well known issue that many Android phones switch off the accelerometer when the screen goes off. However something seems to have changed with Android Fit (the app). Fit keeps counting steps ...
FabioC's user avatar
  • 462
4 votes
2 answers
5k views

I have tried to develop application using google fit. I follow This link When i try to run that application i got the following error 10-27 11:55:19.966: I/Google Fit(6016): Connection failed. ...
Radhakrishnan's user avatar
4 votes
1 answer
2k views

So I'm writing a fitness application for android. I'm using the Google fit API to count the steps. I'm using the Recording API to count the steps when the app is in the background. Once the app is in ...
stefanos's user avatar
2 votes
3 answers
3k views

I am trying to connect to Googlefit but i am getting a strange error code as below E/GooglePlayServicesUtil﹕ Unexpected error code 5005 Does anybody have any idea about this.Thanks In advance
Pravin yadav's user avatar
1 vote
5 answers
5k views

How do I calculate the distance covered by the user using the google fit API? Currently I am using google Fit History Api like this : DataReadRequest readRequest = new DataReadRequest.Builder() ...
Ankita Chopra's user avatar
1 vote
1 answer
5k views

I need to get all the heart rate measurements, and not the minimum, maximum and average, which is what I have been able to get. This is the code I use for reading from my java class. Thank you! ...
ja12's user avatar
  • 360
0 votes
2 answers
2k views

I am looking for some fresh ideas on the dreaded 5005 error: "Status code denotes that an unknown error occurred while trying to obtain an OAuth token." when my Watch Face tries to connect a Google ...
Opus1217's user avatar
  • 743
0 votes
1 answer
3k views

I want to get sleep data of previous day from Google Fit between 7pm(start time) to 11am(end time). Using following code I get the data after midnight. For example if Google fit has sleep time 10pm ...
Shruti's user avatar
  • 815
53 votes
7 answers
96k views

The Google Fit app, when installed, measures the duration you are walking or running, and also the number of steps all the time. However, strangely, using it does not seem to drain the battery. Other ...
Randy Sugianto 'Yuku''s user avatar
12 votes
3 answers
30k views

My Android app targets SDK 28 and connects to Google Fit to upload data and read some other data. The app uses the HistoryAPI to read com.google.step_count.delta data. This documentation claims that "...
Karringgton's user avatar
7 votes
2 answers
7k views

So I'm trying to create an app that connects to Google Fit and shows the user their data in a pretty streamlined way and I'm having trouble finding the calories the user burned for each individual ...
user292277's user avatar
7 votes
2 answers
6k views

We are working on an Android application which queries Google Fit API to retrieve Steps, Calories and Distance parameter. We want to query activities which are NOT manually entered by user (or somehow ...
Amit's user avatar
  • 1,385
6 votes
2 answers
3k views

I can't seem to get round this issue. I just cannot sign in. I'm running the BasicSensorApi sample file and it just will not connect. It seems i'm getting RESULT_CANCELED even though i select an ...
Matt's user avatar
  • 1,388
5 votes
3 answers
5k views

I am creating application which can use google fit api. I want to get all the activities(Movements) available in the google fit. Here the list of activities in google fit Reference. Edited I know ...
Radhakrishnan's user avatar
5 votes
5 answers
6k views

How can we get the data stored in google fit cloud for a specific user? I tried using History API but no data is being displayed. Then i tried entering some data vai History api, now I could see these ...
Binod Singh's user avatar
4 votes
5 answers
6k views

I am working on app fitness app , for that I used google fit api . Till now I am successful in fetching steps count , distance but I am unable to get calorie expenditure . Thanks in Advance
Gaganpreet Singh's user avatar
3 votes
2 answers
6k views

I used Sensor API for counting steps. I saw it's differs from Google Fit App. Does Google Fit app uses Sensor API other things? Code Snippet : Fitness.SensorsApi.add( ...
Sayem's user avatar
  • 5,051
3 votes
1 answer
898 views

I have some code that has worked for months in production which suddenly has stopped working yesterday in all my apps. I use Google Fit to retrieve locations via the Fitness.SensorClient API. ...
FabioC's user avatar
  • 462
3 votes
2 answers
3k views

Google Fit allows users to add activities manually and programatically. Is it possible to filter out manually or programtically added activities from either the Android Api or the REST Api? I want to ...
Sam Leach's user avatar
  • 13k
2 votes
1 answer
2k views

I have tried to read Blood pressure value from Google Fit using Android code but unable to read value and returns the below logs Blood Pressure Log: Number of returned buckets of DataSets is: 1 ...
Nandha K's user avatar
2 votes
2 answers
3k views

I am using Google Fit Api in my project to get user's daily steps. But the problem is, user can enter the steps manually by adding the activities. And when i retrieve the daily steps, Google Fit Api ...
Mudasir Sharif's user avatar
1 vote
1 answer
2k views

Hi I have a android project where it reads certain data from application user's Google Fit profile. I faced a weird scenario as below. all the below are in debug mode and not in release mode. 1) ...
Amila Banuka Amarasinghe's user avatar
1 vote
0 answers
194 views

I want to get sleep and cycle tracking data from Google Fit to my app. I am aware that the API is no longer in use and we need to use the Health Connect app. I have retrieved most of the data, but I ...
Shivam's user avatar
  • 317
0 votes
2 answers
1k views

I am trying the BasicHistory Sample whis stores a data and then read it but in my case the code get stuck at the insert call.await call does not return anything i have tried using the asynchronous way ...
Pravin yadav's user avatar
0 votes
1 answer
437 views

I am trying to access the googleFit API. It seems pretty straightforward. Get the google sign-in permissions and required authorizations then query for Step count. My code doesn't seem to work. When I ...
grooot's user avatar
  • 466
-1 votes
1 answer
1k views

I am not able to get step count. I've been stuck on getting the onDataPoint method to be called. This code is almost correct. I am not able to find why it is not showing step count. package com....
Ankur Singh's user avatar
14 votes
1 answer
1k views

Somehow I've run into a dead end with the Google Fit Android SDK. Currently I'm building an application that reads, displays and processes data from Google Fit to give users insights on their workout ...
damian's user avatar
  • 2,011
12 votes
1 answer
4k views

The Google Play documentation claims this is an API_NOT_CONNECTED code, however I have done everything I (think I) have to do in order to access the Google Fit API. Attempting to use Fit API on an ...
drnessie's user avatar
  • 897
11 votes
6 answers
10k views

I've setup app that connects to Google Fit, reads and writes some data about users body. When user disables Google Fit in apps settings, I try to revoke my apps permissions for by calling: public ...
Jaroslav's user avatar
  • 1,389
11 votes
2 answers
7k views

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.
user2424586's user avatar
10 votes
3 answers
10k views

Does anyone know how to create a doughnut chart similar to the one in Google Fit.
Chris D's user avatar
  • 820
10 votes
2 answers
7k views

I'm developing an app for Android Wear on Samsung Gear Live (Google I/O Edition) where it will need access heart rate and steps count history data. I know that later this data might be accessible ...
Maksim's user avatar
  • 17k
9 votes
0 answers
409 views

I am trying to get GoogleFit data with buckets of 15 minutes for the last 2 weeks. But for some reason the call to the HistoryApi does never finish, even if I wait some minutes. When using 1 hour ...
Georg's user avatar
  • 3,939
9 votes
2 answers
2k views

The iOS Google Fit app shows Resting Heart Rate as one of it's metrics (I have not seen it in the Android Google Fit app, however). I would like to show Resting Heart Rate in an Android app using ...
Steve Zeidner's user avatar
9 votes
1 answer
3k views

I'm trying to access the heart rate monitor of a Samsung Gear Live watch. The watch is paired with a 4.4.4 handset and works correctly. I'm following the official BasicSensorsApi sample. I can ...
EyesClear's user avatar
  • 28.5k
8 votes
2 answers
2k views

If I go to google api playground I do the following steps: Step 1: Select & authorize APIs. I select the two scopes https://www.googleapis.com/auth/fitness.blood_glucose.read https://www....
Zu1779's user avatar
  • 2,198
7 votes
6 answers
7k views

@Override **//depricated** public void onActivityResult(int requestCode, int resultCode, @Nullable @org.jetbrains.annotations.Nullable Intent data) { super.onActivityResult(requestCode, ...
user avatar
6 votes
3 answers
5k views

By Google, I got this code to insert DataType.TYPE_STEP_COUNT_DELTA. but how to insert TYPE_HEIGHT AND TYPE_WEIGHT using Android com.google.android.gms.common.api.Status insertStatus = ...
Vinod Joshi's user avatar
  • 7,878
6 votes
1 answer
434 views

After updating my play-services-fitness api from 7.0.0 to 7.5.0 I noticed that when I go to upload a new build to the PlayStore it tells me that I am adding a new permission and 2 new features. I did ...
astryk's user avatar
  • 1,255
5 votes
1 answer
2k views

I am struggling with matching the "active time" returned by Fit REST API with reality. As an example - on 12/14 I had two walks, about 45 minutes each. The api returns one of them as type 7 ("...
AlexR's user avatar
  • 300
5 votes
4 answers
37k views

These codes are stored in separate file and I tried to call the get method from this file to another nodejs, but I am getting only [Function] as a out put. Can any one tell me how to call the get ...
VG__'s user avatar
  • 533