Giter Site home page Giter Site logo

harmonyos-wearable-kata's Introduction

HarmonyOS-Wearable-Kata ⌚ ♥️ 📱

A Companion & Standalone HarmonyOS app that interacts with an Android device (GMS & HMS).

This is the link to the Android project (phone app) which interacts with this Harmony OS project.

Table of Contents

Setup

  1. Apply for Wear Engine (just for companion apps)

In order to be able to communicate with an Android device which integrates the WearEngine SDK for this companion use case, it will be necessary to apply from the Huawei Developer console, more info here: wearengine-application

  1. 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 Likewise if the feature involves watch sensors connection and retrieve Real Time Data, then Health Kit online application is required.

The ones I've been authorised for are just for testing purpose:

  1. Debug & Release Signing Config (mandatory for companion apps)

It's necessary to add the specific values for the next entries in the local.properties:

  • debugStoreFile
  • debugStorePassword
  • debugKeyAlias
  • debugKeyPassword
  • debugSignAlg
  • debugProfile
  • debugCertPath
    (likewise for the release)

Demo

Health with Ping(to wake up the watch app)
Messaging: photo sending (from phone to watch) and text message (from watch to phone)
Video Player: video control from the watch
Audio: record, play radio stations, local files and recorded files

Pending Features

  • Add a module for the Circle Menu
  • Add Dependency Injection
  • Add VMs factory and inject VMs
  • Verify Sensors data (Real Time Data)
  • Add Weather API and remove Jokes API
  • Add Unit tests for the data layer at least
  • Update Readme

Libraries Used

  • WearEngine for companion sync with an Android device (GMS&HMS).
  • GSON for Java Objects conversion into their JSON representation.
  • RxJava for reactive style programming (from VM to Data).
  • Retrofit for REST api communication.
  • Timber for logs output.

License

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.

harmonyos-wearable-kata's People

Contributors

ferprieto avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.