【问题标题】:How to send data from smartwatch to Flutter app如何将数据从智能手表发送到 Flutter 应用
【发布时间】:2022-11-09 03:02:59
【问题描述】:

我正在寻找一种从智能手表(佩戴/tizen/手表)获取数据(心率)并使用 Flutter 应用程序读取它们的方法。有人知道这样的包或想法来与智能手表和 Flutter APP PLZ 通信吗?

【问题讨论】:

    标签: flutter sony-smartwatch


    【解决方案1】:

    您可以查看this 答案,这几乎就是您要问的。

    它说,到目前为止,由于this 包,您只能为穿戴而做。 这是用于接收消息的example

    // msg is either a Map<String, dynamic> or a string (make sure to check for that when using the library)
    WearableListener.listenForMessage((msg) {
      print(msg);
    });
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-01-18
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-05-10
      • 2018-03-07
      相关资源
      最近更新 更多