我需要得到所有的心率测量值,而不是最小值,最大值和平均值,这正是我所能得到的。 这是我用于从我的java类阅读的代码。 谢谢! private void readDataFitnessHistory()
{
// Setting a start and end date using a range of 1 week before this moment.
Calendar
如何通过Fit API for Android访问多个用户的数据(HeartRate,steps,...)?我的应用程序在活动中显示用户列表,并选择其中一个应显示Google Fit历史记录数据(HeartRate,步骤...)。你怎么能这样做? 的谷歌历史查询是根据这个帖子发:View Google Fit API History 我建立根据谷歌飞度API文档(Example for user
这不是一个重复的问题,因为所有其他的问题,无论是指REST API或检索上的应用程序正在运行的设备(通常是手机)步数检索通过我的应用程序STEP_COUNT。它与Android Wear的问题也不同,因为Smartband2没有单独的应用程序。 我要检索的心脏速率和步数。我成功地通过BLE Api 得到心率然而,对于步数我一直有很多麻烦。 我知道获得步数的最佳方式是通过Google Fit API
当我的按钮上运行的代码点击应用程序立即崩溃。日志显示以下错误 Caused by: java.lang.IllegalStateException: await must not be called on the UI thread when time is greater than zero.
at com.google.android.gms.common.internal.zzbo.zza