Check patentability & draft patents in minutes with Patsnap Eureka AI!

Processing method and device for calling pop-up window control and electronic equipment

A processing method and processing device technology, applied in the field of application programs, can solve problems such as pop-up window leakage, good versatility and maintainability, and achieve the effects of reducing development costs, good versatility and maintainability, and solving memory leaks

Active Publication Date: 2019-05-03
JOYME PTE LTD
View PDF10 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] For this reason, the first purpose of the present invention is to propose a processing method for invoking pop-up window controls, so as to release external objects referenced by pop-up windows, solve the problem of pop-up window memory leaks, and have good versatility and maintainability

Method used

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
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Processing method and device for calling pop-up window control and electronic equipment
  • Processing method and device for calling pop-up window control and electronic equipment
  • Processing method and device for calling pop-up window control and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary and are intended to explain the present invention and should not be construed as limiting the present invention.

[0043] The processing method, device and electronic equipment for invoking a pop-up window control according to the embodiments of the present invention will be described below with reference to the accompanying drawings.

[0044] figure 1 It is a schematic flowchart of a processing method for invoking a pop-up window control provided by an embodiment of the present invention, as shown in figure 1 As shown, the processing method of calling the pop-up window control includes:

[0045] Step 101 , obtaining a call instruction for ...

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 provides a processing method and device for calling a pop-up window control and electronic equipment, and the method comprises the steps: obtaining a calling instruction which is sent bya calling object and is used for calling a pre-packaged pop-up window control, and monitoring a disappearing event of the pop-up window control; if the disappearing event of the pop-up window controlis obtained, calling a reflection method to obtain a private variable value of an external object quoted by the pop-up window control; and judging whether the private variable value is empty or not,and if the private variable value is not empty, releasing an external object quoted by the pop-up window control. Therefore, the external object referenced by the pop-up window is released, the problem of memory leakage of the pop-up window is solved, and the universality and the maintainability are good.

Description

technical field [0001] The present invention relates to the technical field of application programs, in particular to a processing method, device and electronic equipment for invoking a pop-up window control. Background technique [0002] Android pop-up window (Dialog): refers to a small window provided by the Android system to prompt the user to make a decision or enter additional information. [0003] Memory leak (Memory Leak): refers to the application of memory space after the program cannot release the occupied space, and the accumulation of memory leaks will lead to memory overflow. [0004] Memory overflow (OutOfMemory): refers to when the application applies for memory, there is not enough memory space allocated, causing the application to crash. [0005] In the Android application development, the pop-up window is a very commonly used control, and almost all applications use the pop-up window control. However, in systems prior to Android 5.0, when using native pop...

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
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/50
Inventor 张忠伟
Owner JOYME PTE LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More