Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for adapting to multiple screen resolutions, storage devices and Android devices

A screen resolution and resolution technology, which is applied in software engineering design, instrumentation, graphics and image conversion, etc., can solve the problems of increasing file size, poor user experience, and longer time for specification resources, so as to reduce file size, The effect of simplifying the development process

Active Publication Date: 2022-04-12
FUJIAN STAR NET EVIDEO INFORMATION SYST CO LTD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the process of Android application development, we often encounter similar problems: the user interface design prepared for the 1024*768 resolution screen, running on the 1280*720 resolution screen, is likely to have a large number of left and right sides Blank; while the 1280*720 user interface is designed to run on a 1024*768 resolution device, the screen may not be able to display
[0003] The Chinese patent application number 201110176278.0 discloses a method for an Android application program to adapt to different screen densities. This method provides a resolution adaptation mechanism based on dpi (screen pixel density), and each dpi requires an application program to have a corresponding Image resources, resulting in the need to provide multiple sets of image resources for application development to adapt to various resolutions. Not only is the development process cumbersome, image resource management and maintenance are error-prone, but it will also increase the file size of the packaged application.
[0004] The Chinese patent with the application number 201310133232.X discloses a method for image adaptive resolution display. This method dynamically generates resources of the corresponding resolution through the application program to match the current resolution, but this method requires a large number of resources. The time to generate the required specification resources will also be longer, which increases the initial running time of the application, and the user experience is not good
[0005] The Chinese patent with the application number 201610164574.1 discloses a percentage-based screen adaptation method for Android mobile phones, which realizes application layout scaling by generating a ratio configuration file for each required resolution and standard resolution. The disadvantage of the method is that the new resolution cannot be automatically adapted, and the application needs to be manually generated and repackaged. At the same time, the configuration files of various resolutions also increase the file size of the application.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for adapting to multiple screen resolutions, storage devices and Android devices
  • Method for adapting to multiple screen resolutions, storage devices and Android devices
  • Method for adapting to multiple screen resolutions, storage devices and Android devices

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0038] In the current field of Android technology development, in order to solve the technical problem of adapting Android applications to screens of different specifications, there are various technical solutions, but usually the adaptation of various resolutions is performed on the application side. This processing method has always been unable to avoid the following problems: First, all screen resolutions cannot be enumerated, and 100% adaptation cannot be achiev...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention belongs to the technical field of Android development, and in particular relates to a method for adapting multiple screen resolutions, a storage device and an Android device. The method for adapting multiple screen resolutions of the present invention includes the following steps: the service process calls the system interface to create a virtual screen and its display buffer; the service process sets the output screen to use the same display buffer as the virtual screen; the service process acquires The resolution of the virtual screen and the output screen is calculated, and the scaling parameter is calculated; the service process displays the user interface data in the display buffer on the output screen according to the scaling parameter. The technical solution of the present invention can realize that the Android application program can adapt to Android output screens with different resolutions only by providing resources and configurations of one resolution, simplify the development process, and reduce the volume of the application program at the same time.

Description

technical field [0001] The invention belongs to the technical field of Android development, and in particular relates to a method for adapting multiple screen resolutions, a storage device and an Android device. Background technique [0002] With the continuous popularization of smart devices, the market share of the Android system continues to expand, becoming the largest smart device operating system, and is adopted by a large number of mobile terminals or multimedia devices. Due to the openness of the Android system, the screen fragmentation problem of Android devices is becoming more and more serious. On the one hand, Android devices produced by various manufacturers have screens of different sizes and resolutions, such as smartphone screens of various specifications and sizes. , the screen specifications applicable to the external connection of the Android system are also different, such as LCD TVs with different resolutions and sizes. In the process of Android applica...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F8/38G06F9/451G06T3/40
CPCG06F8/38G06T3/4092
Inventor 郑远游昌宁林鎏娟
Owner FUJIAN STAR NET EVIDEO INFORMATION SYST CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products