HarmonyOS | curated list of awesome things | Runtime Evironment library

 by   Awesome-HarmonyOS C Version: Current License: No License

kandi X-RAY | HarmonyOS Summary

kandi X-RAY | HarmonyOS Summary

HarmonyOS is a C library typically used in Server, Runtime Evironment applications. HarmonyOS has no bugs and it has medium support. However HarmonyOS has 20 vulnerabilities. You can download it from GitHub.

HarmonyOS is the first full-scene distributed OS based on microkernel. It is an operating system independently developed by Huawei. HarmonyOS System was officially released at the Huawei Developers Conference () on August 9, 2019. Huawei will take the lead in deploying intelligent terminals such as smart screens, vehicle terminals and wearable terminals. In the future, more smart devices will be equipped with open source HarmonyOS than ever. HarmonyOS achieves modular coupling, which corresponds to flexible deployment of different devices. HarmonyOS has three layers of architecture. The first layer is the core, the second layer is the basic services, and the third layer is the program framework. It can be used on a large screen, PC, automobile and other different equipment. It can also be used on mobile phones at any time, but for the time being, Huawei still prefers Android. The underlying layer of HarmonyOS is composed of HarmonyOS microkernel, Linux kernel and Lite OS and it will become a complete HarmonyOS microkernel architecture in the future.

            kandi-support Support

              HarmonyOS has a medium active ecosystem.
              It has 18715 star(s) with 3321 fork(s). There are 993 watchers for this library.
              It had no major release in the last 6 months.
              HarmonyOS has no issues reported. There are 15 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of HarmonyOS is current.

            kandi-Quality Quality

              HarmonyOS has 0 bugs and 0 code smells.

            kandi-Security Security

              HarmonyOS has 20 vulnerability issues reported (4 critical, 10 high, 6 medium, 0 low).
              HarmonyOS code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              HarmonyOS does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              HarmonyOS releases are not available. You will need to build from source code and install.
              Installation instructions are available. Examples and code snippets are not available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of HarmonyOS
            Get all kandi verified functions for this library.

            HarmonyOS Key Features

            No Key Features are available at this moment for HarmonyOS.

            HarmonyOS Examples and Code Snippets

            No Code Snippets are available at this moment for HarmonyOS.

            Community Discussions


            HMS: Not able to enable account kit from manage API in AGC Console
            Asked 2022-Feb-14 at 11:45

            I'm new to Huawei Account Kit Integration, not able to enable account kit from manage API in AGC Console.

            I'm Following below link for integration-


            can any one help me Why?



            Answered 2022-Feb-14 at 11:45

            The account kit API is enabled by default for Harmony OS applications, so you can continue to run and debug with account kit integration. Please check below pointe:

            1. Update HMS core to latest version

            2. Check OAuth client ID in config.json.

            Refer the below link 6th step to configure client id. https://developer.huawei.com/consumer/en/doc/development/HMSCore-Guides/harmonyos-java-integration-hms-core-sdk-0000001148191776#section12164516163

            @kgsharathkumar - For me, faced the same issue and got a solution.

            Source https://stackoverflow.com/questions/71109230


            Can anyone work in HarmonyOS lib development?
            Asked 2021-Nov-26 at 00:57

            I am a fresher who only knows only java. can I work on HarmonyOS lib development or else I should know the android development to work on HarmonyOS. Can anyone explain it, please? Where I can learn?



            Answered 2021-Nov-26 at 00:53

            Maybe you could learn from the official docs:

            HarmonyOS provides multi-programming-language APIs for you to develop applications. You can choose from Java, Extensible Markup Language (XML), C/C++, JavaScript (JS), Cascading Style Sheets (CSS), and HarmonyOS Markup Language (HML).

            The following shows the technical architecture of HarmonyOS.

            Setting Up a Windows Development Environment

            Here are some codelabs and samples, which may help you better understand the development for key features and scenarios.

            Source https://stackoverflow.com/questions/70111810


            Huawei auth service integration with .net core 3.1, unable to validate JWT
            Asked 2021-Nov-12 at 17:04

            We have a react-native application running in production with firebase phone auth. Lately, we received feedback from users owning new Huawei devices not being able to authenticate with their phone numbers using firebase.

            Since a lot of users started having this issue, we decided to implement Huawei auth services only for devices under HarmonyOS and keep the regular firebase phone authentication for other users.

            After integrating the Huawei App Gallery Connect Auth SDK in our react-native app, we are able to receive the OTP and sign the user in using credentialWithVerifyCode and we are also able to retrieve the user's token using



            Answered 2021-Nov-09 at 03:04

            You are advised to use the following method to validate the token.

            Source https://stackoverflow.com/questions/69891350


            How to find the alternative class/method for harmonyOS in androidOs?
            Asked 2021-Oct-27 at 02:56

            I am a fresher who works on HarmonyOS where we have to map android imports to respected to HarmonyOs using an excel sheet, which consists of alternative imports but some are missing in that Excel. where can I find all the alternative methods?



            Answered 2021-Oct-26 at 21:45

            You can refer this example for Java Harmony OS APIs for Android developers.


            For some classes direct one to one mapping might not be available for now.

            In HarmonyOS developer doc there is Reference Document Outline for Java APIs, Native APIs. Please check https://developer.harmonyos.com/en/docs/documentation/doc-references/reference-document-outline-0000001115016824

            Source https://stackoverflow.com/questions/69720177


            How to detect double-tap in custom component in HarmonyOS?
            Asked 2021-Sep-10 at 06:33

            I am creating a custom component in HarmonyOS using Java SDK, Where I have to perform some task on double-tap. But I am not able to detect double-tap event.

            In Android, with the help of GestureDetector class we can detect double-tap event as follow:



            Answered 2021-Sep-07 at 10:33

            try registering Component.DoubleClickedListener and you will be able to detect Double Tap in Custom Component, sample Usage

            Source https://stackoverflow.com/questions/69086228


            What is the equivalent of view.postDelayed(Runnable action, long delayMillis) in harmonyos?
            Asked 2021-Sep-08 at 08:08

            I am creating a custom component in HarmonyOS using Java SDK, Where I have to perform some task after some delay with Component instance.

            In Android, we have postDelayed(Runnable action, long delayMillis) method in View class. So we can achieve above requirement as follow



            Answered 2021-Sep-06 at 06:17

            currently HarmonyOS doesn't provide exact alternative for View.postDelayed(..) , Instead you can achieve similar UI post functionality using ohos.eventhandler.EventHandler API, Sample Usage is as follows

            Source https://stackoverflow.com/questions/69069553


            What is the alternative function in HarmonyOS for onMeasure in Android OS?
            Asked 2021-Aug-19 at 09:36

            I am writing a custom component in HarmonyOS using Java SDK. In order to negotiate the width and height of the custom view in Android, we override onMeasure().



            Answered 2021-Jul-30 at 06:39

            In Android - onMeasure() is a protected method available in View class so one can directly override it in custom component by extending the View class.

            For alternative in HarmonyOS - you will have to implement Component.EstimateSizeListener in your custom component and then write down the implementation in overriden function onEstimateSize.

            So in Android, when you have some code like this -

            Source https://stackoverflow.com/questions/68524730


            What is the alternative in HarmonyOS for activity.findViewById(android.R.id.content) in Android OS?
            Asked 2021-Aug-19 at 09:36

            I am writing a helper class to zoom an image in HarmonyOS using Java SDK. To get the current view which is being zoomed in Android we can use activity.findViewById(android.R.id.content).

            What is the alternative for the above in HarmonyOS?



            Answered 2021-Jul-28 at 01:35

            in Android we can use activity.findViewById(android.R.id.content). What is the alternative for the above in HarmonyOS?

            In HarmonyOS we use findComponentById(ResourceTable.Id_xxx). Just Try this.

            Source https://stackoverflow.com/questions/68540112


            How to find the swipe direction of PageSlider while the user starts swiping the page in HarmonyOS?
            Asked 2021-Aug-19 at 09:35

            I am writing a custom component in HarmonyOS using Java SDK and it is a custom page slider indicator. To do that I have added a PageChangedListener which provides three override methods.



            Answered 2021-Jul-28 at 07:12

            onPageSliding will be called when the user slides a page, and not much to do with PageSliderIndicator.

            The values of position and positionOffset in the pageslider are the same. This callback parameter is currently designed as such.

            Source https://stackoverflow.com/questions/68540496


            What is the alternative in HarmonyOS for window.setDimAmount() in Android?
            Asked 2021-Aug-19 at 09:35

            To set the background dimness of a component like dialog box, in Android we can use the setDimAmount function.



            Answered 2021-Jul-28 at 02:30
            Optional configOpt = dialog.getWindow().getLayoutConfig();
            configOpt.ifPresent(config -> {
               config.dim = 0.0f;

            Source https://stackoverflow.com/questions/68540729

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network


            No vulnerabilities reported

            Install HarmonyOS



            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
          • HTTPS


          • CLI

            gh repo clone Awesome-HarmonyOS/HarmonyOS

          • sshUrl


          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link