Android Pop-up Visibility via Activity Stack Dynamics

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In Android systems, pop-ups intended for user prompts can be obscured by other pop-ups or pages, affecting the usability of applications and system functions, particularly in scenarios like single device login and incoming calls, where timely notification is crucial.

Innovation Solution

The pop-up is launched using an activity pop-up component with a preconfigured single task mode, and if obscured, it is relaunched to move to the top of the activity stack, ensuring it remains visible on the system frontend.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If the Android system outputs a pop-up using a standard activity component, then the pop-up can be displayed with basic functionality, but the pop-up may be obscured by other pop-ups or pages, affecting user notification reliability

Engineering Contradiction:
Improvepop-up notification reliabilityVSAvoidactivity management complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent applies the Dynamics principle by making the activity stack management dynamic. When a pop-up activity is launched, the system dynamically adjusts the stack behavior: it clears the activity stack and sets the pop-up activity as the only visible activity, ensuring the pop-up is always displayed on top without being obscured by other pages or pop-ups.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent changes the parameter of activity stack configuration by setting the launch mode to singleTask and modifying the task affinity. This parameter change ensures that the pop-up activity is always brought to the front and remains visible, solving the obscuration problem while maintaining system functionality.

Inventive Principle:
Principle #35Parameter changes

2Reliability

If the pop-up is always kept on top of the activity stack, then user notification reliability is improved, but the system's flexibility in handling multiple activities is reduced

Engineering Contradiction:
Improvepop-up visibility guaranteeVSAvoidactivity stack flexibility
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The patent segments the activity management into two distinct modes: a normal mode for regular application activities with standard stack behavior, and a pop-up mode for critical notifications with enforced top-display behavior. This segmentation allows the system to maintain flexibility for general purposes while ensuring reliability for critical pop-up notifications.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system dynamically switches activity stack management behavior based on the type of activity being launched. When a pop-up activity is detected (through specific intent filters or launch parameters), the system activates a special stack management mode that ensures top visibility, while other activities continue to use standard stack management, thus preserving overall system adaptability.

Inventive Principle:
Principle #15Dynamics

3Reliability

If the activity pop-up component is relaunched when obscured, then the pop-up is moved to the top of the activity stack and remains visible, but additional system operations are required

Engineering Contradiction:
Improvepop-up display assuranceVSAvoidactivity control logic complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent applies preliminary action by pre-configuring the pop-up activity with specific launch parameters (singleTask mode, custom task affinity) before it is launched. This pre-configuration ensures that when the activity is launched, it automatically receives special treatment in the activity stack management, eliminating the need for complex runtime detection and relaunch logic.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system implements feedback mechanisms through lifecycle event monitoring (such as onResume, onStart callbacks). When a pop-up activity detects that it should be displayed, it automatically requests to be brought to the front of the activity stack. This feedback-driven approach simplifies the control logic by using event-driven architecture rather than continuous polling or complex state management.

Inventive Principle:
Principle #23Feedback

Data Source

PatentEP3432140B1Android-based pop-up prompt method and device
Publication Date: 2022.02.23 ADVANCED NEW TECHNOLOGIES CO LTD
  • EP3432140B1 patent drawingFigure 1
  • EP3432140B1 patent drawingFigure 2
  • EP3432140B1 patent drawingFigure 3

AI summary

The present application provides an Android-based pop-up prompt method and device. The method includes the following: when a trigger event prompted by a pop-up is detected, launching an activity pop-up component to output the pop-up, where a launch mode of the activity pop-up component is preconfigured as a single task mode; determining whether the activity pop-up component is obscured by another activity component; and when the activity pop-up component is obscured by another activity component, relaunching the activity pop-up component to trigger movement of the activity pop-up component to the top of an activity stack, so the pop-up is displayed on a system front end. According to the present application, after the activity pop-up component is launched to output the pop-up to a user, it can be ensured that the pop-up is not obscured and is always displayed on the system front end.