Comments (1)
Hey, I have run into the same problem.
I have managed to overcome it by using deprecated methods from historical API sample:
return DataReadRequest.Builder() .aggregate(DataType.TYPE_STEP_COUNT_DELTA, DataType.AGGREGATE_STEP_COUNT_DELTA) .bucketByTime(1, TimeUnit.DAYS) .setTimeRange(startTime, endTime, TimeUnit.MILLISECONDS) .build()
Hope this will save someone's day.
from fit-samples.
Related Issues (20)
- Error: I cannot use sensor client with TYPE_ACTIVITY_SEGMENT and TYPE_CALORIES_EXPENDED dataType
- I am not able to read data of Google Fit App. HOT 1
- cannot figure out what are start and end time in History API
- how to get step count for a certain date
- WearOS error 17: Error resolution was canceled by the user, original error message: INVALID_ACCOUNT: null HOT 2
- Error: Fitness api can't request data for big time intervals [E/JavaBinder: !!! FAILED BINDER TRANSACTION !!!] HOT 5
- StepCounterKotlin stuck on empty white popup after selecting Google Account HOT 30
- Read Google Fit automatically generated activities
- Find Data Source Using Sensor API HOT 1
- BMR and Calories Expended HOT 1
- After the subscription is completed, there will be a splash screen problem
- GFit steps are received on some device but some device give API exception 5000 HOT 2
- GoogelFIt gives com.google.android.gms.common.api.ApiException: 5000: Application needs OAuth consent from the user Google Fit HOT 3
- Failure: The user must be signed in to make this API call
- Issue while working with HistoryApi
- error signing into Fit HOT 2
- Google Fit Sleep
- Does Google Fit SDK work on WearOS? HOT 13
- Read heart rate data from wear os 2 watch to android app on phone
- Limit record of heart rate HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fit-samples.