Connect with us

OpenHarmony

OpenHarmony 5.0.1 released with enhanced API capabilities

Published

on

OpenHarmony 5.0.1

OpenHarmony 5.0.1 operating system release version is launched with a set of new features and enhanced API capabilities. It unveils API 13 in a quick rollout. The new version brings useful additions and improvements over the previous 5.0 build.

The OpenAtom Foundation has released the new OpenHarmony 5.0.1 OS release version. While the 5.0 focused on new add-ons, the latest build aims to improve existing capabilities. It also optimizes features related to camera, Bluetooth, and more.

According to the changelog, the new version significantly enriches the C API capabilities. This includes improvements for application query and capabilities of the app framework, the node custom attribute setting of ArkTS, preferences data management, file management capabilities, event notifications, and more.

It further enhances Web components, graphics, images, animations, audio, phone, and location services. There are new key values to support screen reading in the multimode input. A VOIP long-duration task type is also available to support audio and video call services as the app returns to the background.

You can check the key points of the OpenHarmony 5.0.1 below.

OpenHarmony 5.0.1

OpenHarmony 5.0.1 released with enhanced API capabilities (Image Credits: Huawei)

Application Framework

  • Added ArkTS and C API to support the ability to create application subprocesses.
  • Added a new C API to obtain application information such as cache path, file encryption mode, package name, etc.
  • Supports setting app-level font magnification.

ArkUI

  • Added the ability to set custom attributes of nodes in C API and the ability to obtain custom attributes of any target node on the ArkTS side.
  • The Navigation component supports customizing the title bar position and the font styles of the main and subtitles. The NavDestination component supports setting the bottom toolbar style, controlling the display, and hiding the toolbar.
  • Multiple components are adapted to the aging-friendly scenario, and the font and component size can be changed accordingly with the system’s aging-friendly settings. The components used are Dialog SeletTitleBar, SwipeRefresher, SplitLayout, ComposeTitleBar, ExceptionPrompt, TreeView, Filter, GridObjectSortComponent, ProgressButton, ToolBar, TabTitleBar, etc.
  • Enhanced the capabilities of the RichEditor component including configurable scroll bar visibility, support for image dragging, and improved general shortcut keys.

Application package management

  • Added a new C API to query the MainElement information of the application entry.
  • Supports third-party HAR to obtain the want parameters of application startup, which is used to start the host application.

Distributed Data Management

  • Added C API to support getting, storing, and deleting Preferences key-value pair data.

You can check more new additions, improvements, and the full changelog on the Gitee website.

I like to listen to music, sing, dance, and play outdoor games. I have a huge interest in reading novels and cooking. I'm good enough as a speaker. Besides, I have the willingness to learn new things and increase my knowledge in different aspects with full dedication and determination.