IP Library Granted Patent US 10,853,102
Granted Patent B2
US 10,853,102 · App. 16/820,543 · Granted Dec 1, 2020

Android-based pop-up prompt method and device

Inventors: Xiangyu Zhao (Hangzhou, CN); Liangzi Ding (Hangzhou, CN)
Assignee: Advanced New Technologies Co., Ltd.
G06F9/451
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,853,102
App. No.
16/820,543
Granted
Dec 1, 2020
Kind
B2
Abstract

The present disclosure includes systems and methods for providing popups, including the following computer-implemented method. A trigger event is received that is generated by detection of a request for a presentation of a pop-up window. Based on the received trigger event, an activity pop-up component is launched that is configured to output the pop-up window, where a launch mode of the activity pop-up component is preconfigured as a single task mode. A determination is made whether the pop-up window output by the activity pop-up component is obscured by a pre-existing pop-up window. Upon determining that the pop-up window output by the activity pop-up component is obscured by the pre-existing pop-up window, the activity pop-up component is relaunched to trigger movement of the pop-up window to the top of an activity stack to force a non-obscured display of the pop-up window.

Claims (46)

1. A computer-implemented method comprising:

receiving a trigger event generated by detection of a request for a presentation of a pop-up window;

launching, based on the received trigger event, an activity pop-up component configured to output the pop-up window, wherein a launch mode of the activity pop-up component is preconfigured as a single task mode prohibiting pop-up window outputs by pop-up window restrictions provided by a user input;

determining that an onStop method of the activity pop-up component is called during the single task mode, wherein the onStop method causes a pop-up window output of the activity pop-up component to be completely obscured by a pre-existing pop-up window;

in response to determining that the pop-up window output of the activity pop-up component is completely obscured by the pre-existing pop-up window, determining that an onPause method was called; and

in response to determining that the onPause method was called, relaunching the activity pop-up component in the single task mode directly based on the onStop method, by skipping the onPause method, to trigger movement of the pop-up window to the top of an activity stack to force a non-obscured display of the pop-up window that at least partly overlaps the activity stack.

2. The computer-implemented method of claim 1 , wherein the pop-up window comprises a reason for exiting a current login state.

3. The computer-implemented method of claim 1 , wherein the pop-up window comprises an incoming call event.

4. The computer-implemented method of claim 1 , wherein relaunching the activity pop-up component comprises:

determining whether a call of the onStop method is triggered by a disabling event for the activity pop-up component; and

upon determining that the call of the onStop method is not triggered by the disabling event for the activity pop-up component, relaunching the activity pop-up component based on the onStop method.

5. The computer-implemented method of claim 4 , further comprising:

upon determining that the call of the onStop method is triggered by the disabling event for the activity pop-up component, normally disabling the activity pop-up component.

6. The computer-implemented method of claim 1 , wherein the trigger event is received on an Android device.

7. The computer-implemented method of claim 1 , wherein the trigger event is single device login event.

8. A non-transitory, computer-readable medium storing one or more instructions executable by a computer system to perform operations comprising:

receiving a trigger event generated by detection of a request for a presentation of a pop-up window;

launching, based on the received trigger event, an activity pop-up component configured to output the pop-up window, wherein a launch mode of the activity pop-up component is preconfigured as a single task mode prohibiting pop-up window outputs by pop-up window restrictions provided by a user input;

determining that an onStop method of the activity pop-up component is called during the single task mode, wherein the onStop method causes a pop-up window output of the activity pop-up component to be completely obscured by a pre-existing pop-up window;

in response to determining that the pop-up window output of the activity pop-up component is completely obscured by the pre-existing pop-up window, determining that an onPause method was called; and

in response to determining that the onPause method was called, relaunching the activity pop-up component in the single task mode directly based on the onStop method, by skipping the onPause method, to trigger movement of the pop-up window to the top of an activity stack to force a non-obscured display of the pop-up window that at least partly overlaps the activity stack.

9. The non-transitory, computer-readable medium of claim 8 , wherein the pop-up window comprises a reason for exiting a current login state.

10. The non-transitory, computer-readable medium of claim 8 , wherein the pop-up window comprises an incoming call event.

11. The non-transitory, computer-readable medium of claim 8 , wherein relaunching the activity pop-up component comprises:

determining whether a call of the onStop method is triggered by a disabling event for the activity pop-up component; and

upon determining that the call of the onStop method is not triggered by the disabling event for the activity pop-up component, relaunching the activity pop-up component based on the onStop method.

12. The non-transitory, computer-readable medium of claim 11 , the operations further comprising:

upon determining that the call of the onStop method is triggered by the disabling event for the activity pop-up component, normally disabling the activity pop-up component.

13. The non-transitory, computer-readable medium of claim 8 , wherein the trigger event is received on an Android device.

14. The non-transitory, computer-readable medium of claim 8 , wherein the trigger event is single device login event.

15. A computer-implemented system, comprising:

one or more computers; and

one or more computer memory devices interoperably coupled with the one or more computers and having tangible, non-transitory, machine-readable media storing one or more instructions that, when executed by the one or more computers, perform one or more operations comprising:

receiving a trigger event generated by detection of a request for a presentation of a pop-up window;

launching, based on the received trigger event, an activity pop-up component configured to output the pop-up window, wherein a launch mode of the activity pop-up component is preconfigured as a single task mode prohibiting pop-up window outputs by pop-up window restrictions provided by a user input;

determining that an onStop method of the activity pop-up component is called during the single task mode, wherein the onStop method causes a pop-up window output of the activity pop-up component to be completely obscured by a pre-existing pop-up window;

in response to determining that the pop-up window output of the activity pop-up component is completely obscured by the pre-existing pop-up window, determining that an onPause method was called; and

in response to determining that the onPause method was called, relaunching the activity pop-up component in the single task mode directly based on the onStop method, by skipping the onPause method, to trigger movement of the pop-up window to the top of an activity stack to force a non-obscured display of the pop-up window that at least partly overlaps the activity stack.

16. The computer-implemented system of claim 15 , wherein the pop-up window comprises a reason for exiting a current login state.

17. The computer-implemented system of claim 15 , wherein the pop-up window comprises an incoming call event.

18. The computer-implemented system of claim 15 , wherein relaunching the activity pop-up component comprises:

determining whether a call of the onStop method is triggered by a disabling event for the activity pop-up component; and

upon determining that the call of the onStop method is not triggered by the disabling event for the activity pop-up component, relaunching the activity pop-up component based on the onStop method.

19. The computer-implemented system of claim 18 , the operations further comprising:

upon determining that the call of the onStop method is triggered by the disabling event for the activity pop-up component, normally disabling the activity pop-up component.

20. The computer-implemented system of claim 15 , wherein the trigger event is received on an Android device.

Assignments (3)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 10, 2020
From: ADVANTAGEOUS NEW TECHNOLOGIES CO., LTD.
To: ADVANCED NEW TECHNOLOGIES CO., LTD.
Reel/Frame 053754/0625 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 31, 2020
From: ALIBABA GROUP HOLDING LIMITED
To: ADVANTAGEOUS NEW TECHNOLOGIES CO., LTD.
Reel/Frame 053743/0464 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 5, 2020
From: ZHAO, XIANGYU; DING, LIANGZI
To: ALIBABA GROUP HOLDING LIMITED
Reel/Frame 052569/0896 →
Priority Claims (1)
CN 2016 1 0150785 · Mar 16, 2016 · national
Continuity (3)
Continuation 16131701 · Sep 14, 2018
Continuation PCTCN2017075520 · Mar 3, 2017
Related Publication 20200218550A1 · Jul 9, 2020