Updating method and device for user interface of application program

An application program and user interface technology, applied in the field of operating systems, can solve problems such as redundancy and reduce user experience, and achieve the effect of avoiding operations, avoiding refresh delays, and saving system resources.

An application program and user interface technology, applied in the field of operating systems, can solve problems such as redundancy and reduce user experience, and achieve the effect of avoiding operations, avoiding refresh delays, and saving system resources.

CN114579164APending Publication Date: 2022-06-03大连中科创达软件有限公司

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Updating method and device for user interface of application program
  • Updating method and device for user interface of application program

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided so that the present disclosure will be more thoroughly understood, and will fully convey the scope of the present disclosure to those skilled in the art.

[0033] In the existing Android overlay technology, when the resource file of the application program is updated, the entire program needs to be restarted to realize the problem of reducing the user experience caused by the refresh of the application program UI, the embodiment of the present invention provides an application program user interface The update method of , the method is applied to the operating system, refer to ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method and a device for updating a user interface of an application program. The method comprises the following steps: on the basis of detecting that a resource file of an application program is updated, querying whether the application program is in a foreground active state at present; based on the fact that the application program is in the foreground active state, a resource updating notification corresponding to the application program is sent out, so that the application program reloads the resource files related to the user interface in the updated resource files according to the notification to refresh the user interface of the application program. When the operating system detects that the resource file of the application program is updated, the operating system notifies the application program to reload the resource file related to the user interface so as to complete rapid refreshing of the application interface of the application program. The problem that in the prior art, refreshing of the user interface is completed by restarting the whole application program, refreshing delay is caused, and user experience is affected is solved, meanwhile, some unnecessary operations are avoided, and system resources are saved.

Description

technical field [0001] The present invention relates to the technical field of operating systems, and in particular, to a method and device for updating a user interface of an application program. Background technique [0002] The native Android system provides dynamic overlay technology. The Android overlay technology allows you to customize the resource files in the framework and the package without modifying the apk in the packages, and realize the customization of resources to achieve the purpose of displaying different UIs. The files stored in the res directory of the application can be dynamically replaced during the running phase of the Android system, so that the application can display different UI effects under the same interface, such as different UI background images, different animations, videos, texts changes, etc. [0003] In the existing Android overlay technology, when a resource file is updated and the original resource file is replaced with the updated re...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
03 Jun 2022
Publication
CN114579164A
IPC
G06F8/656
CPC
G06F8/656
Inventors
李佳朋; 吕鑫