CN108984253A - Application Program Interface display methods, device, readable storage medium storing program for executing and mobile terminal - Google Patents
Application Program Interface display methods, device, readable storage medium storing program for executing and mobile terminal Download PDFInfo
- Publication number
- CN108984253A CN108984253A CN201810714711.3A CN201810714711A CN108984253A CN 108984253 A CN108984253 A CN 108984253A CN 201810714711 A CN201810714711 A CN 201810714711A CN 108984253 A CN108984253 A CN 108984253A
- Authority
- CN
- China
- Prior art keywords
- application program
- width
- ratio
- interface
- mobile terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a kind of Application Program Interface display methods, device, readable storage medium storing program for executing and mobile terminal, the method is applied to mobile terminal, which comprises obtains the configuration file of application program;Judge to support the ratio of width to height field with the presence or absence of maximum in the configuration file;If there is no maximum support the ratio of width to height fields or the existing maximum setting value for supporting the ratio of width to height field to be not more than a threshold value in the configuration file, the display scale at the interface of the application program is adjusted according to the display resolution of the mobile terminal;Show the interface of the application program adjusted.The present invention is able to solve the incomplete problem of interface display of the application program in the mobile terminal shielded comprehensively, avoids the interface of application program from crossing the border the appearance of situation, improves the usage experience of user.
Description
Technical field
The present invention relates to technical field of mobile terminals, more particularly to a kind of Application Program Interface display methods, device, can
Read storage medium and mobile terminal.
Background technique
With the development of mobile communication technology, mobile terminal, such as mobile phone, tablet computer, smart camera are increasingly obtained
Develop and universal, the application program on mobile phone or tablet computer is also more and more abundant, brings great pleasure to people's lives
Interest and convenience.
Currently, the development of display technology, brings more aesthetics to mobile terminal, takes the mobile phone as an example, shield hand comprehensively
Machine is just gradually popular and universal, and each mobile phone vendor commercial city is proposed various comprehensive screen mobile phone, following currently, screen remains comprehensively
The Main way of mobile terminal development.
Shielding comprehensively mainly includes 18:9, the display screen of the display scales such as 19:9, although these mobile phones shielded comprehensively mention
The aesthetics of product is risen, but also due to the display scale of comprehensive screen mobile phone and the display scale different from of tradition 16:9, lead
Causing some application programs will appear, display is not complete, and the case where causing the interface display of application program to be crossed the border appearance affects user
Usage experience.
Summary of the invention
For this purpose, one embodiment of the present of invention proposes a kind of Application Program Interface display methods, it is aobvious to solve application program
Show infull problem.
Application Program Interface display methods according to an embodiment of the invention is applied to mobile terminal, which comprises
Obtain the configuration file of application program;
Judge to support the ratio of width to height field with the presence or absence of maximum in the configuration file;
If there is no maximum support the ratio of width to height field or the existing maximum support are wide high in the configuration file
Setting value than field is not more than a threshold value, then the boundary of the application program is adjusted according to the display resolution of the mobile terminal
The display scale in face;
Show the interface of the application program adjusted.
Application Program Interface display methods according to an embodiment of the present invention, first the configuration text by obtaining application program
Then part judges to support the ratio of width to height field with the presence or absence of maximum in the configuration file, if there is no maximum branch in configuration file
The ratio of width to height field or the existing maximum setting value for supporting the ratio of width to height field are held no more than a threshold value, then illustrates the application program not
It supports the requirement of full screen display, in this case, the boundary of the application program can be adjusted according to the display resolution of mobile terminal
The display resolution of the display scale in face, the display scale and mobile terminal that make the interface of application program is consistent, to protect
Card is not in the infull problem of the interface display of application program, avoids the boundary of application program in the mobile terminal shielded comprehensively
Face is crossed the border the appearance of situation, and the usage experience of user is improved.
In addition, Application Program Interface display methods according to the above embodiment of the present invention, can also have following additional
Technical characteristic:
Further, in one embodiment of the invention, judge to support width with the presence or absence of maximum in the configuration file
After the step of height is than field, the method also includes:
If there are maximum support the ratio of width to height fields in the configuration file, maximum support the ratio of width to height word is judged
Whether the setting value of section is not more than the threshold value;
If the maximum setting value for supporting the ratio of width to height field is not more than the threshold value, generates full frame regulation button and show
Show;
When receiving the click signal in response to the full frame regulation button, generates prompt information and show, it is described to mention
Show that information is used to indicate whether user carries out full frame adjusting;
When receiving the confirmation generated in response to the selection interface instruction, according to the display of the mobile terminal point
Resolution adjusts the display scale at the interface of the application program;
Show the interface of the application program adjusted.
Further, in one embodiment of the invention, judging the maximum setting value for supporting the ratio of width to height field is
After no the step of being not more than the threshold value, the method also includes:
If the maximum setting value for supporting the ratio of width to height field is not more than the threshold value, generate full frame regulation button and
It is shown in the taskbar of the mobile terminal.
Further, in one embodiment of the invention, if the maximum setting value for supporting the ratio of width to height field is little
In the threshold value, then after the step of generating full frame regulation button and showing, the method also includes:
Judge whether to receive the click signal in response to the full frame regulation button within a preset time;
If receiving the click signal in response to the full frame regulation button within a preset time, prompt information is generated simultaneously
It has been shown that, the prompt information are used to indicate whether user carries out full frame adjusting.
Further, in one embodiment of the invention, judge whether to receive within a preset time in response to described
After the step of click signal of full frame regulation button, the method also includes:
If not receiving the click signal in response to the full frame regulation button within a preset time, directly display described
The interface of application program.
Further, in one embodiment of the invention, judge to support width with the presence or absence of maximum in the configuration file
After the step of height is than field, the method also includes:
If there are maximum support the ratio of width to height fields in the configuration file, maximum support the ratio of width to height word is judged
Whether the setting value of section is not more than the threshold value;
If the maximum setting value for supporting the ratio of width to height field is greater than the threshold value, the application program is directly displayed
Interface.
Further, in one embodiment of the invention, the threshold value is 1.778f, wherein f is floating number.
Another embodiment of the invention proposes a kind of Application Program Interface display device, is shown not with solving application program
Full problem, the device are applied to mobile terminal, and described device includes:
Module is obtained, for obtaining the configuration file of application program;
First judgment module supports the ratio of width to height field with the presence or absence of maximum in the configuration file for judging;
Module is adjusted, if being used in the configuration file support the ratio of width to height field or existing described there is no the maximum
Maximum supports the setting value of the ratio of width to height field to be not more than a threshold value, then according to the adjustment of the display resolution of the mobile terminal
The display scale at the interface of application program;
First display module, for showing the interface of the application program adjusted.
In addition, Application Program Interface display device according to the above embodiment of the present invention, can also have following additional
Technical characteristic:
Further, in one embodiment of the invention, described device further include:
Second judgment module, if for, there are maximum support the ratio of width to height field, judging institute in the configuration file
State whether the maximum setting value for supporting the ratio of width to height field is not more than the threshold value;
First generation module produces if being not more than the threshold value for the maximum setting value for supporting the ratio of width to height field
Raw full frame regulation button is simultaneously shown;
Second generation module, for generating prompt when receiving the click signal in response to the full frame regulation button
Information simultaneously shows that the prompt information is used to indicate whether user carries out full frame adjusting;
The adjustment module is also used to when receiving the confirmation generated in response to the selection interface instruction, according to institute
State mobile terminal display resolution adjust the application program interface display scale.
Further, in one embodiment of the invention, if first generation module is specifically used for the maximum branch
The setting value of the ratio of width to height field is held no more than the threshold value, then generates full frame regulation button and in the taskbar of the mobile terminal
Middle display.
Further, in one embodiment of the invention, described device further include:
Third judgment module receives the point in response to the full frame regulation button for judging whether within a preset time
Hit signal;
If second generation module determines specifically for the third judgment module and receives sound within a preset time
The click signal of full frame regulation button described in Ying Yu generates prompt information and shows, the prompt information, which is used to indicate user, is
It is no to carry out full frame adjusting.
Further, in one embodiment of the invention, described device further include:
Second display module does not receive if determining for the third judgment module in response to institute within a preset time
The click signal of full frame regulation button is stated, then directly displays the interface of the application program.
Further, in one embodiment of the invention, described device further include:
Third display module, if being greater than the threshold value for the maximum setting value for supporting the ratio of width to height field, directly
Show the interface of the application program.
Further, in one embodiment of the invention, the threshold value is 1.778f, wherein f is floating number.
Another embodiment of the invention also proposes a kind of readable storage medium storing program for executing, is stored thereon with computer program, the journey
The step of above method is realized when sequence is executed by processor.
Another embodiment of the invention also proposes a kind of mobile terminal, including camera, memory, processor and deposits
The computer program that can be run on a memory and on a processor is stored up, the processor realizes above-mentioned side when executing described program
Method.
Additional aspect and advantage of the invention will be set forth in part in the description, and will partially become from the following description
Obviously, or embodiment through the invention is recognized.
Detailed description of the invention
The above-mentioned and/or additional aspect and advantage of the embodiment of the present invention are from the description of the embodiment in conjunction with the following figures
It will be apparent and be readily appreciated that, in which:
Fig. 1 is the flow chart of Application Program Interface display methods according to a first embodiment of the present invention;
Fig. 2 is the flow chart of Application Program Interface display methods according to a second embodiment of the present invention;
Fig. 3 is the structural schematic diagram of Application Program Interface display device according to a third embodiment of the present invention;
Fig. 4 is the structural schematic diagram of Application Program Interface display device according to a fourth embodiment of the present invention;
Fig. 5 is the structural schematic diagram of mobile terminal according to a sixth embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Referring to Fig. 1, the Application Program Interface display methods that first embodiment of the invention proposes, is applied to mobile terminal,
The described method includes:
S101 obtains the configuration file of application program;
Wherein, the mobile terminal can be the terminal devices such as mobile phone or tablet computer, in the present embodiment, it is described it is mobile eventually
End, which takes the mobile phone as an example, to be illustrated.Mobile phone can be the smart phone with IOS or android system.
Application program can be the application programs such as news, music on mobile phone (APP), can also apply journey with the equal of game class
Sequence (APP).For the application innovation installed on mobile phone, can all there are corresponding configuration file, e.g. application program
Meta-data file, in android system, meta-data is used in AndroidManifest.xml file.<meta-
Data > label is to provide the additional data of component, inherently a key-value pair (Bundle), can be with self-defined title
With value (value or resource).
S102 judges to support the ratio of width to height field with the presence or absence of maximum in the configuration file;
Wherein, maximum to support that the ratio of width to height field is, for example, max_aspect field, judge the meta-data of application program
It whether there is max_aspect field in file, specifically, can decide whether there is < meta-data android:name
=" android.max_aspect ", it is wide high that max_aspect field is used to indicate that the display interface maximum of the application program to be supported
Than.
S103, if there is no maximum support the ratio of width to height field or the existing maximum supports in the configuration file
The setting value of the ratio of width to height field is not more than a threshold value, then adjusts the application program according to the display resolution of the mobile terminal
Interface display scale;
Wherein, if max_aspect field is not present in the meta-data file of application program, illustrate the application program
Display scale only supports the display scale of traditional 16:9, does not support 18:9, the display scale that 19:9 etc. shields comprehensively.Equally, if
Although there are max_aspect field, the settings of existing max_aspect field in the meta-data file of application program
Value is not more than a threshold value, which is, for example, 1.778f (the corresponding maximum support the ratio of width to height word of the display scale of traditional 16:9
The setting value of section is 1.778f), wherein f is floating number, i.e., if there is the setting value of max_aspect field be less than or wait
In 1.778f, then shows that the display scale of the application program only supports the display scale of traditional 16:9, do not support 18:9,19:9
Deng the display scale shielded comprehensively.On the contrary, if there are max_aspect field in the meta-data file of application program, and exist
The setting value of max_aspect field be greater than 1.778f, then it is aobvious greater than 16:9 to illustrate that the display scale of the application program is supported
Show ratio, namely supports 18:9, the display scale that 19:9 etc. shields comprehensively.
S103, if there is no maximum support the ratio of width to height field or the existing maximum supports in the configuration file
The setting value of the ratio of width to height field is not more than a threshold value, then adjusts the application program according to the display resolution of the mobile terminal
Interface display scale;
Wherein, if max_aspect field or existing max_ are not present in the meta-data file of application program
The setting value of aspect field is less than or equal to 1.778f, then can adjust the application program according to the display resolution of mobile terminal
Interface display scale.Specifically, the display resolution of the mobile terminal can first be obtained, then according to the movement got
The display resolution of terminal is adjusted the display scale at the interface of application program, scales, and guarantees the interface of the application program
Display scale it is consistent with the display resolution of mobile terminal, so that the interface of application program be avoided to cross the border the appearance of situation.
In addition it should be pointed out that for there are max_aspect fields in the meta-data file of application program, and
The setting value of existing max_aspect field is greater than 1.778f, illustrates that the display scale of the application program is supported greater than 16:9's
Display scale, namely support 18:9, the display scale that 19:9 etc. shields comprehensively, there is no need to the display at the interface to application program ratios
Example is adjusted, and directly displays the interface of the application program.
S104 shows the interface of the application program adjusted.
Wherein, the interface of application program adjusted is shown, guarantees the boundary for the application program that user directly operates
Face is not in the case where crossing the border.
According to the Application Program Interface display methods of the present embodiment, first by obtaining the configuration file of application program, so
After judge to support the ratio of width to height field with the presence or absence of maximum in the configuration file, if in configuration file there is no it is maximum support it is wide high
It is not more than a threshold value than field or the existing maximum setting value for supporting the ratio of width to height field, then illustrates that the application program is not supported entirely
Shield the requirement of display, in this case, the aobvious of the interface of the application program can be adjusted according to the display resolution of mobile terminal
Show ratio, the display resolution of the display scale and mobile terminal that make the interface of application program is consistent, to guarantee complete
In the mobile terminal of face, is not in the infull problem of the interface display of application program, the interface of application program is avoided to cross the border
The appearance of situation improves the usage experience of user.
Referring to Fig. 2, the Application Program Interface display methods that second embodiment of the invention proposes, is applied to mobile terminal,
The described method includes:
S201 obtains the configuration file of application program;
Wherein, the mobile terminal can be the terminal devices such as mobile phone or tablet computer, in the present embodiment, it is described it is mobile eventually
End, which still takes the mobile phone as an example, to be illustrated.Application program can be the application programs such as news, music on mobile phone (APP), can also be with
Game class etc. application programs (APP).For the application innovation installed on mobile phone, can all there be a corresponding configuration file,
The e.g. meta-data file of application program.
S202 judges to support the ratio of width to height field with the presence or absence of maximum in the configuration file;
Wherein, maximum to support that the ratio of width to height field is, for example, max_aspect field, judge the meta-data of application program
It whether there is max_aspect field in file, specifically, can decide whether there is < meta-data android:name
=" android.max_aspect ", it is wide high that max_aspect field is used to indicate that the display interface maximum of the application program to be supported
Than.
S203, if judging that the maximum support is wide there are maximum support the ratio of width to height field in the configuration file
Whether height is not more than threshold value than the setting value of field;
Wherein, threshold value is, for example, 1.778f (the corresponding maximum support the ratio of width to height field of the display scale of traditional 16:9
Setting value is 1.778f), if the meta-data file of application program there are max_aspect field, judge it is existing
The setting value of max_aspect field is less than or equal to 1.778f, if so, showing that the display scale of the application program is only supported
The display scale of traditional 16:9 does not support 18:9, the display scale that 19:9 etc. shields comprehensively.
S204 generates full frame adjusting and presses if the maximum setting value for supporting the ratio of width to height field is not more than the threshold value
Button is simultaneously shown;
Wherein, the full frame regulation button can be specifically shown in the taskbar of mobile terminal, full frame regulation button can be with
Above or below the display box of corresponding application program, the full frame regulation button for be supplied to user whether need into
The adjusting of row full screen display.
S205 generates prompt information and shows, institute when receiving the click signal in response to the full frame regulation button
It states prompt information and is used to indicate whether user carries out full frame adjusting;
Wherein, when it is implemented, in order to promote interactive reliability, interactive efficiency is promoted, it can be determined that whether default
The click signal in response to the full frame regulation button is received in time (such as in 3s).
If receiving the click signal in response to the full frame regulation button in 3s, generates prompt information and shows,
The prompt information is used to indicate whether user carries out full frame adjusting, which can be presented in the form of dialog box, right
It talks about and provides "Yes" and "No" two options for user selections in frame.
Specifically, illustrating user not if not receiving the click signal in response to the full frame regulation button in 3s
It is displayed in full screen, therefore the interface of the application program can be directly displayed.
S206, when receiving the confirmation generated in response to the selection interface instruction, according to the mobile terminal
Display resolution adjusts the display scale at the interface of the application program;
Wherein, if user selects "Yes", show that user needs that the interface of application program is adjusted, it is desirable to carry out complete
Screen display, therefore the display scale at the interface of application program can be adjusted according to the display resolution of mobile terminal.It should be understood that
Generated if receiving in response to the selection interface when ignoring instruction, i.e., user selects "No", then illustrates that user does not need
It is displayed in full screen, the interface of the application program can be directly displayed.
S207 shows the interface of the application program adjusted.
Method provided in this embodiment is on the basis of first embodiment, excellent other than the effect for having first embodiment
The process interacted with user is changed, has improved interactive intuitive degree, reliability and efficiency, can further promote user
Usage experience.
It should be noted that the present embodiment stressed is difference with a upper embodiment, between each embodiment
The non-repeated description in same and similar part, can be with cross-reference.
Referring to Fig. 3, based on the same inventive concept, third embodiment of the invention proposes a kind of Application Program Interface display dress
It sets, is applied to mobile terminal, described device includes:
Module 10 is obtained, for obtaining the configuration file of application program;
First judgment module 20 supports the ratio of width to height field with the presence or absence of maximum in the configuration file for judging.
Module 30 is adjusted, if for there is no maximum support the ratio of width to height field or existing institutes in the configuration file
The maximum setting value for supporting the ratio of width to height field is stated no more than a threshold value, then institute is adjusted according to the display resolution of the mobile terminal
State the display scale at the interface of application program.
First display module 40, for showing the interface of the application program adjusted.
According to the Application Program Interface display device of the present embodiment, matching for application program is obtained by obtaining module 10 first
File is set, then first judgment module 20 judges to support the ratio of width to height field with the presence or absence of maximum in the configuration file, if configuration
The ratio of width to height field or the existing maximum setting value for supporting the ratio of width to height field is supported to be not more than a threshold value there is no maximum in file,
Then illustrate that the application program does not support the requirement of full screen display, in this case, adjustment module 30 can be according to mobile terminal
Display resolution adjusts the display scale at the interface of the application program, makes the display scale and mobile terminal at the interface of application program
Display resolution be consistent, thus guarantee be not in the mobile terminal shielded comprehensively application program interface display
Infull problem avoids the interface of application program from crossing the border the appearance of situation, improves the usage experience of user.
Referring to Fig. 4, based on the same inventive concept, fourth embodiment of the invention proposes a kind of Application Program Interface display dress
It sets, is applied to mobile terminal, described device includes:
Module 10 is obtained, for obtaining the configuration file of application program;
First judgment module 20 supports the ratio of width to height field with the presence or absence of maximum in the configuration file for judging.
Module 30 is adjusted, if for there is no maximum support the ratio of width to height field or existing institutes in the configuration file
The maximum setting value for supporting the ratio of width to height field is stated no more than a threshold value, then institute is adjusted according to the display resolution of the mobile terminal
State the display scale at the interface of application program.
First display module 40, for showing the interface of the application program adjusted.
In the present embodiment, described device further include:
Second judgment module 50, if for, there are maximum support the ratio of width to height field, judging in the configuration file
Whether the maximum setting value for supporting the ratio of width to height field is not more than the threshold value;
First generation module 60, if being not more than the threshold value for the maximum setting value for supporting the ratio of width to height field,
It generates full frame regulation button and shows;
Second generation module 70, for when receiving the click signal in response to the full frame regulation button, generation to be mentioned
Show information and show, the prompt information is used to indicate whether user carries out full frame adjusting;
The adjustment module 30 is also used to when receiving the confirmation generated in response to the selection interface instruction, according to
The display resolution of the mobile terminal adjusts the display scale at the interface of the application program.
In the present embodiment, if first generation module 60 is specifically used for the maximum setting value for supporting the ratio of width to height field
No more than the threshold value, then generates full frame regulation button and shown in the taskbar of the mobile terminal.
In the present embodiment, described device further include:
Third judgment module 80 is received within a preset time for judging whether in response to the full frame regulation button
Click signal;
If second generation module 70 is determined specifically for the third judgment module 80 and is received within a preset time
To the click signal in response to the full frame regulation button, generates prompt information and show, the prompt information is used to indicate use
Whether family carries out full frame adjusting.
In the present embodiment, described device further include:
Second display module 90 does not receive response if determining for the third judgment module 80 within a preset time
In the click signal of the full frame regulation button, then the interface of the application program is directly displayed.
In the present embodiment, described device further include:
Third display module 100, if being greater than the threshold value for the maximum setting value for supporting the ratio of width to height field, directly
Connect the interface for showing the application program.
In the present embodiment, the threshold value is 1.778f, wherein f is floating number.
The technical characteristic and technical effect and the present invention second for the Application Program Interface display device that the present embodiment proposes are real
The method for applying example proposition is identical, and it will not be described here.
Fifth embodiment of the invention provides a kind of readable storage medium storing program for executing, is stored thereon with computer program, the program quilt
The step of processor realizes above-mentioned each method embodiment when executing.
Sixth embodiment of the invention provides a kind of mobile terminal, which includes memory and processor, deposits
Reservoir is used to store the program for supporting processor to execute application program accelerating method provided by previous embodiment, and processor is matched
It is set to for executing the program stored in memory.The mobile terminal can also include communication interface, for other equipment or
Communication.The mobile terminal can be include mobile phone, tablet computer, PDA (Personal Digital
Assistant, personal digital assistant), any terminal device such as vehicle-mounted computer.
The structural schematic diagram for the mobile terminal that sixth embodiment of the invention as shown in Figure 5 provides.With reference to Fig. 5, the movement
Terminal includes: camera, radio frequency (Radio Frequency, RF) circuit 1210, memory 1220, input unit 1230, display
Unit 1240, sensor 1220, voicefrequency circuit 1260, Wireless Fidelity (Wireless Fidelity, WiFi) module 1270, place
Manage the components such as device 1280 and power supply 1290.It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 5 is simultaneously
The restriction to mobile terminal is not constituted, may include perhaps combining certain components or not than illustrating more or fewer components
Same component layout.It is specifically introduced below with reference to each component parts of the Fig. 5 to the mobile terminal of the present embodiment:
During RF circuit 1210 can be used for receiving and sending messages, signal is sended and received, and particularly, the downlink of base station is believed
After breath receives, handled to processor 1280;In addition, the data for designing uplink are sent to base station.In general, RF circuit 1210 includes
But be not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier,
LNA), duplexer etc..In addition, RF circuit 1210 can also be communicated with network and other equipment by wireless communication.It is above-mentioned wireless
Any communication standard or agreement, including but not limited to global system for mobile communications (Global System of can be used in communication
Mobile communication, GSM), general packet radio service (General Packet Radio Service,
GPRS), CDMA (Code Division Multiple Access, CDMA), wideband code division multiple access (Wideband Code
Division Multiple Access, WCDMA), it is long term evolution (Long Term Evolution, LTE), Email, short
Messaging service (Short Messaging Service, SMS) etc..
Memory 1220 can be used for storing software program and module, and processor 1280 is stored in memory by operation
1220 software program and module, thereby executing the various function application and data processing of mobile terminal.Memory 1220
It can mainly include storing program area and storage data area, wherein storing program area can storage program area, at least one function institute
The application program (such as sound-playing function, image player function etc.) etc. needed;Storage data area can be stored to be made according to mobile phone
With the data (such as audio data, phone directory etc.) etc. created.In addition, memory 1220 may include that high random access is deposited
Reservoir can also include nonvolatile memory, for example, at least a disk memory, flush memory device or other volatibility
Solid-state memory.
Input unit 1230 can be used for receiving the number or character information of input, and generates and set with the user of mobile terminal
It sets and the related key signals of function control inputs.Specifically, input unit 1230 may include touch panel 1231 and other
Input equipment 1232.Touch panel 1231, also referred to as touch screen, collect user on it or nearby touch operation (such as
User is using any suitable objects or attachment such as finger, stylus on touch panel 1231 or near touch panel 1231
Operation), and corresponding attachment device is driven according to preset formula.Optionally, touch panel 1231 may include touching inspection
Survey two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation
Bring signal, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and will
It is converted into contact coordinate, then gives processor 1280, and can receive order that processor 1280 is sent and be executed.This
Outside, touch panel 1231 can be realized using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touching
Panel 1231 is controlled, input unit 1230 can also include other input equipments 1232.Specifically, other input equipments 1232 can be with
Including but not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc.
One of or it is a variety of.
Display unit 1240 can be used for showing information input by user or the information and mobile terminal that are supplied to user
Various menus.Display unit 1240 may include display panel 1241, optionally, can use liquid crystal display (Liquid
Crystal Display, LCD), the forms such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED)
To configure display panel 1241.Further, touch panel 1231 can cover display panel 1241, when touch panel 1231 detects
After arriving touch operation on it or nearby, processor 1280 is sent to determine the type of touch event, is followed by subsequent processing device
1280 provide corresponding visual output according to the type of touch event on display panel 1241.Although in Fig. 5, touch panel
1231 and display panel 1241 are the input and input function for realizing mobile phone as two independent components, but in certain realities
Apply in example, can be integrated by touch panel 1231 and display panel 1241 and that realizes mobile phone output and input function.
Mobile terminal may also include at least one sensor 1220, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ring
The light and shade of border light adjusts the brightness of display panel 1241.Voicefrequency circuit 1260, loudspeaker 1261, microphone 1262 can provide
Audio interface between user and mobile terminal.Voicefrequency circuit 1260 can by the audio data received convert after electric signal,
It is transferred to loudspeaker 1261, voice signal output is converted to by loudspeaker 1261;On the other hand, microphone 1262 is by the sound of collection
Sound signal is converted to electric signal, is converted to audio data after being received by voicefrequency circuit 1260, then by audio data output processor
After 1280 processing, such as another mobile terminal is sent to through RF circuit 1210, or audio data is exported to memory
1220 to be further processed.
WiFi belongs to short range wireless transmission technology, and mobile terminal can provide nothing by WiFi module 1270 for user
The broadband internet of line accesses.Although Fig. 5 shows WiFi module 1270, but it is understood that, and be not belonging to move
Must be configured into for terminal, can according to need within the scope of not changing the essence of the invention completely and omits.
Processor 1280 is the control centre of mobile terminal, utilizes each portion of various interfaces and connection whole mobile phone
Point, by running or execute the software program and/or module that are stored in memory 1220, and calls and be stored in memory
Data in 1220 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.It is optional
, processor 1280 may include one or more processing units;Preferably, processor 1280 can integrate application processor, application
The main processing operation system of processor, user interface and application program etc..Processor 1280 can integrate modem processor,
Modem processor can not also be integrated into processor 1280.
Mobile terminal further includes the power supply 1290 (such as battery) powered to all parts, it is preferred that power supply can pass through
Power-supply management system and processor 1280 are logically contiguous, to realize management charging, electric discharge, Yi Jigong by power-supply management system
The functions such as consumption management.Although being not shown, mobile terminal can also include the first camera, bluetooth module etc., and details are not described herein.
Picture shooting method, device provided by the embodiment of the present invention, readable storage medium storing program for executing and mobile terminal, including storage
The computer readable storage medium of program code, the instruction that said program code includes can be used for executing previous methods embodiment
Described in method, specific implementation can be found in embodiment of the method, details are not described herein.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially right in other words
The part of part or the technical solution that the prior art contributes can be embodied in the form of software products, the calculating
Machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be individual
Computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.And
Storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory
The various media that can store program code such as device (RAM, Random Access Memory), magnetic or disk.
Finally, it should be noted that embodiment described above, only a specific embodiment of the invention, to illustrate the present invention
Technical solution, rather than its limitations, scope of protection of the present invention is not limited thereto, although with reference to the foregoing embodiments to this hair
It is bright to be described in detail, those skilled in the art should understand that: anyone skilled in the art
In the technical scope disclosed by the present invention, it can still modify to technical solution documented by previous embodiment or can be light
It is readily conceivable that variation or equivalent replacement of some of the technical features;And these modifications, variation or replacement, do not make
The essence of corresponding technical solution is detached from the spirit and scope of technical solution of the embodiment of the present invention, should all cover in protection of the invention
Within the scope of.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.
The embodiment of the invention also discloses:
A1, a kind of Application Program Interface display methods are applied to mobile terminal, which comprises
Obtain the configuration file of application program;
Judge to support the ratio of width to height field with the presence or absence of maximum in the configuration file;
If there is no maximum support the ratio of width to height field or the existing maximum support are wide high in the configuration file
Setting value than field is not more than a threshold value, then the boundary of the application program is adjusted according to the display resolution of the mobile terminal
The display scale in face;
Show the interface of the application program adjusted.
A2, Application Program Interface display methods according to a1 judge in the configuration file with the presence or absence of maximum branch
After the step of holding the ratio of width to height field, the method also includes:
If there are maximum support the ratio of width to height fields in the configuration file, maximum support the ratio of width to height word is judged
Whether the setting value of section is not more than the threshold value;
If the maximum setting value for supporting the ratio of width to height field is not more than the threshold value, generates full frame regulation button and show
Show;
When receiving the click signal in response to the full frame regulation button, generates prompt information and show, it is described to mention
Show that information is used to indicate whether user carries out full frame adjusting;
When receiving the confirmation generated in response to the selection interface instruction, according to the display of the mobile terminal point
Resolution adjusts the display scale at the interface of the application program;
Show the interface of the application program adjusted.
A3, the Application Program Interface display methods according to A2 judge the maximum setting for supporting the ratio of width to height field
After the step of whether value is not more than the threshold value, the method also includes:
If the maximum setting value for supporting the ratio of width to height field is not more than the threshold value, generate full frame regulation button and
It is shown in the taskbar of the mobile terminal.
A4, the Application Program Interface display methods according to A2, if the maximum setting value for supporting the ratio of width to height field
No more than the threshold value, then after the step of generating full frame regulation button and showing, the method also includes:
Judge whether to receive the click signal in response to the full frame regulation button within a preset time;
If receiving the click signal in response to the full frame regulation button within a preset time, prompt information is generated simultaneously
It has been shown that, the prompt information are used to indicate whether user carries out full frame adjusting.
A5, Application Program Interface display methods according to a4, judge whether to receive within a preset time in response to
After the step of click signal of the full frame regulation button, the method also includes:
If not receiving the click signal in response to the full frame regulation button within a preset time, directly display described
The interface of application program.
A6, Application Program Interface display methods according to a1 judge in the configuration file with the presence or absence of maximum branch
After the step of holding the ratio of width to height field, the method also includes:
If there are maximum support the ratio of width to height fields in the configuration file, maximum support the ratio of width to height word is judged
Whether the setting value of section is not more than the threshold value;
If the maximum setting value for supporting the ratio of width to height field is greater than the threshold value, the application program is directly displayed
Interface.
A7, Application Program Interface display methods according to a1, the threshold value are 1.778f, wherein f is floating number.
B8, a kind of Application Program Interface display device, are applied to mobile terminal, and described device includes:
Module is obtained, for obtaining the configuration file of application program;
First judgment module supports the ratio of width to height field with the presence or absence of maximum in the configuration file for judging;
Module is adjusted, if being used in the configuration file support the ratio of width to height field or existing described there is no the maximum
Maximum supports the setting value of the ratio of width to height field to be not more than a threshold value, then according to the adjustment of the display resolution of the mobile terminal
The display scale at the interface of application program;
First display module, for showing the interface of the application program adjusted.
B9, the Application Program Interface display device according to B8, described device further include:
Second judgment module, if for, there are maximum support the ratio of width to height field, judging institute in the configuration file
State whether the maximum setting value for supporting the ratio of width to height field is not more than the threshold value;
First generation module produces if being not more than the threshold value for the maximum setting value for supporting the ratio of width to height field
Raw full frame regulation button is simultaneously shown;
Second generation module, for generating prompt when receiving the click signal in response to the full frame regulation button
Information simultaneously shows that the prompt information is used to indicate whether user carries out full frame adjusting;
The adjustment module is also used to when receiving the confirmation generated in response to the selection interface instruction, according to institute
State mobile terminal display resolution adjust the application program interface display scale.
B10, the Application Program Interface display device according to B9, if first generation module be specifically used for it is described most
The big setting value for supporting the ratio of width to height field is not more than the threshold value, then generates full frame regulation button and appointing in the mobile terminal
Business is shown in column.
B11, the Application Program Interface display device according to B9, described device further include:
Third judgment module receives the point in response to the full frame regulation button for judging whether within a preset time
Hit signal;
If second generation module determines specifically for the third judgment module and receives sound within a preset time
The click signal of full frame regulation button described in Ying Yu generates prompt information and shows, the prompt information, which is used to indicate user, is
It is no to carry out full frame adjusting.
B12, the Application Program Interface display device according to B11, described device further include:
Second display module does not receive if determining for the third judgment module in response to institute within a preset time
The click signal of full frame regulation button is stated, then directly displays the interface of the application program.
B13, the Application Program Interface display device according to B8, described device further include:
Third display module, if being greater than the threshold value for the maximum setting value for supporting the ratio of width to height field, directly
Show the interface of the application program.
B14, the Application Program Interface display device according to B8, the threshold value are 1.778f, wherein f is floating number.
C15, a kind of readable storage medium storing program for executing, are stored thereon with computer program, realize such as when which is executed by processor
Method described in A1-A7 any one.
D16, a kind of mobile terminal, including camera, memory, processor and storage on a memory and can handled
The computer program run on device, the processor realize the method as described in A1 to A7 any one when executing described program.
Claims (10)
1. a kind of Application Program Interface display methods is applied to mobile terminal, which is characterized in that the described method includes:
Obtain the configuration file of application program;
Judge to support the ratio of width to height field with the presence or absence of maximum in the configuration file;
If there is no maximum support the ratio of width to height field or existing maximum support the ratio of width to height words in the configuration file
The setting value of section is not more than a threshold value, then the interface of the application program is adjusted according to the display resolution of the mobile terminal
Display scale;
Show the interface of the application program adjusted.
2. Application Program Interface display methods according to claim 1, which is characterized in that judge be in the configuration file
After no the step of supporting the ratio of width to height field in the presence of maximum, the method also includes:
If there are maximum support the ratio of width to height fields in the configuration file, maximum support the ratio of width to height field is judged
Whether setting value is not more than the threshold value;
If the maximum setting value for supporting the ratio of width to height field is not more than the threshold value, generates full frame regulation button and show;
When receiving the click signal in response to the full frame regulation button, generates prompt information and show, the prompt letter
Breath is used to indicate whether user carries out full frame adjusting;
When receiving the confirmation generated in response to the selection interface instruction, according to the display resolution of the mobile terminal
Adjust the display scale at the interface of the application program;
Show the interface of the application program adjusted.
3. Application Program Interface display methods according to claim 2, which is characterized in that judge that the maximum support is wide high
After the step of whether setting value than field is not more than the threshold value, the method also includes:
If the maximum setting value for supporting the ratio of width to height field is not more than the threshold value, full frame regulation button is generated and described
It is shown in the taskbar of mobile terminal.
4. Application Program Interface display methods according to claim 2, which is characterized in that if described maximum support the ratio of width to height
After the step of setting value of field is not more than the threshold value, then generates full frame regulation button and show, the method also includes:
Judge whether to receive the click signal in response to the full frame regulation button within a preset time;
If receiving the click signal in response to the full frame regulation button within a preset time, generates prompt information and show
Show, the prompt information is used to indicate whether user carries out full frame adjusting.
5. Application Program Interface display methods according to claim 4, which is characterized in that judge whether within a preset time
After the step of receiving the click signal in response to the full frame regulation button, the method also includes:
If not receiving the click signal in response to the full frame regulation button within a preset time, the application is directly displayed
The interface of program.
6. Application Program Interface display methods according to claim 1, which is characterized in that judge be in the configuration file
After no the step of supporting the ratio of width to height field in the presence of maximum, the method also includes:
If there are maximum support the ratio of width to height fields in the configuration file, maximum support the ratio of width to height field is judged
Whether setting value is not more than the threshold value;
If the maximum setting value for supporting the ratio of width to height field is greater than the threshold value, the boundary of the application program is directly displayed
Face.
7. Application Program Interface display methods according to claim 1, which is characterized in that the threshold value is 1.778f,
In, f is floating number.
8. a kind of Application Program Interface display device, it is applied to mobile terminal, which is characterized in that described device includes:
Module is obtained, for obtaining the configuration file of application program;
First judgment module supports the ratio of width to height field with the presence or absence of maximum in the configuration file for judging;
Module is adjusted, if for there is no maximum support the ratio of width to height field or the existing maximums in the configuration file
It supports the setting value of the ratio of width to height field to be not more than a threshold value, then the application is adjusted according to the display resolution of the mobile terminal
The display scale at the interface of program;
First display module, for showing the interface of the application program adjusted.
9. a kind of readable storage medium storing program for executing, is stored thereon with computer program, which is characterized in that real when the program is executed by processor
The now method as described in claim 1-7 any one.
10. a kind of mobile terminal, including camera, memory, processor and storage are on a memory and can be on a processor
The computer program of operation, which is characterized in that the processor is realized when executing described program as claim 1 to 7 is any one
Method described in.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810714711.3A CN108984253A (en) | 2018-06-29 | 2018-06-29 | Application Program Interface display methods, device, readable storage medium storing program for executing and mobile terminal |
PCT/CN2019/086998 WO2020001190A1 (en) | 2018-06-29 | 2019-05-15 | Application program interface display method and device, readable storage medium, and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810714711.3A CN108984253A (en) | 2018-06-29 | 2018-06-29 | Application Program Interface display methods, device, readable storage medium storing program for executing and mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108984253A true CN108984253A (en) | 2018-12-11 |
Family
ID=64539942
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810714711.3A Withdrawn CN108984253A (en) | 2018-06-29 | 2018-06-29 | Application Program Interface display methods, device, readable storage medium storing program for executing and mobile terminal |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108984253A (en) |
WO (1) | WO2020001190A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110069311A (en) * | 2019-04-24 | 2019-07-30 | 努比亚技术有限公司 | Application window display methods, device, mobile terminal and readable storage medium storing program for executing |
WO2020001190A1 (en) * | 2018-06-29 | 2020-01-02 | 奇酷互联网络科技(深圳)有限公司 | Application program interface display method and device, readable storage medium, and mobile terminal |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111596878B (en) * | 2020-05-13 | 2023-06-20 | 阿波罗智联(北京)科技有限公司 | Screen projection method, device, equipment and storage medium |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105827833A (en) * | 2016-03-22 | 2016-08-03 | 南京邮电大学 | Percentage-based Android mobile phone screen adaption method |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001159967A (en) * | 1999-12-03 | 2001-06-12 | Hitachi Ltd | Method for adjusting window size by picture resolution |
CN103927143B (en) * | 2014-04-04 | 2017-04-19 | 福建星网视易信息系统有限公司 | Method and device for adaptively adjusting interface layout on basis of screen resolution |
CN104035664A (en) * | 2014-06-06 | 2014-09-10 | 北京安兔兔科技有限公司 | Display method and device for user interface of application program |
CN107632874B (en) * | 2017-09-05 | 2023-11-03 | Oppo广东移动通信有限公司 | Interface display method and device and terminal |
CN108984253A (en) * | 2018-06-29 | 2018-12-11 | 奇酷互联网络科技(深圳)有限公司 | Application Program Interface display methods, device, readable storage medium storing program for executing and mobile terminal |
-
2018
- 2018-06-29 CN CN201810714711.3A patent/CN108984253A/en not_active Withdrawn
-
2019
- 2019-05-15 WO PCT/CN2019/086998 patent/WO2020001190A1/en active Application Filing
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105827833A (en) * | 2016-03-22 | 2016-08-03 | 南京邮电大学 | Percentage-based Android mobile phone screen adaption method |
Non-Patent Citations (1)
Title |
---|
亦枫: "Android中关于屏幕的三个小众知识(宽屏适配、禁止截屏和保持屏幕常亮)", 《ANDROID》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020001190A1 (en) * | 2018-06-29 | 2020-01-02 | 奇酷互联网络科技(深圳)有限公司 | Application program interface display method and device, readable storage medium, and mobile terminal |
CN110069311A (en) * | 2019-04-24 | 2019-07-30 | 努比亚技术有限公司 | Application window display methods, device, mobile terminal and readable storage medium storing program for executing |
CN110069311B (en) * | 2019-04-24 | 2023-12-08 | 努比亚技术有限公司 | Application window display method and device, mobile terminal and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2020001190A1 (en) | 2020-01-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108549519B (en) | Split screen processing method and device, storage medium and electronic equipment | |
CN104298436B (en) | A kind of quickly revert operating method and terminal | |
CN104243671B (en) | Volume adjusting method, device and electronic equipment | |
US10186244B2 (en) | Sound effect processing method and device, plug-in unit manager and sound effect plug-in unit | |
US10725646B2 (en) | Method and apparatus for switching screen interface and terminal | |
CN103544033B (en) | Method, device and associated equipment for rolling back application program | |
CN104252341B (en) | The client device of the skin change method of application program, device and application program | |
WO2015154670A1 (en) | Method and apparatus for invoking application programming interface | |
CN105187930A (en) | Video live broadcasting-based interaction method and device | |
CN106293375B (en) | A kind of method for changing scenes and equipment | |
CN108958805A (en) | menu display method and device | |
CN106254910B (en) | Method and device for recording image | |
CN107250969A (en) | Screen opening method, device and electronic equipment | |
CN104869465A (en) | Video playing control method and device | |
CN108958626A (en) | Gesture identification method, device, readable storage medium storing program for executing and mobile terminal | |
CN104965642A (en) | Method and apparatus for generating a drop-down list | |
CN103458277A (en) | Method and device for operating live channel programs | |
CN108984253A (en) | Application Program Interface display methods, device, readable storage medium storing program for executing and mobile terminal | |
CN109669662A (en) | A kind of pronunciation inputting method, device, storage medium and mobile terminal | |
CN103491421B (en) | Content displaying method, device and intelligent television | |
CN105187944B (en) | A kind of method and apparatus to Show Status Bar | |
CN105550316A (en) | Pushing method and device of audio list | |
CN103312907A (en) | Voice channel distribution management method, related device and communication system | |
CN104239005B (en) | Figure alignment schemes and device | |
CN108052356A (en) | A kind of method and terminal device for starting calculator |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20181211 |
|
WW01 | Invention patent application withdrawn after publication |