HMOS Lib Porting Guide
HarmonyOS is an operating systems developed by Huawei. It was described as a microkernel-based, distributed, embedded operating system designed to work on devices from IoT and smart home products to wearables, in-car infotainment systems, and mobile devices - including smartphones.
This document will provide a step-by-step guide to develop libraries for Harmony OS, in order to develop the libraries, it is good to have a fair understanding of Android, HarmonyOS or iOS Architecture.
Initial this document gives us a brief introduction about Android and Harmony Architecture and some deep understanding of the related API. Also, it is good to understand the key difference and information which is needed for developing libraries for HarmonyOS.
To Create a local copy of the CircleImageView
- Browse the Url - https://github.com/hdodenhof/CircleImageView
- Next click on "Tags" as shown in the below screenshot (Image 3) to retrieve the latest version of the package.
- Image 3
Below is the link to the latest version of the "CircleImageView" library.
- Once the download is complete, extract the files locally.
- Next start your Android Studio or any IDE of your choice and open the downloaded project in the Android studio. In this case it would be the "CircleimageView" Project.
- Image 4
Once the project is connected in android and synced successfully then we will try to build the package with a simple application just to ensure the package is all good to start for porting.