google-play-services - Google 健身数据因设备而异,具有相同帐户

标签 google-play-services google-fit google-fit-sdk

我创建了一个 Google Fit 应用程序来从 Google Fit 读取/写入数据。我有两台设备链接到同一个帐户,但我看不到从一台设备添加到另一台设备的数据。

这是如何固定的?

最佳答案

我们可以通过在 DataReadRequest 中添加 .enableServerQueries() 来读取全局数据(云)

关于google-play-services - Google 健身数据因设备而异,具有相同帐户,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26670836/

相关文章:

android - 如何在我的 Android 设备上禁用已安装的 Google Play 服务版本?

android - 如何在 Android 中使 Geo Fencing 警报更准确

android - 从 Google fit API 获取 sleep 数据

java - 如何从 Android 中的 Google Fit 服务检索健康数据

android - 如何识别 google fit Activity 是手动输入的还是传感器跟踪的?

android - Android Google Api 在中国是否可用以及如何测试我的应用程序?

php - Google Firebase 通知在控制台上工作但不在 API 上工作

android - 更新到最新版本 (3.1) 后缺少 google-play-services_lib.jar

android - 以与 Google Fit 应用程序相同的方式获取 Google Fit 历史记录(Google Fit 自动记录的 Activity )

android - 通过 Google Fit Android API 检索的每周步数与 Google Fit 官方应用中显示的步数不匹配