10 Star 50 Fork 24

深圳市蛟龙腾飞网络科技有限公司/HarmonyOSAPP开发相关组件

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

#DistributedHealthDemoPhone 简介 • 此Demo展示如何在手机上调用相应接口,获取手表断的心率和步数等健康数据,配合分布式健康手表端应用,可以实现数据跨设备浏览以及接收心率异常的通知

安装要求 • 安装DevEco Studio • 设置DevEco Studio开发环境。DevEco Studio开发环境需要连接到网络,以确保该正常使用。可以根据以下两种情况配置开发环境: 1.如果您可以直接访问Internet,则只需下载HarmonyOS SDK 2.如果网络无法直接访问Internet,则可以通过代理服务器进行访问 • 生成密钥并申请证书

用户指南 • 下载此项目 • 打开HUAWEI DevEco Studio,单击File> Open选择此项目 • 单击Build> Build App(s)/Hap(s)>Build Debug Hap(s)以编译hap软件包 • 单击Run> Run 'entry'以运行hap包

注意 • 您可以选择在模拟器或真机上运行hap软件包。 • 如果在真机上运行它,则需要在项目的File> Project Structure> Modules> Signing Configs中配置签名和证书信息。

许可 请参阅LICENSE文件以获得更多信息。 What is it? HarmonyOS supports application deployment based on Ability. Ability can be classified into Feature Ability (FA) and Particle Ability (PA). In this document, the Codelab will use Page Ability and Service Ability for development. Page Ability is the only template supported by the FA to provide the capability of interacting with users. Service Ability is a type of article Ability (PA) to provide the capability of running tasks in the background. In addition, you will use the common Java UI layout DirectionalLayout in HarmonyOS, the capabilities of starting the PA service across devices, and synchronizing data across devices to implement a distributed HarmonyOS sports and health application. This demo enables real-time transmission of heart rate and step count data from watch A to mobile phone A and real-time exception notification. In addition, health data from mobile phone A can be shared with mobile phone B.

Installation requirements • Install DevEco Studio and Node.js • Set up the DevEco Studio development environment. The DevEco Studio development environment needs to depend on the network environment. It needs to be connected to the network to ensure the normal use of the tool. The development environment can be configured according to the following two situations

  1. If you can directly access the Internet, just download the HarmonyOS SDK
  2. If the network cannot access the Internet directly, it can be accessed through a proxy server • Generate secret key and apply for certificate

User guide • Download this project • Open DevEco Studio, click File> Open> Then select and open this Project • Click Build> Build App(s)/Hap(s)>Build Debug Hap(s) to compile the hap package • Click Run> Run 'entry' to run the hap package

Note • You can choose to run the hap package on the simulator or the phone. • If you run it on the phone, you need to configure the signature and certificate information in the project's File> Project Structure> Modules> Signing Configs.

Licensing Please see LICENSE for more info.

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/jltfcloudcn/jump_to.git
git@gitee.com:jltfcloudcn/jump_to.git
jltfcloudcn
jump_to
HarmonyOSAPP开发相关组件
feature

搜索帮助