在 Wear OS 上使用 Android 账户转账 API

Using Android Account Transfer API on Wear OS

是否可以将 Androids Account Transfer API 与通常的 Android phone 作为源并使用 Wea​​r OS 智能手表作为接收器?根据文档,设置必须如下所示:

我想将我 phone 的帐户同步到我的智能手表。

如果您的 objective 是将数据从 Android phone 同步到 android wear,我认为 Google Fit API 可以完成这项工作。

Google Fit is an open ecosystem that allows developers to upload fitness data to a central repository where users can access their data from different devices and apps in one location:

  • Fitness apps can store data from any wearable or sensor.
  • Fitness apps can access data created by any app.
  • User's fitness data is persisted when they upgrade their fitness devices.

此外,documentation 中提到至少支持 Android 2.3(API 9 级)和更高版本。