A companion Android app that interacts with a Huawei SmartWatch(HarmonyOS).
This is the link to the HarmonyOS project (watch app) which interacts with this Android project.
- Credentials
It's necessary to add the specific values for the next entries in the local.properties
:
- keyAlias=XXX
- keyPassword=YYY
- storePassword=ZZZ
- peerPkgName="com.your.package"
- peerFingerprint="com.your.package_FINGER_PRINT="
More info about how to get the fingerPrint value here 👉 fingerprint
- AGC JSON File
agconnect-services.json
is needed too. More info about how to get this file here 👉 agconnect-services.json
- Apply for Health Kit
In order to be able to communicate with Huawei Health and get any available tracked data, it's necessary to apply from the Huawei Developer console, more info here: healthkit-application
- Apply for Wear Engine
In order to be able to communicate with a Huawei Smart Watch, it will be necessary to apply from the Huawei Developer console, more info here: wearengine-application
Health with Ping(to wake up the watch app)![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Copyright 2021 Fernando Prieto Moyano
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.