Terminal Orientation Switching for Third-Party Apps
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Many third-party applications do not support landscape/portrait orientation switching, leading to poor display effects and user experiences on terminals due to limited display orientation options.
Innovation Solution
A method that receives a landscape/portrait orientation switching instruction, reads the display attribute of an application, modifies the orientation configuration and page size if necessary, and performs the switching to enable landscape/portrait orientation changes, allowing for flexible display adjustments based on user demands.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If an application is limited to a single display orientation (portrait or landscape), then the application can maintain its dedicated layout and resources, but the terminal cannot flexibly switch between orientations according to user demand
Solution Approach 1:
The patent makes the display orientation dynamic by allowing the terminal to automatically switch between portrait and landscape modes based on sensor detection (accelerometer/gyroscope) and user preferences. The system dynamically adjusts the application's display orientation without requiring manual intervention or application modification, thus resolving the contradiction between fixed application layouts and flexible terminal orientation switching.
Solution Approach 2:
The patent changes the orientation parameter of the application display by modifying the display configuration based on terminal orientation detection. When the terminal rotates, the system changes the display orientation parameter from portrait to landscape or vice versa, allowing the same application to adapt to different physical orientations of the terminal, thereby improving adaptability while maintaining ease of operation.
2Ease of manufacture
If third-party applications do not provide switchable display versions for landscape/portrait orientation, then the application development is simplified, but the display effect and user experience of the terminal deteriorates
Solution Approach 1:
The patent introduces a system-level intermediary layer (the terminal's orientation management system) that acts as a mediator between the application and the display hardware. This intermediary automatically handles orientation switching and layout adaptation, so applications don't need to provide separate landscape/portrait versions. The intermediary translates user needs into appropriate display configurations, maintaining both development simplicity and display quality.
Solution Approach 2:
The patent makes the terminal's display system universal by creating a single orientation management mechanism that handles all applications regardless of their native orientation requirements. The system universally applies orientation detection and switching across all third-party applications, allowing one-size-fits-all orientation management that improves display effect without requiring applications to be modified for different orientations.
3Area of stationary object
If the terminal rotates to landscape orientation, then wider display is achieved, but applications limited to portrait orientation cannot adapt and maintain proper display
Solution Approach 1:
The patent makes the application display dynamic by allowing it to automatically rotate between portrait and landscape orientations based on terminal orientation. When the terminal is rotated to landscape position, the system dynamically switches the application display from portrait to landscape mode, ensuring the application adapts to the new orientation while maintaining proper display proportions and content layout.
Solution Approach 2:
The patent changes the display orientation parameter of the application when the terminal orientation changes. The system detects terminal rotation and modifies the application's display parameters (width, height, orientation angle) accordingly, allowing portrait-limited applications to properly display in landscape orientation by adjusting their display parameters without modifying the application code.
Data Source
Figure 1
Figure 2
Figure 3~4
AI summary
Embodiments of the present invention disclose a display method and a terminal. The method includes: receiving a landscape/portrait orientation switching instruction; reading a display attribute of a currently displayed application and obtaining, according to the display attribute, landscape/portrait orientation configuration information of page display of the application; if the landscape/portrait orientation configuration information sets that a page supports only display in a single orientation, modifying the landscape/portrait orientation configuration information and a page display size of the application; performing landscape/portrait orientation switching according to the landscape/portrait orientation switching instruction; and displaying, on an interface obtained after landscape/portrait orientation switching, the application whose page display size is modified. A display effect and user experience of the terminal can be improved in the present invention.