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

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).

Huawei Chip Stacking Package patent Huawei Chip Stacking Package Huawei HarmonyOS 94 JS Huawei HarmonyOS 94 JS-1 Huawei HarmonyOS 94 JS-3

Huawei HarmonyOS 94 JS and eTS

Join HU On Telegram

Related Posts

Leave a Comment