Android Display Resolution Adaptation for Blurring Prevention
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The Android system faces issues with applications appearing blurry on high-resolution devices due to inadequate resolution adaptation, leading to inefficient use of graphic processor resources, as they are either stretched or displayed at lower resolutions than intended.
Innovation Solution
A display control method and device that determine an appropriate resolution for an application program interface from pre-defined options, establishing a display window of matching size and loading corresponding resource files to render the interface correctly, thereby preventing blurring and optimizing resource usage.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Device complexity
If the Android system uses a unified resolution for all applications on high-resolution devices, then the system is simple to implement, but the application interface appears blurry and user experience deteriorates
Solution Approach 1:
The system dynamically determines the appropriate resolution for each application based on its configuration information and the device's actual resolution, rather than using a fixed unified resolution. This allows the interface to adapt to different display requirements while maintaining system simplicity.
Solution Approach 2:
The system changes the resolution parameter based on the application's configuration information and the device's capabilities. By selecting from multiple predetermined resolutions, the system optimizes display quality without requiring complex implementation changes.
2Manufacturing precision
If the Android system displays all application interfaces at the device's native high resolution, then the interface appears clear for high-resolution applications, but graphic processor resources are wasted for low-resolution applications
Solution Approach 1:
The system changes the resolution parameter based on the application's configuration information, selecting an appropriate resolution from predetermined options. This ensures high display quality for applications that need it while reducing resolution for applications that don't require high resolution, thereby optimizing graphic processor resource usage.
3Area of stationary object
If the Android system stretches low-resolution application interfaces to fit high-resolution displays, then the display fills the entire screen, but the interface becomes blurry and visual quality deteriorates
Solution Approach 1:
Instead of stretching the interface, the system changes the resolution parameter to select an appropriate resolution from predetermined options that matches the application's configuration. This maintains the original interface quality without distortion while still providing appropriate display coverage.
Data Source
AI summary
A display control method for an application program interface is provided. The method includes: determining an appropriate resolution corresponding to the application program to be executed from at least two selectable resolutions; determining configuration information according to the appropriate resolution; establishing a display window having a size equal to a size corresponding to the appropriate resolution according to the configuration information, and loading a resource file corresponding to the application program interface; and rendering the application program interface in the display window on the a display device according to the appropriate resolution and the resource file. Through the above method, the present invention is capable of selecting an appropriate resolution for displaying an application program interface.


