-
公开(公告)号:US20230418445A1
公开(公告)日:2023-12-28
申请号:US18039196
申请日:2021-11-29
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
IPC: G06F3/04842 , G06F3/0486 , G06F9/451
CPC classification number: G06F3/04842 , G06F3/0486 , G06F9/451
Abstract: A method for migrating a display element across applications and an electronic device are disclosed and relate to the field of operating systems. The method includes: An application includes an application component and a plurality of display components. The application component and the display components are compiled independently, and each of the display components is compiled independently. When starting a first application, an electronic device starts a first application component and a target display element that correspond to the first application. When migration of the target display element to a second application is received, the first application component sends an identifier of the target display element to a second application component corresponding to the second application, and closes the target display element. The target display element is started by the second application component. When restarting the second application, the second application component starts the target display element.