Drawing method for application program interface adaptive to mobile terminals with different resolutions

A technology of application program interface and mobile terminal, which is applied in the direction of program control devices, etc., can solve the problems of increasing the difficulty and workload of software development, and achieve the effect of improving user experience and simplifying difficulty and workload

Inactive Publication Date: 2013-12-25
GUANG DONG MING CHUANG SOFTWARE TECH CORP
View PDF6 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this method not only increases the difficulty and workload of software development, but also puts forward higher requirements for users, requiring users to install different versions for specific resolutions.

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
  • Drawing method for application program interface adaptive to mobile terminals with different resolutions
  • Drawing method for application program interface adaptive to mobile terminals with different resolutions
  • Drawing method for application program interface adaptive to mobile terminals with different resolutions

Examples

Experimental program
Comparison scheme
Effect test

example 1

[0038] Example 1: Take the login interface of the qq software loaded on mobile phone B with a 5-inch 1920*1080 resolution as an example for illustration. When installing the qq software on mobile phone B and loading the login interface, first obtain the pixel density DPI of mobile phone B (that is, 441), and then according to the pixel density DPI and the set account input box, password input box and login button. Calculate the size of the elements in turn to obtain the size pixels and position pixels of each element that need to be set in mobile phone B, so as to obtain the shape, size and position of the login interface on the screen of mobile phone B, and finally load the login interface of the qq software according to the calculation results (like image 3 shown). Specifically, take the element of the account input box as an example to illustrate the calculation process: the height h of the account input box is 0.306 inches, and the obtained pixel density DPI is 441, and ...

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 discloses a drawing method for an application program interface adaptive to mobile terminals with different resolutions. The drawing method comprises the steps that the pixel density of a mobile terminal is obtained; the number of pixels, required to be set in the mobile terminal, of each element of an application program interface is sequentially computed according to a preset size and pixel density; the application program interface is drawn according to the number of pixels. Compared with the prior art, and according to the drawing method for the application program interface adaptive to mobile terminals with different resolutions, the application program interface is limited by the size of each element, accordingly, the display size of each element in the display screens of the mobile terminals with different resolutions is the same, so that the situation that in order to enable the application program interface to display patterns with the same size in the mobile terminals with different resolutions, different versions of application program interfaces need to be designed is avoided, the difficulty and workload on software development are simplified and reduced, and the user experience is improved.

Description

technical field [0001] The present invention relates to the technical field of application program installation, and more particularly to an application program interface drawing method adapted to mobile terminals with different resolutions. Background technique [0002] The screens of different devices generally have a fixed resolution, where each dot is a pixel. Its resolution has nothing to do with the size of the screen itself. When the screen size is constant, the higher the resolution, the clearer the screen display; similarly, if the resolution is constant, the smaller the screen, the clearer the display image will be. [0003] With the rapid development of information technology and electronic technology, people's demand for software systems is also increasing. From applications running on computers to simple programs on mobile phones, the range of applications for software systems is also expanding. This requires that the software must display user interfaces and...

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/44
Inventor 王政东
Owner GUANG DONG MING CHUANG SOFTWARE TECH CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products