Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A pop-up window management method and device

A pop-up window and management method technology, applied in program control devices, user interface execution and other directions, can solve the problems of incomplete life cycle, program crash, difficult management of secondary interface, etc., and achieve the effect of convenient refresh processing

Active Publication Date: 2021-11-12
成都六零加信息技术有限公司
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, using Activity to jump will cause the system to respond slowly, and will cause the secondary interface to be difficult to manage; while using PopupWindow for the pop-up secondary page development of business logic, it is easy to cause the system to crash due to invalid tokens; use Dialog to do The pop-up secondary interface has the problem of incomplete life cycle; when using DialogFragment, you cannot try to pop up the interface when the Activity is in the background, otherwise it will cause the program to crash

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
  • A pop-up window management method and device
  • A pop-up window management method and device
  • A pop-up window management method and device

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0051] The embodiment of the present invention provides a pop-up window management method for displaying or disappearing sequentially according to the life cycle of the Activity and the initial state type and initial window state information of each pop-up window. see figure 2 , is a flow chart of a pop-up window management method provided by an embodiment of the present invention. The pop-up window management methods include:

[0052] Step S201: Obtain a list of pre-established pop-up windows.

[0053] When the user needs to obtain a pop-up window, the user initiates a display request to the processor 103 through the touch screen 106. At this time, the processor 103 displays the request and generates a pop-up window, and puts the pop-up window into the pop-up window list, thereby establishing a pop-up window list.

[0054] It should be noted that the popup window list includes multiple popup windows arranged in chronological order. By acquiring the pre-established pop-up ...

no. 2 example

[0079] see Figure 6 , Figure 6 A pop-up window management device 200 provided by a preferred embodiment of the present invention. It should be noted that the basic principles and technical effects of the pop-up window management device 200 provided in this embodiment are the same as those of the above-mentioned embodiments. corresponding content in the example. The popup window management device 200 includes an acquisition unit 210 , a status determination unit 220 , a display unit 230 , a judgment unit 240 , a keyboard hiding unit 250 and an operation transaction submission unit 260 .

[0080] Wherein, the acquiring unit 210 is configured to acquire a pre-established popup window list.

[0081] It can be understood that, in a preferred embodiment, the acquiring unit 210 can be used to execute step S201.

[0082] The state determining unit 220 is used to determine the actual state type and the actual state type of each pop-up window according to the order of the pop-up w...

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

Embodiments of the present invention provide a pop-up window management method and device, which relate to the technical field of interface display methods. The method and device obtain a pre-established pop-up window list, the pop-up window list includes a plurality of pop-up windows arranged in chronological order, and according to the order of the pop-up window list, according to the judgment result generated by judging whether the Activity is visible, each The initial state type and current window state information of the pop-up window determine the actual state type and actual window state information of each pop-up window, and finally display and remove according to the actual window state information of each pop-up window and the actual state type of each pop-up window Or hide each pop-up window; because each pop-up window in the list is uniformly processed in an orderly manner, and then determine whether each pop-up window is displayed, so that it can pop up when the Activity is in the background, avoiding the pop-up window There is a problem that PopupWindow will cause the program to crash.

Description

technical field [0001] The present invention relates to the technical field of interface display methods, in particular to a pop-up window management method and device. Background technique [0002] In Android application development, the way to pop up the secondary interface is generally to jump to Activity, PopupWindow, Dialog or DialogFragment. [0003] However, using Activity to jump will cause the system to respond slowly, and will cause the secondary interface to be difficult to manage; while using PopupWindow for the pop-up secondary page development of business logic, it is easy to cause the system to crash due to invalid tokens; use Dialog to do The pop-up secondary interface has the problem of incomplete life cycle; when using DialogFragment, you cannot try to pop up the interface when the Activity is in the background, otherwise the program will crash. Contents of the invention [0004] In view of this, the purpose of the present invention is to provide a pop-u...

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 Patents(China)
IPC IPC(8): G06F9/451
CPCG06F9/451
Inventor 赵侠丁健卢伟
Owner 成都六零加信息技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products