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

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 slow system response, incomplete life cycle, difficult management of secondary interfaces, etc., to avoid program crashes and facilitate refresh processing. Effect

Active Publication Date: 2018-10-30
成都六零加信息技术有限公司
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
  • Pop-up window management method and device
  • Pop-up window management method and device
  • 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 Image 6 , Image 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 win...

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 embodiment of the invention provides a pop-up window management method and device, and relates to the technical field of the interface display method. The method comprises the following steps: acquiring a pre-established pop-up window list, wherein the pop-up window list comprises multiple pop-up windows arranged according to time order; determining an actual state type and actual window stateinformation of each pop-up window according to a judgment result generated by judging whether the Activity is visible, an initial state type of each popup window and the current window state information; and finally displaying, removing or hiding each pop-up window according to the actual window state information of each pop-up window and the actual state type of each pop-up window; and determining whether each pop-up window displays or not after performing unified processing on each pop-up window in the list in order, thereby popping up the pop-up window when the Activity is located at the background, wherein the problem that the Popup Window on the pop-up window can cause the program crash is avoided.

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 Applications(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