Unlock instant, AI-driven research and patent intelligence for your innovation.

Screen adaptation method for Android system SDK development and related device

An Android system and screen technology, applied in the direction of program control devices, program code adaptation, instruments, etc., can solve the problems of large package size, heavy workload, and inability to adapt immediately, so as to reduce workload and reduce conflicts Probability, the effect of improving compatibility

Pending Publication Date: 2021-04-02
AGRICULTURAL BANK OF CHINA
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although the adaptation effect of this solution can meet expectations, the workload is relatively large, and after electronic devices with different screen sizes or screen resolutions appear, it cannot be adapted immediately, and the version must be reissued
In addition, this solution will make the package size of APK or SDK larger

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
  • Screen adaptation method for Android system SDK development and related device
  • Screen adaptation method for Android system SDK development and related device
  • Screen adaptation method for Android system SDK development and related device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] 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 making creative efforts belong to the protection scope of the present invention.

[0037] In order to facilitate the understanding of the present invention, the relevant terms involved in the present invention are first explained below:

[0038] Pixel (px): It is the number of photosensitive elements on the CCD / CMOS. In short, a pixel is the smallest unit of the screen of an electronic device. In general, the design diagram of the user interface also uses px as a unified unit of measurement.

[0039] Resolution: The sum of the number of pix...

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 provides a screen adaptation method for Android system SDK development and a related device. The method comprises the following steps: dividing the sum of pixel points of a screen of electronic equipment in the width or height direction by the length of a design drawing corresponding to SDK in the corresponding direction to obtain an intermediate value, wherein the unit of the lengthof the design drawing is pound, millimeter or inch; and in the SDK user interface rendering process of the Android system of the electronic equipment, performing calculation by using the intermediatevalue to obtain the display pixel values of the controls with the units being the preset auxiliary units in the width direction and the height direction in the layout file of the SDK user interface.According to the method, since the SDK is adapted by some units which are not commonly used, the probability of conflict with a host APP or a third-party control is reduced, and the compatibility of the SDK and the host APP is further improved; and various user interface layout XML files do not need to be designed, so that the workload is reduced, and the volume of the APK or SDK package is reduced.

Description

technical field [0001] The present invention relates to the field of screen adaptation, and more specifically, relates to a screen adaptation method and a related device developed for the Android system SDK. Background technique [0002] Due to the openness of the Android (Android) system, any user, developer, hardware manufacturer, or operator can customize the Android system and hardware. In recent years, with the increase of Android-based devices, a large number of different screen sizes and different Electronic devices with screen resolutions. At present, although there are already very mature screen adaptation solutions for the APP development of the Android system, these solutions cannot completely solve the screen adaptation problem developed under the Android system SDK (Software Development Kit, software development kit); for example, if the SDK Use the same screen adaptation scheme as the host app that integrates the SDK, and if the design of the SDK is inconsiste...

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 Applications(China)
IPC IPC(8): G06F9/451G06F8/38G06F8/76
CPCG06F9/451G06F8/38G06F8/76
Inventor 蔡马坤张浩
Owner AGRICULTURAL BANK OF CHINA