Android Chat Window Capture Using XML Scrolling Under Security Limits

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing screen capture technologies on Android-based portable terminals struggle to accurately and efficiently capture chat windows due to performance issues, resource usage, and security restrictions, often resulting in distorted images and inefficient processing.

Innovation Solution

An automatic scroll capture method that utilizes Android's screen dump function to acquire XML data while scrolling by selected pixels, integrating data to create a comprehensive screen capture image, including identifying common data between consecutive XML data and combining images accordingly.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If screen capture is performed on Android-based portable terminals, then the current screen can be captured and saved as an image, but the device performance and resource usage are affected

Engineering Contradiction:
Improvescreen capture accuracyVSAvoiddevice performance and resource usage
Core Design Contradiction:
Measurement precisionVSUse of energy by moving object

Solution Approach 1:

The screen capture process is divided into multiple segments: XML data acquisition, image rendering, and integration. By segmenting the capture process and using Android's existing screen dump function for XML data, the system leverages optimized native operations while reducing the burden on the application layer, thus improving capture accuracy without excessive resource consumption.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent uses Android's screen dump function to copy XML data representing the screen content. This copying approach allows the system to work with lightweight XML representations rather than directly manipulating full-screen images, reducing memory usage and processing overhead while maintaining capture precision.

Inventive Principle:
Principle #26Copying

2Measurement precision

If chat window capture is performed on Android devices, then the chat window can be captured, but security restrictions and permission issues prevent accurate capture

Engineering Contradiction:
Improvechat window capture accuracyVSAvoidsecurity restrictions and permission issues
Core Design Contradiction:
Measurement precisionVSObject-affected harmful factors

Solution Approach 1:

The patent introduces XML data as an intermediary representation of the chat window. Instead of directly capturing the visual display (which is blocked by security restrictions), the system accesses the XML data structure that represents the UI elements, allowing accurate chat window capture while bypassing Android's security limitations.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent transitions from capturing the visual dimension (screen image) to capturing the data dimension (XML structure). By working with the XML representation of the chat window, the system achieves accurate capture without being constrained by visual security restrictions, effectively changing the dimension of capture from graphical to structural.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

3Loss of information

If the screen is scrolled to capture the entire chat window, then the complete chat window can be captured, but the capture process becomes time-consuming and inefficient

Engineering Contradiction:
Improvecomplete chat window captureVSAvoidcapture processing time
Core Design Contradiction:
Loss of informationVSLoss of time

Solution Approach 1:

The patent performs preliminary actions by acquiring XML data for the current screen position before any scrolling occurs. This preliminary XML data acquisition allows the system to understand the structure and content of the chat window in advance, enabling efficient capture of the entire window without repeated full-screen captures during scrolling.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

Instead of capturing the entire chat window through multiple full-screen captures during scrolling, the patent uses partial action by acquiring XML data at the current screen position and integrating it with the understanding that XML data represents the complete chat window structure. This approach captures only the necessary data without excessive scrolling operations.

Inventive Principle:
Principle #16Partial or excessive action

4Measurement precision

If XML data is acquired while scrolling by selected pixels, then the chat window can be captured accurately, but the process complexity increases

Engineering Contradiction:
Improvechat window capture accuracyVSAvoidcapture process complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent changes the parameter of screen position by scrolling through selected pixels and acquiring XML data at different positions. This parameter change approach allows the system to capture the complete chat window by systematically varying the screen position while maintaining a simple XML data acquisition process at each position.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent maintains continuous useful action by acquiring XML data continuously while scrolling through the chat window. Instead of performing discrete, separate capture operations, the system continuously acquires XML data at each scroll position, ensuring complete capture without gaps while keeping the process systematic and manageable.

Inventive Principle:
Principle #20Continuity of useful action

Data Source

PatentEP4592837A1Method and device for automatically scrolling and capturing a dialogue box running on an android-based portable terminal
Publication Date: 2025.07.30 GMDSOFT INC
  • EP4592837A1 patent drawingFigure 1
  • EP4592837A1 patent drawingFigure 2
  • EP4592837A1 patent drawingFigure 3

AI summary

Disclosed is technology for automatically scrolling and capturing a chat window running on an Android-based portable terminal, and an automatic scroll capture method may include receiving a screen capture command as input; acquiring XML data for a current screen of the portable terminal using Android's screen dump function based on the input screen capture command; acquiring at least one piece of XML data while scrolling the screen by the number of selected pixels at a location at which the XML data for the current screen is acquired; and creating a screen capture image by integrating the acquired XML data.