Updates

Huawei HarmonyOS 94 JS and eTS components released for the first time

At the 2021 Huawei Developer Conference (HDC2021), Huawei released a new generation of declarative UI framework – Ark Development Framework (ArkUI). The ArkUI framework introduces a declarative development paradigm based on TS extensions. Since then, more and more developers have joined the JS / eTS development team, and Huawei has also received many developers’ demands for JS / eTS components, such as:

With the joint efforts of the majority of component contributors, Huawei has ushered in a new batch of open source components, including many JS/eTS components.

Overview of new open source components:

  • A total of 94 open source components have been added. Components involve tools, networking, UI, graphics, audio and video and other functions.
  • Most of the new components are in JS / TS / eTS language, which greatly helps JS / eTS developers in their development journey.
  • Four typical components are –  zxing, VCard, CommonsCompressEts and httpclient.
  • Huawei has only open sourced the Java version of the zxing library (Zxing-Embedded) before. The new TS version of the zxing library will allow eTS developers to use the zxing library for QR code-related application development.
  • This time the new VCard component of the eTS version supports VCard standard 2.0 and 3.0. The interfaces provided are: nickname, name, phone, email, address, social tools, website address, organization, photo address, notes, group, events and relationships.
  • CommonsCompressEts is an API library developed based on the eTS language, providing compression and decompression functions for more than ten file formats. File formats include: zip, gzip, xz, z, zstd, ar, brotli, bzip2, lz4, lzma (seven7), tar, snappy, dump, deflate, cpio.
  • httpclient (ie HTTP client), based on the well-known okhttp, integrates the functional characteristics of android-async-http, AutobahnAndroid, OkGo and other libraries, and is committed to creating an efficient, easy-to-use and comprehensive network request library. With this httpcilent, your content loads faster and saves bandwidth.

Source code

https://gitee.com/openharmony-tpc/zxing

https://gitee.com/openharmony-tpc/VCard

https://gitee.com/openharmony-tpc/CommonsCompressEts

Advertisement

3. How to obtain open source components?

Developers can directly download the source code through the OpenHarmony three-party component library (OpenHarmony-TPC) or obtain related components from the HarmonyOS Developer Resource Center (DevEco Marketplace).

Join HU On Telegram

Min

Min En specializes in smartphone reviews, EMUI/HarmonyOS coverage, and mobile industry analysis. His in-depth knowledge of Huawei's ecosystem, from flagship devices to emerging technologies, makes him a trusted voice in the tech community.

Recent Posts

Huawei Mate 70 Air shows up in a promotional photo

Huawei is getting ready to release a new super-thin phone called the Mate 70 Air.…

3 months ago

Huawei Mate 80 series latest Information

Tipster Digital Chat Station has confirmed that the Chinese tech giant Huawei will release new…

5 months ago

Huawei’s Xu Zhijun steps down as chairman

A Chinese company called HiSilicon Semiconductor just changed who's in charge. The old boss, Xu…

5 months ago

HUAWEI MatePad Mini complete info

HUAWEI has introduced the all-new MatePad Mini tablet, in China. As per the specifications, the…

5 months ago

Huawei Watch GT 6 and Watch GT 6 Pro spotted on TDRA Certification Database

New details have been confirmed about the upcoming Huawei Watch GT 6 and Huawei Watch…

6 months ago

Huawei Nigeria to Host 2025 Job Fair

Huawei Technologies Company Nigeria Limited has announced the 2025 Huawei Job Fair, set to take…

6 months ago