中文
English

New capabilities such as depth estimation have been added, and Huawei HarmonyOS 5.0.5 (17) Beta 1 has released new and enhanced features

2025-05-06

New capabilities such as depth estimation have been added, and Huawei HarmonyOS 5.0.5 (17) Beta 1 has released new and enhanced features

2025/4/27 11:56:50 Source: IT Home Author: Gui Long Editor: Gui Long Comment: 164

Thanks to IT Home netizen Dumb, the brightest Pai Daxing, the spirited young man, Dr. Wangcaigou, Soft Media new friend 2357532, Wang Ergou Egg 32 zhao_31、 Delivery of clues for the escape of the queen!

On April 27th, IT Home reported that Huawei's developer website announced the new and enhanced features of HarmonyOS 5.0.5 (17) Beta 1, which is the first version of API 17. The official statement states that Beta1 5.0.5 (17) has further enriched ArkUI's component capabilities and improved its management capabilities in windowed scenarios based on the previously released HarmonyOS 5.0.4 Release.


New capabilities such as depth estimation have been added, and Huawei HarmonyOS 5.0.5 (17) Beta 1 has released new and enhanced features


IT Home has added and enhanced the following features to this version:


Ability

Added support for specifying the size of creating new windows (minWindowWidth, minWindowHeight, maxWindowWidth, maxWindowHeight) through the StartOptions property of startAbility.


The C API has added support for passing StartOptions when launching Ability.


The C API has added support for obtaining sub process startup parameters.


The C API has added support for setting the display mode of window and dock bar icons when launching Ability.


ArkData

UDMF has added the ability to convert incoming data into a multi style data structure. If the original data uses multiple records to carry different styles of the same data, this interface can be used to convert the original data into a multi style data structure.


AR Engine

Added depth estimation, providing three-dimensional perception capability, capable of measurement, volume estimation, etc.


ArkUI

Add interfaces related to mouse axis events.


NavDestination has added onActive and onInactive lifecycles.


The event capability of C API has been enhanced, with the addition of support for obtaining the width, height, X coordinate, Y coordinate, and other capabilities of components hit by events.


The basic type definition has added support for clearing the current pre screen text content.


UIContext has added support for creating UI instances that do not depend on windows.


Added support for setting callback parameters for visible area change events in components, limiting their execution interval.


The ImageAnimator component supports setting whether to pause and play the component based on the visibility of the system's onVisibleAreaChange.


The picture in picture window supports creating a parameter LocalStorage to implement a page level UI state storage unit, which can be used to track the main window instance in multiple instances.


Added support for size memory function of the main window in window management for PC/2-in1 devices.


Added support for setting the blur radius of sub window or floating window edge shadows for window management on PC/2-in1 devices and tablet devices.


New support has been added for window management on PC/2-in1 devices and tablet devices, allowing for the setting of whether a child window can be displayed across multiple screens simultaneously when its parent window is in the drag and drop or zoom process.


Audio Kit

Added support for Float32 audio stream sampling format.


AVCodec Kit

Video decoding has added software decoding support for MPEG 2, MPEG 4, and H.263.


AVSession Kit

Added the property singleLyricText, which supports displaying single sentences/lyrics.


Background Tasks Kit

Add a backend sub process management module that provides the ability for applications to suppress and decompress sub processes, avoiding excessive occupation of system resources by sub processes and causing system usage lag.


Connectivity Kit

The Bluetooth socket module has added the ability to obtain the address of the peer device through the client socket.


File Manager Service Kit

【 New Kit 】 The File Manager Service Kit provides developers with file management related capabilities. Developers can use the File Manager Service Kit to complete functions such as deleting files to the recycle bin and obtaining file icons, meeting users' diverse demands for file management.


IME Kit

The input method framework has added support for setting callbacks when displaying preview text, and for subscribing to input method applications to manipulate text preview content events.


Media Kit

When calling the media player AVPlayer to set the playback strategy, new support has been added for displaying the first frame of the video after Prepare (showFirstFrameOnSepare).


Payment Kit

Added the ability to guide users to bind cards.


PDF Kit

Added support for encrypting PDF documents.


Preview Kit

New file opening acceleration preloading state awareness capability.


Vision Kit

Add a status code to the callback interface for document scanning results to determine if all input images are invalid.


configuration file

Added Hook configuration in configuration file module.json5: The name of the UIAbility that the current Module needs to hook can be identified through the ableSrc Entry Delegate, and the AbilityStage (whose value is configured to correspond to the Module's name) that the current Module needs to hook can be identified through the ableStageSrcEntry Delegate. The two can be used in combination to specify the target object of the Hook.


The complete supporting information for HarmonyOS 5.0.5 Beta1 is as follows:


Software package release type, version number, Build Version, release time

System Beta HarmonyOS 5.0.5 Beta1

Software version: 5.0.0.160


API version: 5.0.5 (17)


2025/04/24

DevEco StudioBetaDevEco Studio 5.0.5 Beta15.0.13.1002025/04/24

SDK Beta HarmonyOS 5.0.5 Beta1 SDK based on OpenHarmony SDK Ohos_stk_public 5.0.5.160 (API 17 Beta1) 2025/04/24

The mapping relationship comparison table for HarmonyOS released versions is as follows:


New Rule Version Number Version Type OpenHarmony API Version

HarmonyOS 5.0.5Beta117 Beta1

HarmonyOS 5.0.4Release16 Release

HarmonyOS 5.0.3Release15 Release

HarmonyOS 5.0.3Beta215 Beta2

HarmonyOS 5.0.3Beta115 Beta1

HarmonyOS 5.0.2Release14 Release

HarmonyOS 5.0.2Beta114 Beta1

HarmonyOS 5.0.1Release13 Release

HarmonyOS 5.0.1Beta313 Beta3

HarmonyOS 5.0.0Release12 Release

HarmonyOS NEXTBeta1 / Release12 Release

HarmonyOS NEXTDeveloper Beta1/2/3/5/612 Beta1/2/3/5/6

HarmonyOS 3.1/4.0Release9 Release

Advertising statement: The external redirect links contained in the article (including but not limited to hyperlinks, QR codes, passwords, etc.) are used to convey more information and save selection time. The results are for reference only. All articles in IT Home contain this statement.




新增深度估计等能力,华为鸿蒙 HarmonyOS 5.0.5 (17) Beta1 新增和增强特性发布

2025/4/27 11:56:50 来源:IT之家 作者:归泷 责编:归泷

IT之家 4 月 27 日消息,华为开发者官网今日公布了鸿蒙 HarmonyOS 5.0.5 (17) Beta1 新增和增强特性,新版本是 API 17 的首个版本。官方称 5.0.5 (17) Beta1 在此前发布的 HarmonyOS 5.0.4 Release 的基础上,进一步丰富了 ArkUI 的组件能力,完善了应用在窗口化场景下的管理能力。


IT之家附该版本新增和增强特性如下:

Ability

  • 新增支持通过 startAbility 的属性 StartOptions 来指定创建新窗口的大小(minWindowWidth、minWindowHeight、maxWindowWidth、maxWindowHeight)。

  • C API 新增支持启动 Ability 时传递 StartOptions。

  • C API 新增支持获取子进程启动参数。

  • C API 新增支持设置启动 Ability 时窗口和 dock 栏图标的显示模式。

ArkData

  • UDMF 新增支持将传入的 data 转换成多样式数据结构的能力。若原 data 使用多个 record 去承载同一份数据的不同样式,则可以使用此接口将原 data 转换为多样式数据结构。

AR Engine

  • 新增深度估计,提供三维感知能力,可实现测量、体积估算等。

ArkUI

  • 新增鼠标轴事件相关接口。

  • NavDestination 新增 onActive 和 onInactive 生命周期。

  • C API 的事件能力增强,新增支持获取事件命中的组件的宽度、高度、X 坐标、Y 坐标等能力。

  • 基础类型定义新增支持清除当前的预上屏文本内容。

  • UIContext 新增支持创建不依赖窗口的 UI 实例。

  • 组件可见区域变化事件新增支持设置事件的回调参数,限制它的执行间隔。

  • ImageAnimator 组件支持设置是否通过系统 onVisibleAreaChange 的可见性来判断组件的暂停和播放。

  • 画中画窗口支持通过创建参数 LocalStorage 实现页面级别的 UI 状态存储单元,多实例下可用来跟踪主窗实例。

  • 针对 PC / 2in1 设备的窗口管理新增支持主窗的尺寸记忆功能。

  • 针对 PC / 2in1 设备和平板设备的窗口管理新增支持设置子窗或悬浮窗窗口边缘阴影的模糊半径。

  • 针对 PC / 2in1 设备和平板设备的窗口管理新增支持设置子窗口在其父窗口处于拖拽移动或拖拽缩放过程时,该子窗口是否支持跨多个屏幕同时显示。

Audio Kit

  • 新增支持 Float32 音频流采样格式。

AVCodec Kit

  • 视频解码新增支持 MPEG2、MPEG4、H.263 的软件解码。

AVSession Kit

  • 新增支持单句 / 单条歌词展示的属性 singleLyricText。

Background Tasks Kit

  • 新增后台子进程管理模块,提供应用对子进程进行压制、解压制的能力,避免子进程过多占用系统资源,导致系统使用卡顿。

Connectivity Kit

  • 蓝牙 socket 模块新增支持通过 clientSocket 获取对端设备地址的能力。

File Manager Service Kit

  • 【新增 Kit】File Manager Service Kit(文件管理服务)为开发者提供文件管理相关能力,开发者通过 File Manager Service Kit 完成文件删除到回收站、获取文件图标等功能,满足用户对文件管理的多样性诉求。

IME Kit

  • 输入法框架新增支持设置显示预览文本时的回调,支持订阅输入法应用操作文本预览内容的事件。

Media Kit

  • 调用媒体播放器 AVPlayer 设置播放策略时,新增支持 Prepare 之后显示视频起播首帧(showFirstFrameOnPrepare)。

Payment Kit

  • 新增引导用户绑卡能力。

PDF Kit

  • 新增支持对 PDF 文档进行加密。

Preview Kit

  • 新增文件打开加速预加载状态感知能力。

Vision Kit

  • 文档扫描结果回调接口增加状态码,用于判断输入图片 uris 是否全部无效。

配置文件

  • 配置文件 module.json5 新增 Hook 配置:通过 abilitySrcEntryDelegator 可标识当前 Module 需要 Hook 的 UIAbility 的名称,通过 abilityStageSrcEntryDelegator 可标识当前 Module 需要 Hook 的 AbilityStage(其值配置为对应 Module 的名称),两者组合使用,共同指定 Hook 的目标对象。

鸿蒙 HarmonyOS 5.0.5 Beta1 完整配套信息如下:

软件包发布类型版本号Build Version发布时间
系统BetaHarmonyOS 5.0.5 Beta1

软件版本:5.0.0.160

API 版本:5.0.5 (17)

2025/04/24
DevEco StudioBetaDevEco Studio 5.0.5 Beta15.0.13.1002025/04/24
SDKBetaHarmonyOS 5.0.5 Beta1 SDK基于 OpenHarmony SDK Ohos_sdk_public 5.0.5.160 (API 17 Beta1)2025/04/24

HarmonyOS 已发布版本映射关系对照表如下:

新规则版本号版本类型OpenHarmony API Version
HarmonyOS 5.0.5Beta117 Beta1
HarmonyOS 5.0.4Release16 Release
HarmonyOS 5.0.3Release15 Release
HarmonyOS 5.0.3Beta215 Beta2
HarmonyOS 5.0.3Beta115 Beta1
HarmonyOS 5.0.2Release14 Release
HarmonyOS 5.0.2Beta114 Beta1
HarmonyOS 5.0.1Release13 Release
HarmonyOS 5.0.1Beta313 Beta3
HarmonyOS 5.0.0Release12 Release
HarmonyOS NEXTBeta1 / Release12 Release
HarmonyOS NEXTDeveloper Beta1/2/3/5/612 Beta1/2/3/5/6
HarmonyOS 3.1/4.0Release9 Release

广告声明:文内含有的对外跳转链接(包括不限于超链接、二维码、口令等形式),用于传递更多信息,节省甄选时间,结果仅供参考,IT之家所有文章均包含本声明。

Read2
share
Write a Review...
推荐文章
1  /  181