如何为 Smartwatch 2 编码

How to code for Smartwatch 2

我不知道如何将我的应用程序从 Samsung phone 底座移植到 Galaxy gear 底座并将其安装到 运行 我的手表上。我需要知道如何将我的应用程序连接到手表。

如果您想将 Phone 与 Wear 连接,则需要设置 DataAPI。

有一个非常好的库,叫做 Teleport.lib which shortens the code a lot. If you want to avoid using this library you can follow the instruction which are given in this Android Wear talk。