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

Huawei HarmonyOS 94 JS and eTS

Join HU On Telegram

Amit

I write about Huawei Latest News, EMUI Updates & more. I am also a fitness freak. For any information, tip or help send me an email at huaweiupdatenews@gmail.com

Share
Published by
Amit

Recent Posts

Huawei Petal Mail App will no longer be available for download

According to the official information, the Huawei released the delisting announcement of its Petal Mail…

5 months ago

Huawei Health App 15.0.10.310 update is now rolling out

Huawei has started rolling out the new November 2024 app update to its Health Application.…

5 months ago

Huawei Mate 70 lineup repair spare parts prices announced

Huawei released the Mate 70 series of mobile phones, with a starting price of 5,499…

5 months ago

Huawei FreeBuds Pro 4 official announcement

Huawei officially announced the new FreeBuds Pro 4 headphones. This is the first TWS headset…

5 months ago

Huawei Mate 70 lineup reservations exceeded 560,000 in 20 minutes

Huawei's Mate 70 series of mobile phones was officially unveiled today. The new series of…

5 months ago

Huawei Mate 70 lineup launch event details revealed: Mate X6, MatePad Pro 13.2 and more

According to the latest information, the Chinese tech giant Huawei is said to launch the…

6 months ago