Android Screenshot Transposition for Rotation Stability

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

During the development and debugging of Android phone applications, existing methods like minicap result in incomplete screenshots when the screen rotates, leading to black areas and instability due to poor compatibility and frequent system crashes.

Innovation Solution

A method that acquires screenshot information, converts it into a bitmap, determines the screen's rotation state, and performs a transposition operation on the bitmap accordingly before converting it into a picture byte stream for synchronous display on a second terminal, ensuring complete and stable screenshot transmission.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If existing methods like minicap are used for remote screen display, then real-time display capability is achieved, but screen rotation causes incomplete screenshots with black areas

Engineering Contradiction:
Improvescreenshot completenessVSAvoidscreen rotation compatibility
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The system dynamically adjusts the bitmap orientation based on the detected screen rotation state. When screen rotation is detected, the bitmap is transposed accordingly (90 degrees, 180 degrees, or 270 degrees) to match the new screen orientation, ensuring complete and correct screenshot display without black areas.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system changes the orientation parameter of the bitmap according to the screen rotation state. By detecting the rotation angle and applying corresponding transposition operations, the bitmap's orientation parameter is adjusted to maintain proper alignment with the rotated screen, resolving the incomplete screenshot issue.

Inventive Principle:
Principle #35Parameter changes

2Reliability

If existing methods like minicap are used for remote screen display, then real-time display capability is achieved, but system stability deteriorates due to frequent crashes

Engineering Contradiction:
Improvesystem stabilityVSAvoiddevelopment and debugging efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The system implements feedback by continuously monitoring the screen rotation state and adjusting the bitmap orientation accordingly. This closed-loop approach ensures that the screenshot display remains synchronized with the actual screen orientation, preventing system crashes and improving stability during development and debugging.

Inventive Principle:
Principle #23Feedback

3Ease of operation

If screen rotation is handled by traditional methods, then basic display function is maintained, but screenshot completeness deteriorates with black areas appearing

Engineering Contradiction:
Improvedisplay function simplicityVSAvoidscreenshot content completeness
Core Design Contradiction:
Ease of operationVSLoss of information

Solution Approach 1:

The system performs preliminary action by detecting the screen rotation state before capturing or displaying the screenshot. By anticipating the rotation state and pre-adjusting the bitmap orientation, the system ensures complete screenshot content without black areas, while maintaining operational simplicity through automatic adjustment.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS11340859B2Synchronous display method, storage medium and electronic device
Publication Date: 2022.05.24 NETEASE (HANGZHOU) NETWORK CO LTD
  • US11340859B2 patent drawing
  • US11340859B2 patent drawing
  • US11340859B2 patent drawing

AI summary

A synchronous display method, a storage medium and an electronic device are provided. The method includes: screenshot information of a first terminal is acquired, and the screenshot information into a bitmap corresponding to the screenshot information is converted; a rotation state of a screen of the first terminal is acquired; and when it is determined that the screen rotates according to the rotation state, a transposition operation corresponding to the rotation state is performed on the bitmap, the bitmap after the transposition operation is converted into a picture byte stream, and the picture byte stream is transmitted to a second terminal to synchronously display the screenshot information corresponding to the bitmap.