WO2020001190A1 - Application program interface display method and device, readable storage medium, and mobile terminal - Google Patents

Application program interface display method and device, readable storage medium, and mobile terminal Download PDF

Info

Publication number
WO2020001190A1
WO2020001190A1 PCT/CN2019/086998 CN2019086998W WO2020001190A1 WO 2020001190 A1 WO2020001190 A1 WO 2020001190A1 CN 2019086998 W CN2019086998 W CN 2019086998W WO 2020001190 A1 WO2020001190 A1 WO 2020001190A1
Authority
WO
WIPO (PCT)
Prior art keywords
display
application program
aspect ratio
interface
maximum supported
Prior art date
Application number
PCT/CN2019/086998
Other languages
French (fr)
Chinese (zh)
Inventor
韩帅
Original Assignee
奇酷互联网络科技(深圳)有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 奇酷互联网络科技(深圳)有限公司 filed Critical 奇酷互联网络科技(深圳)有限公司
Publication of WO2020001190A1 publication Critical patent/WO2020001190A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Definitions

  • the present invention relates to the technical field of mobile terminals, and in particular, to a method, a device, a readable storage medium, and a mobile terminal for displaying an application program interface.
  • mobile terminals such as mobile phones, tablets, and smart cameras
  • applications on mobile phones or tablets have also become more and more abundant, bringing people's lives Great fun and convenience.
  • Full screens mainly include display screens with display ratios of 18: 9, 19: 9, etc. Although these full-screen mobile phones have improved the aesthetics of the product, the display ratio of full-screen mobile phones is also different from the traditional 16: 9 display ratio. The difference results in incomplete display of some applications, which leads to the out-of-bounds display of the application interface, which affects the user experience.
  • an embodiment of the present invention proposes an application program interface display method to solve the problem of incomplete display of an application program.
  • An application program interface display method is applied to a mobile terminal, and the method includes:
  • the maximum supported aspect ratio field does not exist in the configuration file or the set value of the maximum supported aspect ratio field exists is not greater than a threshold value, adjusting the application program according to the display resolution of the mobile terminal The display scale of the interface;
  • the method for displaying an application program interface first, obtain a configuration file of an application program, and then determine whether there is a maximum supported aspect ratio field in the configuration file. If there is no maximum supported aspect ratio field or the configuration file exists, If the setting value of the maximum supported aspect ratio field is not greater than a threshold, it means that the application does not support the requirement of full screen display. In this case, the display ratio of the interface of the application will be adjusted according to the display resolution of the mobile terminal. Make the display ratio of the application interface consistent with the display resolution of the mobile terminal, so as to ensure that in the full-screen mobile terminal, the problem of incomplete display of the interface of the application will not occur, and the occurrence of the interface of the application beyond the boundary will be avoided. Improved user experience.
  • the method further includes:
  • the method further includes:
  • a full-screen adjustment button is generated and displayed in a task bar of the mobile terminal.
  • the method further includes:
  • a click signal in response to the full-screen adjustment button is received within a preset time, a prompt message is generated and displayed, and the prompt information is used to indicate whether the user performs full-screen adjustment.
  • the method further includes:
  • the method further includes:
  • the interface of the application program is directly displayed.
  • the threshold value is 1.778f, where f is a floating point number.
  • Another embodiment of the present invention provides an application program interface display device to solve the problem of incomplete application display.
  • the device is applied to a mobile terminal, and the device includes:
  • a first determining module configured to determine whether a maximum supported aspect ratio field exists in the configuration file
  • An adjustment module configured to: if the maximum supported aspect ratio field does not exist in the configuration file or the set value of the maximum supported aspect ratio field does not exceed a threshold, according to the display resolution of the mobile terminal Adjusting a display ratio of an interface of the application program;
  • the first display module is configured to display the adjusted interface of the application program.
  • application program interface display device may also have the following additional technical features:
  • the apparatus further includes:
  • a second determining module configured to determine whether a setting value of the maximum supported aspect ratio field is not greater than the threshold if the maximum supported aspect ratio field exists in the configuration file;
  • a first generation module configured to generate a full-screen adjustment button and display it if the set value of the maximum supported aspect ratio field is not greater than the threshold;
  • a second generating module configured to generate and display prompt information when a click signal is received in response to the full-screen adjustment button, and the prompt information is used to indicate whether the user performs full-screen adjustment;
  • the adjustment module is further configured to adjust a display ratio of the interface of the application program according to a display resolution of the mobile terminal when a confirmation instruction generated in response to the selection interface is received.
  • the first generation module is specifically configured to generate a full-screen adjustment button and set the full-screen adjustment button on the mobile terminal if the setting value of the maximum supported aspect ratio field is not greater than the threshold. Appears in the taskbar.
  • the apparatus further includes:
  • a third determination module configured to determine whether a click signal is received in response to the full-screen adjustment button within a preset time
  • the second generation module is specifically configured to generate and display a prompt message if the third judgment module determines that a click signal in response to the full-screen adjustment button is received within a preset time, and the prompt information is used to instruct a user Whether to make full screen adjustments.
  • the apparatus further includes:
  • the second display module is configured to directly display the interface of the application program if the third judgment module determines that a click signal in response to the full-screen adjustment button is not received within a preset time.
  • the apparatus further includes:
  • a third display module is configured to directly display an interface of the application program if a setting value of the maximum supported aspect ratio field is greater than the threshold.
  • the threshold value is 1.778f, where f is a floating point number.
  • Another embodiment of the present invention also provides a readable storage medium having stored thereon a computer program that implements the steps of the foregoing method when the program is executed by a processor.
  • Another embodiment of the present invention further provides a mobile terminal including a camera, a memory, a processor, and a computer program stored on the memory and executable on the processor, and the processor implements the foregoing method when the program is executed.
  • FIG. 1 is a flowchart of a method for displaying an application program interface according to a first embodiment of the present invention
  • FIG. 2 is a flowchart of a method for displaying an application program interface according to a second embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of an application program interface display device according to a third embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of an application program interface display device according to a fourth embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a mobile terminal according to a sixth embodiment of the present invention.
  • a method for displaying an application program interface according to a first embodiment of the present invention is applied to a mobile terminal.
  • the method includes:
  • the mobile terminal may be a terminal device such as a mobile phone or a tablet computer.
  • the mobile terminal is described by using a mobile phone as an example.
  • the mobile phone can be a smart phone with an IOS or Android system.
  • the application may be an application (APP) such as news and music on a mobile phone, or an application (APP) such as a game.
  • APP application
  • APP application
  • meta-data is used in the AndroidManifest.xml file.
  • the ⁇ meta-data> tag is used to provide additional data for the component. It is itself a key-value pair (Bundle), and you can customize the name and value (value or resource).
  • the max_aspect field does not exist in the application's meta-data file, it means that the display ratio of the application only supports the traditional 16: 9 display ratio, and does not support the full screen display ratios such as 18: 9, 19: 9.
  • the set value of the existing max_aspect field is not greater than a threshold, such as 1.778f (the maximum supported width and height corresponding to the traditional 16: 9 display ratio
  • the setting value of the ratio field is 1.778f), where f is a floating point number, that is, if the setting value of the existing max_aspect field is less than or equal to 1.778f, it means that the application's display ratio only supports the traditional 16: 9 display ratio , Does not support the display ratio of 18: 9, 19: 9 and other full screen.
  • the display ratio of the application supports a display ratio greater than 16: 9, that is, 18: 9 , 19: 9 and other full screen display ratio.
  • the display ratio of the interface of the application will be adjusted according to the display resolution of the mobile terminal. Specifically, the display resolution of the mobile terminal can be obtained first, and then the display ratio of the interface of the application program can be adjusted and scaled according to the obtained display resolution of the mobile terminal to ensure that the display ratio of the interface of the application program and the mobile terminal The display resolution is the same, thus avoiding the out-of-bounds situation of the application interface.
  • the max_aspect field exists and the set value of the existing max_aspect field is greater than 1.778f, indicating that the application's display ratio supports a display ratio greater than 16: 9, that is, Supports full screen display ratios such as 18: 9, 19: 9, etc. Therefore, there is no need to adjust the display ratio of the interface of the application, and the interface of the application can be directly displayed.
  • the interface of the adjusted application is displayed to ensure that the interface of the application directly operated by the user does not cross the boundary.
  • the method for displaying an application program interface first obtain an application configuration file, and then determine whether there is a maximum supported aspect ratio field in the configuration file. If there is no maximum supported aspect ratio field or one that exists in the configuration file, The value of the maximum supported aspect ratio field is not greater than a threshold value, which means that the application does not support the requirement of full screen display.
  • the display ratio of the interface of the application will be adjusted according to the display resolution of the mobile terminal so that The display ratio of the interface of the application program is consistent with the display resolution of the mobile terminal, thereby ensuring that the problem of incomplete display of the application interface does not occur in the full-screen mobile terminal.
  • a method for displaying an application program interface according to a second embodiment of the present invention is applied to a mobile terminal.
  • the method includes:
  • the mobile terminal may be a terminal device such as a mobile phone or a tablet computer. In this embodiment, the mobile terminal is still described by using a mobile phone as an example.
  • the application may be an application (APP) such as news and music on a mobile phone, or an application (APP) such as a game.
  • APP application
  • the threshold is, for example, 1.778f (the value of the maximum supported aspect ratio field corresponding to the traditional 16: 9 display ratio is 1.778f). If the application's meta-data file has a max_aspect field, it will determine the existence of max_aspect The setting value of the field is less than or equal to 1.778f. If it is, it indicates that the application's display ratio only supports the traditional 16: 9 display ratio, and does not support the full-screen display ratios such as 18: 9 and 19: 9.
  • the full-screen adjustment button can be displayed in the task bar of the mobile terminal.
  • the full-screen adjustment button can be located above or below the display frame of the corresponding application.
  • the full-screen adjustment button is used to provide the user with the need to adjust the full-screen display. .
  • a click signal is received in response to the full-screen adjustment button within a preset time (for example, within 3s).
  • a click signal in response to the full-screen adjustment button is received within 3s, a prompt message is generated and displayed, and the prompt information is used to indicate whether the user performs full-screen adjustment.
  • the prompt information may be presented in the form of a dialog box. "Yes” and “No” are provided for users to choose.
  • a click signal in response to the full-screen adjustment button is not received within 3s, it means that the user does not need to perform full-screen display, and therefore the interface of the application program is directly displayed.
  • the user selects "Yes”, it means that the user needs to adjust the interface of the application program and wants to display it in full screen, so the display ratio of the interface of the application program will be adjusted according to the display resolution of the mobile terminal. It can be understood that if a negative instruction generated in response to the selection interface is received, that is, the user selects "No”, it means that the user does not need to perform a full-screen display and directly displays the interface of the application program.
  • the method provided in this embodiment optimizes the process of interacting with the user, improves the intuitiveness, reliability, and efficiency of the interaction, and can further improve the user. Experience.
  • a third embodiment of the present invention proposes an application program interface display device applied to a mobile terminal.
  • the device includes:
  • An obtaining module 10 configured to obtain a configuration file of an application program
  • the first determining module 20 is configured to determine whether a maximum supported aspect ratio field exists in the configuration file.
  • the adjusting module 30 is configured to, if the maximum supported aspect ratio field does not exist in the configuration file or the set value of the maximum supported aspect ratio field exists is not greater than a threshold, the resolution is determined according to the display of the mobile terminal. Rate to adjust the display scale of the application's interface.
  • the first display module 40 is configured to display an interface of the application after adjustment.
  • a configuration file of an application program is first obtained through the acquisition module 10, and then the first determination module 20 determines whether a maximum supported aspect ratio field exists in the configuration file.
  • the setting value that supports the aspect ratio field or the maximum supported aspect ratio field that is not greater than a threshold value indicates that the application does not support the requirement of full-screen display.
  • the adjustment module 30 will adjust the display resolution of the mobile terminal according to Adjust the display ratio of the interface of the application to make the display ratio of the interface of the application consistent with the display resolution of the mobile terminal, so as to ensure that the problem of incomplete display of the interface of the application does not occur in a full-screen mobile terminal Avoiding cross-boundary of the interface of the application, which improves the user experience.
  • a fourth embodiment of the present invention proposes an application program interface display device applied to a mobile terminal.
  • the device includes:
  • An obtaining module 10 configured to obtain a configuration file of an application program
  • the first determining module 20 is configured to determine whether a maximum supported aspect ratio field exists in the configuration file.
  • the adjusting module 30 is configured to, if the maximum supported aspect ratio field does not exist in the configuration file or the set value of the maximum supported aspect ratio field exists is not greater than a threshold, the resolution is determined according to the display of the mobile terminal. Rate to adjust the display scale of the application's interface.
  • the first display module 40 is configured to display an interface of the application after adjustment.
  • the device further includes:
  • a second determining module 50 configured to determine whether a setting value of the maximum supported aspect ratio field is not greater than the threshold if the maximum supported aspect ratio field exists in the configuration file;
  • a first generation module 60 is configured to generate a full-screen adjustment button and display it if the setting value of the maximum supported aspect ratio field is not greater than the threshold;
  • the second generating module 70 is configured to generate and display prompt information when a click signal is received in response to the full-screen adjustment button, and the prompt information is used to indicate whether the user performs full-screen adjustment;
  • the adjusting module 30 is further configured to adjust a display ratio of the interface of the application program according to a display resolution of the mobile terminal when a confirmation instruction generated in response to the selection interface is received.
  • the first generating module 60 is specifically configured to generate a full-screen adjustment button and display it in a task bar of the mobile terminal if a setting value of the maximum supported aspect ratio field is not greater than the threshold.
  • the device further includes:
  • a third determination module 80 configured to determine whether a click signal is received in response to the full-screen adjustment button within a preset time
  • the second generation module 70 is specifically configured to generate and display prompt information if the third determination module 80 determines that a click signal in response to the full-screen adjustment button is received within a preset time, and the prompt information is used for Indicates whether the user makes full-screen adjustments.
  • the device further includes:
  • the second display module 90 is configured to directly display the interface of the application program if the third determination module 80 determines that a click signal in response to the full-screen adjustment button is not received within a preset time.
  • the device further includes:
  • the third display module 100 is configured to directly display an interface of the application program if a setting value of the maximum supported aspect ratio field is greater than the threshold.
  • the threshold is 1.778f, where f is a floating point number.
  • a fifth embodiment of the present invention provides a readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps of the foregoing method embodiments are implemented.
  • a sixth embodiment of the present invention provides a mobile terminal.
  • the mobile terminal includes a memory and a processor.
  • the memory is configured to store a program that supports the processor to execute the application program speed-up method provided by the foregoing embodiment.
  • the processor is configured to: Execute the program stored in the memory.
  • the mobile terminal may further include a communication interface for communicating with other devices or a communication network.
  • the mobile terminal may be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), and a vehicle-mounted computer.
  • FIG. 5 is a schematic structural diagram of a mobile terminal according to a sixth embodiment of the present invention.
  • the mobile terminal includes a camera, a radio frequency (RF) circuit 1210, a memory 1220, an input unit 1230, a display unit 1240, a sensor 1250, an audio circuit 1260, and a wireless fidelity (WiFi) module 1270. , Processor 1280, and power supply 1290.
  • RF radio frequency
  • the RF circuit 1210 can be used for receiving and sending signals during the process of transmitting and receiving information.
  • the downlink information of the base station is received and processed by the processor 1280; in addition, the uplink data of the design is transmitted to the base station.
  • the RF circuit 1210 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like.
  • the RF circuit 1210 can also communicate with a network and other devices through wireless communication.
  • the above wireless communication can use any communication standard or protocol, including, but not limited to, Global System of Mobile (GSM), General Packet Radio Service (GPRS), and Code Division Multiple Access Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), E-mail, Short Messaging Service (SMS), etc.
  • GSM Global System of Mobile
  • GPRS General Packet Radio Service
  • CDMA Code Division Multiple Access Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • LTE Long Term Evolution
  • E-mail Short Messaging Service
  • the memory 1220 can be used to store software programs and modules.
  • the processor 1280 executes various functional applications and data processing of the mobile terminal by running the software programs and modules stored in the memory 1220.
  • the memory 1220 may mainly include a storage program area and a storage data area, where the storage program area may store an operating system, at least one application required by a function (such as a sound playback function, an image playback function, etc.), etc .; the storage data area may store data according to Data (such as audio data, phone book, etc.) created by the use of the mobile phone.
  • the memory 1220 may include a high-speed random access memory, and may further include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the input unit 1230 may be used to receive inputted numeric or character information, and generate key signal inputs related to user settings and function control of the mobile terminal.
  • the input unit 1230 may include a touch panel 1231 and other input devices 1232.
  • the touch panel 1231 also known as a touch screen, can collect user's touch operations on or near it (such as the user using a finger, stylus, etc. any suitable object or accessory on the touch panel 1231 or near the touch panel 1231 Operation), and drive the corresponding connection device according to a preset program.
  • the touch panel 1231 may include a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into contact coordinates, and sends it To the processor 1280, and can receive the command sent by the processor 1280 and execute it.
  • various types such as resistive, capacitive, infrared, and surface acoustic wave can be used to implement the touch panel 1231.
  • the input unit 1230 may also include other input devices 1232.
  • the other input devices 1232 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, an operation lever, and the like.
  • the display unit 1240 may be used to display information input by the user or information provided to the user and various menus of the mobile terminal.
  • the display unit 1240 may include a display panel 1241.
  • the display panel 1241 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • the touch panel 1231 may cover the display panel 1241. After the touch panel 1231 detects a touch operation on or near the touch panel 1231, the touch panel 1231 transmits the touch operation to the processor 1280 to determine the type of the touch event. The type provides corresponding visual output on the display panel 1241.
  • the touch panel 1231 and the display panel 1241 are implemented as two independent components to implement the input and input functions of the mobile phone, in some embodiments, the touch panel 1231 and the display panel 1241 can be integrated and Realize the input and output functions of mobile phones.
  • the mobile terminal may further include at least one sensor 1250, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 1241 according to the brightness of the ambient light.
  • the audio circuit 1260, the speaker 1261, and the microphone 1262 can provide an audio interface between the user and the mobile terminal.
  • the audio circuit 1260 may transmit the received electrical data converted electrical signals to the speaker 1261, which is converted into a sound signal output by the speaker 1261; on the other hand, the microphone 1262 converts the collected sound signal into an electrical signal, and the audio circuit 1260 After receiving, it is converted into audio data, and then the audio data output processor 1280 is processed and then sent to, for example, another mobile terminal via the RF circuit 1210, or the audio data is output to the memory 1220 for further processing.
  • WiFi is a short-range wireless transmission technology.
  • the mobile terminal can provide users with wireless broadband Internet access through the WiFi module 1270.
  • FIG. 5 shows the WiFi module 1270, it can be understood that it does not belong to the necessary configuration of the mobile terminal, and can be omitted as needed without changing the essence of the invention.
  • the processor 1280 is a control center of the mobile terminal, and uses various interfaces and lines to connect various parts of the entire mobile phone. By running or executing software programs and / or modules stored in the memory 1220, and calling data stored in the memory 1220, Perform various functions of the mobile terminal and process data to perform overall monitoring of the mobile terminal.
  • the processor 1280 may include one or more processing units; preferably, the processor 1280 may integrate an application processor, and the application processor mainly processes an operating system, a user interface, and an application program.
  • the processor 1280 may be integrated with a modem processor, or the modem processor may not be integrated into the processor 1280.
  • the mobile terminal also includes a power source 1290 (such as a battery) for supplying power to various components.
  • a power source 1290 such as a battery
  • the power source can be logically connected to the processor 1280 through the power management system, so as to implement functions such as managing charging, discharging, and power consumption management through the power management system.
  • the mobile terminal may further include a first camera, a Bluetooth module, and the like, and details are not described herein again.
  • the method, device, readable storage medium, and mobile terminal provided by the embodiment of the present invention include a computer-readable storage medium storing program code, and the program code includes instructions that can be used to execute the method described in the foregoing method embodiment.
  • program code includes instructions that can be used to execute the method described in the foregoing method embodiment.
  • the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium.
  • the technical solution of the present invention is essentially a part that contributes to the existing technology or a part of the technical solution can be embodied in the form of a software product.
  • the computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in various embodiments of the present invention.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disks or optical disks and other media that can store program codes .
  • An application program interface display method applied to a mobile terminal includes:
  • the maximum supported aspect ratio field does not exist in the configuration file or the set value of the maximum supported aspect ratio field exists is not greater than a threshold value, adjusting the application program according to the display resolution of the mobile terminal The display scale of the interface;
  • the method further includes:
  • the method further includes:
  • a full-screen adjustment button is generated and displayed in a task bar of the mobile terminal.
  • the method further includes:
  • a click signal in response to the full-screen adjustment button is received within a preset time, a prompt message is generated and displayed, and the prompt information is used to indicate whether the user performs full-screen adjustment.
  • the method further includes:
  • the method further includes:
  • the interface of the application program is directly displayed.
  • A7 The method for displaying an application program interface according to A1, wherein the threshold is 1.778f, where f is a floating point number.
  • the device includes:
  • a first determining module configured to determine whether a maximum supported aspect ratio field exists in the configuration file
  • An adjustment module configured to: if the maximum supported aspect ratio field does not exist in the configuration file or the set value of the maximum supported aspect ratio field does not exceed a threshold, according to the display resolution of the mobile terminal Adjusting a display ratio of an interface of the application program;
  • the first display module is configured to display the adjusted interface of the application program.
  • a second determining module configured to determine whether a setting value of the maximum supported aspect ratio field is not greater than the threshold if the maximum supported aspect ratio field exists in the configuration file;
  • a first generation module configured to generate a full-screen adjustment button and display it if the set value of the maximum supported aspect ratio field is not greater than the threshold;
  • a second generating module configured to generate and display prompt information when a click signal is received in response to the full-screen adjustment button, and the prompt information is used to indicate whether the user performs full-screen adjustment;
  • the adjustment module is further configured to adjust a display ratio of the interface of the application program according to a display resolution of the mobile terminal when a confirmation instruction generated in response to the selection interface is received.
  • the application program interface display device according to B9, wherein the first generation module is specifically configured to generate a full-screen adjustment button and move the mobile phone if a setting value of the maximum supported aspect ratio field is not greater than the threshold. Displayed in the taskbar of the terminal.
  • a third determination module configured to determine whether a click signal is received in response to the full-screen adjustment button within a preset time
  • the second generation module is specifically configured to generate and display a prompt message if the third judgment module determines that a click signal in response to the full-screen adjustment button is received within a preset time, and the prompt information is used to instruct a user Whether to make full screen adjustments.
  • the second display module is configured to directly display the interface of the application program if the third judgment module determines that a click signal in response to the full-screen adjustment button is not received within a preset time.
  • a third display module is configured to directly display an interface of the application program if a setting value of the maximum supported aspect ratio field is greater than the threshold.
  • the threshold value is 1.778f, where f is a floating point number.
  • a readable storage medium having stored thereon a computer program, which when executed by a processor implements the method according to any one of A1-A7.
  • a mobile terminal including a camera, a memory, a processor, and a computer program stored on the memory and executable on the processor.
  • the processor executes the program, the processor implements any one of A1 to A7. method.

Abstract

Disclosed are an application program interface display method and device, a readable storage medium, and a mobile terminal. The method is applied to the mobile terminal. The method comprises: obtaining a configuration file of an application program; determining whether a maximum supported aspect ratio field exists in the configuration file; if the maximum supported aspect ratio field does not exist in the configuration file or the setting value of the maximum supported aspect ratio field that exists is not greater than a threshold value, adjusting the display proportion of an interface of the application program according to a display resolution of the mobile terminal; and displaying an interface of the adjusted application program. The present invention can solve the problem of incomplete interface display of an application program in a full-screen mobile terminal, avoids the appearance of the interface of the application program crossing the boundary, and improves the use experience of a user.

Description

应用程序界面显示方法、装置、可读存储介质及移动终端Application program interface display method, device, readable storage medium and mobile terminal 【技术领域】[Technical Field]
本发明涉及移动终端技术领域,特别是涉及一种应用程序界面显示方法、装置、可读存储介质及移动终端。The present invention relates to the technical field of mobile terminals, and in particular, to a method, a device, a readable storage medium, and a mobile terminal for displaying an application program interface.
【背景技术】【Background technique】
随着移动通信技术的发展,移动终端,如手机、平板电脑、智能相机等,越来越得到发展和普及,手机或平板电脑上的应用程序也越来越丰富,给人们的生活带来了极大的乐趣和便利。With the development of mobile communication technology, mobile terminals, such as mobile phones, tablets, and smart cameras, have been increasingly developed and popularized, and applications on mobile phones or tablets have also become more and more abundant, bringing people's lives Great fun and convenience.
目前,显示技术的发展,给移动终端带来了更多的美观性,以手机为例,全面屏手机正逐步流行和普及,各家手机厂商都推出了各式的全面屏手机,未来目前,全面屏依旧是移动终端发展的主要方向。At present, the development of display technology has brought more aesthetics to mobile terminals. Taking mobile phones as an example, full-screen mobile phones are gradually becoming popular and popular. Various mobile phone manufacturers have launched various full-screen mobile phones. At present, Full screen is still the main direction of mobile terminal development.
全面屏主要包括了18:9,19:9等显示比例的显示屏幕,这些全面屏的手机虽然提升了产品的美观度,但也由于全面屏手机的显示比例与传统16:9的显示比例有所区别,导致有些应用程序会出现显示不全,导致应用程序的界面显示越界的情况出现,影响了用户的使用体验。Full screens mainly include display screens with display ratios of 18: 9, 19: 9, etc. Although these full-screen mobile phones have improved the aesthetics of the product, the display ratio of full-screen mobile phones is also different from the traditional 16: 9 display ratio. The difference results in incomplete display of some applications, which leads to the out-of-bounds display of the application interface, which affects the user experience.
【发明内容】[Summary of the Invention]
为此,本发明的一个实施例提出一种应用程序界面显示方法,以解决应用程序显示不全的问题。To this end, an embodiment of the present invention proposes an application program interface display method to solve the problem of incomplete display of an application program.
根据本发明一实施例的应用程序界面显示方法,应用于移动终端,所述方法包括:An application program interface display method according to an embodiment of the present invention is applied to a mobile terminal, and the method includes:
获取应用程序的配置文件;Get the application's configuration file;
判断所述配置文件中是否存在最大支持宽高比字段;Determining whether there is a maximum supported aspect ratio field in the configuration file;
若所述配置文件中不存在所述最大支持宽高比字段或存在的所述最大支持宽高比字段的设置值不大于一阈值,则根据所述移动终端的显示分辨率调整所述应用程序的界面的显示比例;If the maximum supported aspect ratio field does not exist in the configuration file or the set value of the maximum supported aspect ratio field exists is not greater than a threshold value, adjusting the application program according to the display resolution of the mobile terminal The display scale of the interface;
显示调整后的所述应用程序的界面。Display the adjusted interface of the application.
根据本发明实施例的应用程序界面显示方法,首先通过获取应用程序的配 置文件,然后判断该配置文件中是否存在最大支持宽高比字段,如果配置文件中不存在最大支持宽高比字段或存在的最大支持宽高比字段的设置值不大于一阈值,则说明该应用程序不支持全屏显示的要求,对于这种情况,会根据移动终端的显示分辨率调整该应用程序的界面的显示比例,使应用程序的界面的显示比例与移动终端的显示分辨率保持一致,从而保证在全面屏的移动终端中,不会出现应用程序的界面显示不全的问题,避免应用程序的界面越界情况的出现,提升了用户的使用体验。According to the method for displaying an application program interface according to an embodiment of the present invention, first, obtain a configuration file of an application program, and then determine whether there is a maximum supported aspect ratio field in the configuration file. If there is no maximum supported aspect ratio field or the configuration file exists, If the setting value of the maximum supported aspect ratio field is not greater than a threshold, it means that the application does not support the requirement of full screen display. In this case, the display ratio of the interface of the application will be adjusted according to the display resolution of the mobile terminal. Make the display ratio of the application interface consistent with the display resolution of the mobile terminal, so as to ensure that in the full-screen mobile terminal, the problem of incomplete display of the interface of the application will not occur, and the occurrence of the interface of the application beyond the boundary will be avoided. Improved user experience.
另外,根据本发明上述实施例的应用程序界面显示方法,还可以具有如下附加的技术特征:In addition, the method for displaying an application program interface according to the foregoing embodiment of the present invention may further have the following additional technical features:
进一步地,在本发明的一个实施例中,判断所述配置文件中是否存在最大支持宽高比字段的步骤之后,所述方法还包括:Further, in an embodiment of the present invention, after determining whether there is a maximum supported aspect ratio field in the configuration file, the method further includes:
若所述配置文件中存在所述最大支持宽高比字段,则判断所述最大支持宽高比字段的设置值是否不大于所述阈值;If the maximum supported aspect ratio field exists in the configuration file, determining whether a setting value of the maximum supported aspect ratio field is not greater than the threshold;
若所述最大支持宽高比字段的设置值不大于所述阈值,则产生全屏调节按钮并显示;If the setting value of the maximum supported aspect ratio field is not greater than the threshold value, a full-screen adjustment button is generated and displayed;
当接收到响应于所述全屏调节按钮的点击信号时,产生提示信息并显示,所述提示信息用于指示用户是否进行全屏调节;When a click signal is received in response to the full-screen adjustment button, prompt information is generated and displayed, and the prompt information is used to indicate whether the user performs full-screen adjustment;
当接收到响应于所述选择界面而产生的确认指令时,根据所述移动终端的显示分辨率调整所述应用程序的界面的显示比例;When receiving a confirmation instruction generated in response to the selection interface, adjusting a display ratio of the interface of the application according to a display resolution of the mobile terminal;
显示调整后的所述应用程序的界面。Display the adjusted interface of the application.
进一步地,在本发明的一个实施例中,判断所述最大支持宽高比字段的设置值是否不大于所述阈值的步骤之后,所述方法还包括:Further, in an embodiment of the present invention, after determining whether the setting value of the maximum supported aspect ratio field is not greater than the threshold, the method further includes:
若所述最大支持宽高比字段的设置值不大于所述阈值,则产生全屏调节按钮并在所述移动终端的任务栏中显示。If the setting value of the maximum supported aspect ratio field is not greater than the threshold, a full-screen adjustment button is generated and displayed in a task bar of the mobile terminal.
进一步地,在本发明的一个实施例中,若所述最大支持宽高比字段的设置值不大于所述阈值,则产生全屏调节按钮并显示的步骤之后,所述方法还包括:Further, in an embodiment of the present invention, if the setting value of the maximum supported aspect ratio field is not greater than the threshold value, after the step of generating and displaying a full-screen adjustment button, the method further includes:
判断是否在预设时间内接收到响应于所述全屏调节按钮的点击信号;Determining whether a click signal is received in response to the full-screen adjustment button within a preset time;
若在预设时间内接收到响应于所述全屏调节按钮的点击信号,则产生提示信息并显示,所述提示信息用于指示用户是否进行全屏调节。If a click signal in response to the full-screen adjustment button is received within a preset time, a prompt message is generated and displayed, and the prompt information is used to indicate whether the user performs full-screen adjustment.
进一步地,在本发明的一个实施例中,判断是否在预设时间内接收到响应于所述全屏调节按钮的点击信号的步骤之后,所述方法还包括:Further, in an embodiment of the present invention, after determining whether a click signal in response to the full-screen adjustment button is received within a preset time, the method further includes:
若未在预设时间内接收到响应于所述全屏调节按钮的点击信号,则直接显示所述应用程序的界面。If a click signal in response to the full-screen adjustment button is not received within a preset time, an interface of the application program is directly displayed.
进一步地,在本发明的一个实施例中,判断所述配置文件中是否存在最大支持宽高比字段的步骤之后,所述方法还包括:Further, in an embodiment of the present invention, after determining whether there is a maximum supported aspect ratio field in the configuration file, the method further includes:
若所述配置文件中存在所述最大支持宽高比字段,则判断所述最大支持宽高比字段的设置值是否不大于所述阈值;If the maximum supported aspect ratio field exists in the configuration file, determining whether a setting value of the maximum supported aspect ratio field is not greater than the threshold;
若所述最大支持宽高比字段的设置值大于所述阈值,则直接显示所述应用程序的界面。If the setting value of the maximum supported aspect ratio field is greater than the threshold, the interface of the application program is directly displayed.
进一步地,在本发明的一个实施例中,所述阈值为1.778f,其中,f为浮点数。Further, in an embodiment of the present invention, the threshold value is 1.778f, where f is a floating point number.
本发明的另一个实施例提出一种应用程序界面显示装置,以解决应用程序显示不全的问题,该装置应用于移动终端,所述装置包括:Another embodiment of the present invention provides an application program interface display device to solve the problem of incomplete application display. The device is applied to a mobile terminal, and the device includes:
获取模块,用于获取应用程序的配置文件;An acquisition module for acquiring a configuration file of an application;
第一判断模块,用于判断所述配置文件中是否存在最大支持宽高比字段;A first determining module, configured to determine whether a maximum supported aspect ratio field exists in the configuration file;
调整模块,用于若所述配置文件中不存在所述最大支持宽高比字段或存在的所述最大支持宽高比字段的设置值不大于一阈值,则根据所述移动终端的显示分辨率调整所述应用程序的界面的显示比例;An adjustment module, configured to: if the maximum supported aspect ratio field does not exist in the configuration file or the set value of the maximum supported aspect ratio field does not exceed a threshold, according to the display resolution of the mobile terminal Adjusting a display ratio of an interface of the application program;
第一显示模块,用于显示调整后的所述应用程序的界面。The first display module is configured to display the adjusted interface of the application program.
另外,根据本发明上述实施例的应用程序界面显示装置,还可以具有如下附加的技术特征:In addition, the application program interface display device according to the foregoing embodiment of the present invention may also have the following additional technical features:
进一步地,在本发明的一个实施例中,所述装置还包括:Further, in an embodiment of the present invention, the apparatus further includes:
第二判断模块,用于若所述配置文件中存在所述最大支持宽高比字段,则判断所述最大支持宽高比字段的设置值是否不大于所述阈值;A second determining module, configured to determine whether a setting value of the maximum supported aspect ratio field is not greater than the threshold if the maximum supported aspect ratio field exists in the configuration file;
第一产生模块,用于若所述最大支持宽高比字段的设置值不大于所述阈值,则产生全屏调节按钮并显示;A first generation module, configured to generate a full-screen adjustment button and display it if the set value of the maximum supported aspect ratio field is not greater than the threshold;
第二产生模块,用于当接收到响应于所述全屏调节按钮的点击信号时,产生提示信息并显示,所述提示信息用于指示用户是否进行全屏调节;A second generating module, configured to generate and display prompt information when a click signal is received in response to the full-screen adjustment button, and the prompt information is used to indicate whether the user performs full-screen adjustment;
所述调整模块还用于当接收到响应于所述选择界面而产生的确认指令时,根据所述移动终端的显示分辨率调整所述应用程序的界面的显示比例。The adjustment module is further configured to adjust a display ratio of the interface of the application program according to a display resolution of the mobile terminal when a confirmation instruction generated in response to the selection interface is received.
进一步地,在本发明的一个实施例中,所述第一产生模块具体用于若所述最大支持宽高比字段的设置值不大于所述阈值,则产生全屏调节按钮并在所述 移动终端的任务栏中显示。Further, in an embodiment of the present invention, the first generation module is specifically configured to generate a full-screen adjustment button and set the full-screen adjustment button on the mobile terminal if the setting value of the maximum supported aspect ratio field is not greater than the threshold. Appears in the taskbar.
进一步地,在本发明的一个实施例中,所述装置还包括:Further, in an embodiment of the present invention, the apparatus further includes:
第三判断模块,用于判断是否在预设时间内接收到响应于所述全屏调节按钮的点击信号;A third determination module, configured to determine whether a click signal is received in response to the full-screen adjustment button within a preset time;
所述第二产生模块具体用于若所述第三判断模块判断到在预设时间内接收到响应于所述全屏调节按钮的点击信号,产生提示信息并显示,所述提示信息用于指示用户是否进行全屏调节。The second generation module is specifically configured to generate and display a prompt message if the third judgment module determines that a click signal in response to the full-screen adjustment button is received within a preset time, and the prompt information is used to instruct a user Whether to make full screen adjustments.
进一步地,在本发明的一个实施例中,所述装置还包括:Further, in an embodiment of the present invention, the apparatus further includes:
第二显示模块,用于若所述第三判断模块判断到未在预设时间内接收到响应于所述全屏调节按钮的点击信号,则直接显示所述应用程序的界面。The second display module is configured to directly display the interface of the application program if the third judgment module determines that a click signal in response to the full-screen adjustment button is not received within a preset time.
进一步地,在本发明的一个实施例中,所述装置还包括:Further, in an embodiment of the present invention, the apparatus further includes:
第三显示模块,用于若所述最大支持宽高比字段的设置值大于所述阈值,则直接显示所述应用程序的界面。A third display module is configured to directly display an interface of the application program if a setting value of the maximum supported aspect ratio field is greater than the threshold.
进一步地,在本发明的一个实施例中,所述阈值为1.778f,其中,f为浮点数。Further, in an embodiment of the present invention, the threshold value is 1.778f, where f is a floating point number.
本发明的另一个实施例还提出一种可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述方法的步骤。Another embodiment of the present invention also provides a readable storage medium having stored thereon a computer program that implements the steps of the foregoing method when the program is executed by a processor.
本发明的另一个实施例还提出一种移动终端,包括摄像头、存储器、处理器以及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现上述方法。Another embodiment of the present invention further provides a mobile terminal including a camera, a memory, a processor, and a computer program stored on the memory and executable on the processor, and the processor implements the foregoing method when the program is executed.
本发明的附加方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本发明的实施例了解到。Additional aspects and advantages of the present invention will be given in part in the following description, part of which will become apparent from the following description, or be learned through the embodiments of the present invention.
【附图说明】[Brief Description of the Drawings]
本发明实施例的上述和/或附加的方面和优点从结合下面附图对实施例的描述中将变得明显和容易理解,其中:The above and / or additional aspects and advantages of the embodiments of the present invention will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, wherein:
图1是根据本发明第一实施例的应用程序界面显示方法的流程图;1 is a flowchart of a method for displaying an application program interface according to a first embodiment of the present invention;
图2是根据本发明第二实施例的应用程序界面显示方法的流程图;2 is a flowchart of a method for displaying an application program interface according to a second embodiment of the present invention;
图3是根据本发明第三实施例的应用程序界面显示装置的结构示意图;3 is a schematic structural diagram of an application program interface display device according to a third embodiment of the present invention;
图4是根据本发明第四实施例的应用程序界面显示装置的结构示意图;4 is a schematic structural diagram of an application program interface display device according to a fourth embodiment of the present invention;
图5是根据本发明第六实施例的移动终端的结构示意图。FIG. 5 is a schematic structural diagram of a mobile terminal according to a sixth embodiment of the present invention.
【具体实施方式】【detailed description】
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part, but not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
请参阅图1,本发明第一实施例提出的应用程序界面显示方法,应用于移动终端,所述方法包括:Referring to FIG. 1, a method for displaying an application program interface according to a first embodiment of the present invention is applied to a mobile terminal. The method includes:
S101,获取应用程序的配置文件;S101. Obtain a configuration file of an application.
其中,所述移动终端可以是手机或平板电脑等终端设备,本实施例中,所述移动终端以手机为例进行说明。手机可以为具有IOS或者Android***的智能手机。The mobile terminal may be a terminal device such as a mobile phone or a tablet computer. In this embodiment, the mobile terminal is described by using a mobile phone as an example. The mobile phone can be a smart phone with an IOS or Android system.
应用程序可以是手机上的新闻、音乐等应用程序(APP),也可以游戏类的等应用程序(APP)。对于手机上安装的应用创新,都会存在一个相应的配置文件,例如是应用程序的meta-data文件,在Android***中,meta-data用在AndroidManifest.xml文件中。<meta-data>标签是提供组件额外的数据用的,它本身就是一个键值对(Bundle),可以自定义名称和值(value或resource)。The application may be an application (APP) such as news and music on a mobile phone, or an application (APP) such as a game. For application innovations installed on mobile phones, there will be a corresponding configuration file, such as the application's meta-data file. In the Android system, meta-data is used in the AndroidManifest.xml file. The <meta-data> tag is used to provide additional data for the component. It is itself a key-value pair (Bundle), and you can customize the name and value (value or resource).
S102,判断所述配置文件中是否存在最大支持宽高比字段;S102. Determine whether there is a maximum supported aspect ratio field in the configuration file;
其中,最大支持宽高比字段例如是max_aspect字段,会判断应用程序的meta-data文件中是否存在max_aspect字段,具体的,可以判断是否存在<meta-data android:name="android.max_aspect",max_aspect字段用于表示该应用程序的显示界面最大支持宽高比。Among them, the maximum supported aspect ratio field is, for example, the max_aspect field, which determines whether the max_aspect field exists in the application's meta-data file. Specifically, it can be determined whether there is <meta-dataandroid: name = "android.max_aspect", max_aspect The field is used to indicate that the application's display interface supports the largest aspect ratio.
S103,若所述配置文件中不存在所述最大支持宽高比字段或存在的所述最大支持宽高比字段的设置值不大于一阈值,则根据所述移动终端的显示分辨率调整所述应用程序的界面的显示比例;S103. If the maximum supported aspect ratio field does not exist in the configuration file or the set value of the maximum supported aspect ratio field does not exceed a threshold, adjust the mobile terminal according to the display resolution of the mobile terminal. The display scale of the application's interface;
其中,若应用程序的meta-data文件中不存在max_aspect字段,说明该应用程序的显示比例只支持传统的16:9的显示比例,不支持18:9,19:9等全面屏的显示比例。同样,若应用程序的meta-data文件中虽然存在max_aspect字段,但存在的max_aspect字段的设置值不大于一阈值,该阈值例如是1.778f(传统的16:9的显示比例对应的最大支持宽高比字段的设置值为1.778f),其中,f为浮点数,即如果存在的max_aspect字段的设置值小于或等于1.778f,则表明该应 用程序的显示比例只支持传统的16:9的显示比例,不支持18:9,19:9等全面屏的显示比例。相反,若应用程序的meta-data文件中存在max_aspect字段,且存在的max_aspect字段的设置值大于1.778f,则说明该应用程序的显示比例支持大于16:9的显示比例,也即支持18:9,19:9等全面屏的显示比例。Among them, if the max_aspect field does not exist in the application's meta-data file, it means that the display ratio of the application only supports the traditional 16: 9 display ratio, and does not support the full screen display ratios such as 18: 9, 19: 9. Similarly, if the max_aspect field exists in the application's meta-data file, the set value of the existing max_aspect field is not greater than a threshold, such as 1.778f (the maximum supported width and height corresponding to the traditional 16: 9 display ratio The setting value of the ratio field is 1.778f), where f is a floating point number, that is, if the setting value of the existing max_aspect field is less than or equal to 1.778f, it means that the application's display ratio only supports the traditional 16: 9 display ratio , Does not support the display ratio of 18: 9, 19: 9 and other full screen. On the contrary, if the max_aspect field exists in the application's meta-data file and the set value of the existing max_aspect field is greater than 1.778f, it means that the display ratio of the application supports a display ratio greater than 16: 9, that is, 18: 9 , 19: 9 and other full screen display ratio.
S103,若所述配置文件中不存在所述最大支持宽高比字段或存在的所述最大支持宽高比字段的设置值不大于一阈值,则根据所述移动终端的显示分辨率调整所述应用程序的界面的显示比例;S103. If the maximum supported aspect ratio field does not exist in the configuration file or the set value of the maximum supported aspect ratio field does not exceed a threshold, adjust the mobile terminal according to the display resolution of the mobile terminal. The display scale of the application's interface;
其中,若应用程序的meta-data文件中不存在max_aspect字段,或存在的max_aspect字段的设置值小于或等于1.778f,则会根据移动终端的显示分辨率调整该应用程序的界面的显示比例。具体的,可以先获取该移动终端的显示分辨率,然后按照获取到的移动终端的显示分辨率对应用程序的界面的显示比例进行调节、缩放,保证该应用程序的界面的显示比例与移动终端的显示分辨率一致,从而避免应用程序的界面越界情况的出现。If the max_aspect field does not exist in the application's meta-data file or the set value of the existing max_aspect field is less than or equal to 1.778f, the display ratio of the interface of the application will be adjusted according to the display resolution of the mobile terminal. Specifically, the display resolution of the mobile terminal can be obtained first, and then the display ratio of the interface of the application program can be adjusted and scaled according to the obtained display resolution of the mobile terminal to ensure that the display ratio of the interface of the application program and the mobile terminal The display resolution is the same, thus avoiding the out-of-bounds situation of the application interface.
此外,需要指出的是,对于应用程序的meta-data文件中存在max_aspect字段,且存在的max_aspect字段的设置值大于1.778f,说明该应用程序的显示比例支持大于16:9的显示比例,也即支持18:9,19:9等全面屏的显示比例,因此无需对应用程序的界面的显示比例进行调节,直接显示该应用程序的界面即可。In addition, it should be noted that for the application's meta-data file, the max_aspect field exists and the set value of the existing max_aspect field is greater than 1.778f, indicating that the application's display ratio supports a display ratio greater than 16: 9, that is, Supports full screen display ratios such as 18: 9, 19: 9, etc. Therefore, there is no need to adjust the display ratio of the interface of the application, and the interface of the application can be directly displayed.
S104,显示调整后的所述应用程序的界面。S104. Display the adjusted interface of the application.
其中,对调整后的应用程序的界面进行显示,保证用户直接操作的应用程序的界面不会出现越界的情况。The interface of the adjusted application is displayed to ensure that the interface of the application directly operated by the user does not cross the boundary.
根据本实施例的应用程序界面显示方法,首先通过获取应用程序的配置文件,然后判断该配置文件中是否存在最大支持宽高比字段,如果配置文件中不存在最大支持宽高比字段或存在的最大支持宽高比字段的设置值不大于一阈值,则说明该应用程序不支持全屏显示的要求,对于这种情况,会根据移动终端的显示分辨率调整该应用程序的界面的显示比例,使应用程序的界面的显示比例与移动终端的显示分辨率保持一致,从而保证在全面屏的移动终端中,不会出现应用程序的界面显示不全的问题,避免应用程序的界面越界情况的出现,提升了用户的使用体验。According to the method for displaying an application program interface in this embodiment, first obtain an application configuration file, and then determine whether there is a maximum supported aspect ratio field in the configuration file. If there is no maximum supported aspect ratio field or one that exists in the configuration file, The value of the maximum supported aspect ratio field is not greater than a threshold value, which means that the application does not support the requirement of full screen display. In this case, the display ratio of the interface of the application will be adjusted according to the display resolution of the mobile terminal so that The display ratio of the interface of the application program is consistent with the display resolution of the mobile terminal, thereby ensuring that the problem of incomplete display of the application interface does not occur in the full-screen mobile terminal. User experience.
请参阅图2,本发明第二实施例提出的应用程序界面显示方法,应用于移动终端,所述方法包括:Referring to FIG. 2, a method for displaying an application program interface according to a second embodiment of the present invention is applied to a mobile terminal. The method includes:
S201,获取应用程序的配置文件;S201. Obtain a configuration file of an application.
其中,所述移动终端可以是手机或平板电脑等终端设备,本实施例中,所述移动终端仍以手机为例进行说明。应用程序可以是手机上的新闻、音乐等应用程序(APP),也可以游戏类的等应用程序(APP)。对于手机上安装的应用创新,都会存在一个相应的配置文件,例如是应用程序的meta-data文件。The mobile terminal may be a terminal device such as a mobile phone or a tablet computer. In this embodiment, the mobile terminal is still described by using a mobile phone as an example. The application may be an application (APP) such as news and music on a mobile phone, or an application (APP) such as a game. For application innovations installed on mobile phones, there will be a corresponding configuration file, such as the application's meta-data file.
S202,判断所述配置文件中是否存在最大支持宽高比字段;S202. Determine whether there is a maximum supported aspect ratio field in the configuration file;
其中,最大支持宽高比字段例如是max_aspect字段,会判断应用程序的meta-data文件中是否存在max_aspect字段,具体的,可以判断是否存在<meta-data android:name="android.max_aspect",max_aspect字段用于表示该应用程序的显示界面最大支持宽高比。Among them, the maximum supported aspect ratio field is, for example, the max_aspect field, which determines whether the max_aspect field exists in the application's meta-data file. Specifically, it can be determined whether there is <meta-dataandroid: name = "android.max_aspect", max_aspect The field is used to indicate that the application's display interface supports the largest aspect ratio.
S203,若所述配置文件中存在所述最大支持宽高比字段,则判断所述最大支持宽高比字段的设置值是否不大于阈值;S203. If the maximum supported aspect ratio field exists in the configuration file, determine whether a setting value of the maximum supported aspect ratio field is not greater than a threshold value;
其中,阈值例如是1.778f(传统的16:9的显示比例对应的最大支持宽高比字段的设置值为1.778f),若应用程序的meta-data文件存在max_aspect字段,则会判断存在的max_aspect字段的设置值小于或等于1.778f,若是,则表明该应用程序的显示比例只支持传统的16:9的显示比例,不支持18:9,19:9等全面屏的显示比例。The threshold is, for example, 1.778f (the value of the maximum supported aspect ratio field corresponding to the traditional 16: 9 display ratio is 1.778f). If the application's meta-data file has a max_aspect field, it will determine the existence of max_aspect The setting value of the field is less than or equal to 1.778f. If it is, it indicates that the application's display ratio only supports the traditional 16: 9 display ratio, and does not support the full-screen display ratios such as 18: 9 and 19: 9.
S204,若所述最大支持宽高比字段的设置值不大于所述阈值,则产生全屏调节按钮并显示;S204. If the setting value of the maximum supported aspect ratio field is not greater than the threshold, a full-screen adjustment button is generated and displayed;
其中,具体可以在移动终端的任务栏中显示该全屏调节按钮,全屏调节按钮可以位于对应的应用程序的显示框的上方或下方,该全屏调节按钮用于提供给用户是否需要进行全屏显示的调节。Specifically, the full-screen adjustment button can be displayed in the task bar of the mobile terminal. The full-screen adjustment button can be located above or below the display frame of the corresponding application. The full-screen adjustment button is used to provide the user with the need to adjust the full-screen display. .
S205,当接收到响应于所述全屏调节按钮的点击信号时,产生提示信息并显示,所述提示信息用于指示用户是否进行全屏调节;S205. When a click signal is received in response to the full-screen adjustment button, prompt information is generated and displayed, where the prompt information is used to indicate whether the user performs full-screen adjustment;
其中,具体实施时,为了提升交互的可靠性,提升交互效率,可以判断是否在预设时间内(例如3s内)接收到响应于所述全屏调节按钮的点击信号。Among them, in order to improve the reliability of the interaction and the efficiency of the interaction during the specific implementation, it may be determined whether a click signal is received in response to the full-screen adjustment button within a preset time (for example, within 3s).
若在3s内接收到响应于所述全屏调节按钮的点击信号,则产生提示信息并显示,所述提示信息用于指示用户是否进行全屏调节,该提示信息可以以对话框的形式呈现,对话框中提供“是”以及“否”两个选项供用户选择。If a click signal in response to the full-screen adjustment button is received within 3s, a prompt message is generated and displayed, and the prompt information is used to indicate whether the user performs full-screen adjustment. The prompt information may be presented in the form of a dialog box. "Yes" and "No" are provided for users to choose.
具体的,若未在3s内接收到响应于所述全屏调节按钮的点击信号,则说明用户不需要进行全屏显示,因此会直接显示所述应用程序的界面。Specifically, if a click signal in response to the full-screen adjustment button is not received within 3s, it means that the user does not need to perform full-screen display, and therefore the interface of the application program is directly displayed.
S206,当接收到响应于所述选择界面而产生的确认指令时,根据所述移动 终端的显示分辨率调整所述应用程序的界面的显示比例;S206. When a confirmation instruction generated in response to the selection interface is received, adjust the display ratio of the interface of the application program according to the display resolution of the mobile terminal;
其中,若用户选择“是”,则表明用户需要对应用程序的界面进行调节,希望进行全屏显示,因此会根据移动终端的显示分辨率调整应用程序的界面的显示比例。可以理解的,若接收到响应于所述选择界面而产生的否定指令时,即用户选择“否”,则说明用户不需要进行全屏显示,会直接显示所述应用程序的界面。Among them, if the user selects "Yes", it means that the user needs to adjust the interface of the application program and wants to display it in full screen, so the display ratio of the interface of the application program will be adjusted according to the display resolution of the mobile terminal. It can be understood that if a negative instruction generated in response to the selection interface is received, that is, the user selects "No", it means that the user does not need to perform a full-screen display and directly displays the interface of the application program.
S207,显示调整后的所述应用程序的界面。S207: Display the interface of the application after adjustment.
本实施例提供的方法在第一实施例的基础上,除了具备第一实施例的效果外,优化了与用户进行交互的过程,提高了交互的直观度、可靠性以及效率,能够进一步提升用户的使用体验。In addition to the effects of the first embodiment, the method provided in this embodiment optimizes the process of interacting with the user, improves the intuitiveness, reliability, and efficiency of the interaction, and can further improve the user. Experience.
需要说明是,本实施例重点说明的是与上一实施例的不同之处,各个实施例之间相同相似的部分未重复描述,可以相互参见。It should be noted that this embodiment focuses on the differences from the previous embodiment. The same or similar parts between the embodiments are not described repeatedly and can be referred to each other.
请参阅图3,基于同一发明构思,本发明第三实施例提出一种应用程序界面显示装置,应用于移动终端,所述装置包括:Referring to FIG. 3, based on the same inventive concept, a third embodiment of the present invention proposes an application program interface display device applied to a mobile terminal. The device includes:
获取模块10,用于获取应用程序的配置文件;An obtaining module 10, configured to obtain a configuration file of an application program;
第一判断模块20,用于判断所述配置文件中是否存在最大支持宽高比字段。The first determining module 20 is configured to determine whether a maximum supported aspect ratio field exists in the configuration file.
调整模块30,用于若所述配置文件中不存在所述最大支持宽高比字段或存在的所述最大支持宽高比字段的设置值不大于一阈值,则根据所述移动终端的显示分辨率调整所述应用程序的界面的显示比例。The adjusting module 30 is configured to, if the maximum supported aspect ratio field does not exist in the configuration file or the set value of the maximum supported aspect ratio field exists is not greater than a threshold, the resolution is determined according to the display of the mobile terminal. Rate to adjust the display scale of the application's interface.
第一显示模块40,用于显示调整后的所述应用程序的界面。The first display module 40 is configured to display an interface of the application after adjustment.
根据本实施例的应用程序界面显示装置,首先通过获取模块10获取应用程序的配置文件,然后第一判断模块20判断该配置文件中是否存在最大支持宽高比字段,如果配置文件中不存在最大支持宽高比字段或存在的最大支持宽高比字段的设置值不大于一阈值,则说明该应用程序不支持全屏显示的要求,对于这种情况,调整模块30会根据移动终端的显示分辨率调整该应用程序的界面的显示比例,使应用程序的界面的显示比例与移动终端的显示分辨率保持一致,从而保证在全面屏的移动终端中,不会出现应用程序的界面显示不全的问题,避免应用程序的界面越界情况的出现,提升了用户的使用体验。According to the application program interface display device of this embodiment, a configuration file of an application program is first obtained through the acquisition module 10, and then the first determination module 20 determines whether a maximum supported aspect ratio field exists in the configuration file. The setting value that supports the aspect ratio field or the maximum supported aspect ratio field that is not greater than a threshold value indicates that the application does not support the requirement of full-screen display. In this case, the adjustment module 30 will adjust the display resolution of the mobile terminal according to Adjust the display ratio of the interface of the application to make the display ratio of the interface of the application consistent with the display resolution of the mobile terminal, so as to ensure that the problem of incomplete display of the interface of the application does not occur in a full-screen mobile terminal Avoiding cross-boundary of the interface of the application, which improves the user experience.
请参阅图4,基于同一发明构思,本发明第四实施例提出一种应用程序界面显示装置,应用于移动终端,所述装置包括:Referring to FIG. 4, based on the same inventive concept, a fourth embodiment of the present invention proposes an application program interface display device applied to a mobile terminal. The device includes:
获取模块10,用于获取应用程序的配置文件;An obtaining module 10, configured to obtain a configuration file of an application program;
第一判断模块20,用于判断所述配置文件中是否存在最大支持宽高比字段。The first determining module 20 is configured to determine whether a maximum supported aspect ratio field exists in the configuration file.
调整模块30,用于若所述配置文件中不存在所述最大支持宽高比字段或存在的所述最大支持宽高比字段的设置值不大于一阈值,则根据所述移动终端的显示分辨率调整所述应用程序的界面的显示比例。The adjusting module 30 is configured to, if the maximum supported aspect ratio field does not exist in the configuration file or the set value of the maximum supported aspect ratio field exists is not greater than a threshold, the resolution is determined according to the display of the mobile terminal. Rate to adjust the display scale of the application's interface.
第一显示模块40,用于显示调整后的所述应用程序的界面。The first display module 40 is configured to display an interface of the application after adjustment.
本实施例中,所述装置还包括:In this embodiment, the device further includes:
第二判断模块50,用于若所述配置文件中存在所述最大支持宽高比字段,则判断所述最大支持宽高比字段的设置值是否不大于所述阈值;A second determining module 50, configured to determine whether a setting value of the maximum supported aspect ratio field is not greater than the threshold if the maximum supported aspect ratio field exists in the configuration file;
第一产生模块60,用于若所述最大支持宽高比字段的设置值不大于所述阈值,则产生全屏调节按钮并显示;A first generation module 60 is configured to generate a full-screen adjustment button and display it if the setting value of the maximum supported aspect ratio field is not greater than the threshold;
第二产生模块70,用于当接收到响应于所述全屏调节按钮的点击信号时,产生提示信息并显示,所述提示信息用于指示用户是否进行全屏调节;The second generating module 70 is configured to generate and display prompt information when a click signal is received in response to the full-screen adjustment button, and the prompt information is used to indicate whether the user performs full-screen adjustment;
所述调整模块30还用于当接收到响应于所述选择界面而产生的确认指令时,根据所述移动终端的显示分辨率调整所述应用程序的界面的显示比例。The adjusting module 30 is further configured to adjust a display ratio of the interface of the application program according to a display resolution of the mobile terminal when a confirmation instruction generated in response to the selection interface is received.
本实施例中,所述第一产生模块60具体用于若所述最大支持宽高比字段的设置值不大于所述阈值,则产生全屏调节按钮并在所述移动终端的任务栏中显示。In this embodiment, the first generating module 60 is specifically configured to generate a full-screen adjustment button and display it in a task bar of the mobile terminal if a setting value of the maximum supported aspect ratio field is not greater than the threshold.
本实施例中,所述装置还包括:In this embodiment, the device further includes:
第三判断模块80,用于判断是否在预设时间内接收到响应于所述全屏调节按钮的点击信号;A third determination module 80, configured to determine whether a click signal is received in response to the full-screen adjustment button within a preset time;
所述第二产生模块70具体用于若所述第三判断模块80判断到在预设时间内接收到响应于所述全屏调节按钮的点击信号,产生提示信息并显示,所述提示信息用于指示用户是否进行全屏调节。The second generation module 70 is specifically configured to generate and display prompt information if the third determination module 80 determines that a click signal in response to the full-screen adjustment button is received within a preset time, and the prompt information is used for Indicates whether the user makes full-screen adjustments.
本实施例中,所述装置还包括:In this embodiment, the device further includes:
第二显示模块90,用于若所述第三判断模块80判断到未在预设时间内接收到响应于所述全屏调节按钮的点击信号,则直接显示所述应用程序的界面。The second display module 90 is configured to directly display the interface of the application program if the third determination module 80 determines that a click signal in response to the full-screen adjustment button is not received within a preset time.
本实施例中,所述装置还包括:In this embodiment, the device further includes:
第三显示模块100,用于若所述最大支持宽高比字段的设置值大于所述阈值,则直接显示所述应用程序的界面。The third display module 100 is configured to directly display an interface of the application program if a setting value of the maximum supported aspect ratio field is greater than the threshold.
本实施例中,所述阈值为1.778f,其中,f为浮点数。In this embodiment, the threshold is 1.778f, where f is a floating point number.
本实施例提出的应用程序界面显示装置的技术特征和技术效果与本发明第 二实施例提出的方法相同,在此不予赘述。The technical features and technical effects of the application program interface display device provided in this embodiment are the same as those of the method provided in the second embodiment of the present invention, and details are not described herein.
本发明第五实施例提供了一种可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述各方法实施例的步骤。A fifth embodiment of the present invention provides a readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps of the foregoing method embodiments are implemented.
本发明第六实施例提供了一种移动终端,该移动终端包括存储器以及处理器,存储器用于存储支持处理器执行前述实施例所提供的应用程序提速方法的程序,处理器被配置为用于执行存储器中存储的程序。该移动终端还可以包括通信接口,用于与其他设备或通信网络通信。该移动终端可以为包括手机、平板电脑、PDA(Personal Digital Assistant,个人数字助理)、车载电脑等任意终端设备。A sixth embodiment of the present invention provides a mobile terminal. The mobile terminal includes a memory and a processor. The memory is configured to store a program that supports the processor to execute the application program speed-up method provided by the foregoing embodiment. The processor is configured to: Execute the program stored in the memory. The mobile terminal may further include a communication interface for communicating with other devices or a communication network. The mobile terminal may be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), and a vehicle-mounted computer.
如图5所示的本发明第六实施例提供的移动终端的结构示意图。参考图5,该移动终端包括:摄像头、射频(Radio Frequency,RF)电路1210、存储器1220、输入单元1230、显示单元1240、传感器1250、音频电路1260、无线保真(Wireless Fidelity,WiFi)模块1270、处理器1280、以及电源1290等部件。本领域技术人员可以理解,图5中示出的移动终端结构并不构成对移动终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。下面结合图5对本实施例的移动终端的各个构成部件进行具体的介绍:FIG. 5 is a schematic structural diagram of a mobile terminal according to a sixth embodiment of the present invention. Referring to FIG. 5, the mobile terminal includes a camera, a radio frequency (RF) circuit 1210, a memory 1220, an input unit 1230, a display unit 1240, a sensor 1250, an audio circuit 1260, and a wireless fidelity (WiFi) module 1270. , Processor 1280, and power supply 1290. Those skilled in the art can understand that the structure of the mobile terminal shown in FIG. 5 does not constitute a limitation on the mobile terminal, and may include more or fewer components than shown in the figure, or combine certain components, or arrange different components. Each component of the mobile terminal in this embodiment is specifically described below with reference to FIG. 5:
RF电路1210可用于收发信息过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给处理器1280处理;另外,将设计上行的数据发送给基站。通常,RF电路1210包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。此外,RF电路1210还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯***(Global System of Mobile communication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE)、电子邮件、短消息服务(Short Messaging Service,SMS)等。The RF circuit 1210 can be used for receiving and sending signals during the process of transmitting and receiving information. In particular, the downlink information of the base station is received and processed by the processor 1280; in addition, the uplink data of the design is transmitted to the base station. Generally, the RF circuit 1210 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuit 1210 can also communicate with a network and other devices through wireless communication. The above wireless communication can use any communication standard or protocol, including, but not limited to, Global System of Mobile (GSM), General Packet Radio Service (GPRS), and Code Division Multiple Access Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), E-mail, Short Messaging Service (SMS), etc.
存储器1220可用于存储软件程序以及模块,处理器1280通过运行存储在存储器1220的软件程序以及模块,从而执行移动终端的各种功能应用以及数据处理。存储器1220可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作***、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、 电话本等)等。此外,存储器1220可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 1220 can be used to store software programs and modules. The processor 1280 executes various functional applications and data processing of the mobile terminal by running the software programs and modules stored in the memory 1220. The memory 1220 may mainly include a storage program area and a storage data area, where the storage program area may store an operating system, at least one application required by a function (such as a sound playback function, an image playback function, etc.), etc .; the storage data area may store data according to Data (such as audio data, phone book, etc.) created by the use of the mobile phone. In addition, the memory 1220 may include a high-speed random access memory, and may further include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
输入单元1230可用于接收输入的数字或字符信息,以及产生与移动终端的用户设置以及功能控制有关的键信号输入。具体地,输入单元1230可包括触控面板1231以及其他输入设备1232。触控面板1231,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1231上或在触控面板1231附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板1231可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器1280,并能接收处理器1280发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1231。除了触控面板1231,输入单元1230还可以包括其他输入设备1232。具体地,其他输入设备1232可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The input unit 1230 may be used to receive inputted numeric or character information, and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the input unit 1230 may include a touch panel 1231 and other input devices 1232. The touch panel 1231, also known as a touch screen, can collect user's touch operations on or near it (such as the user using a finger, stylus, etc. any suitable object or accessory on the touch panel 1231 or near the touch panel 1231 Operation), and drive the corresponding connection device according to a preset program. Optionally, the touch panel 1231 may include a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch position, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into contact coordinates, and sends it To the processor 1280, and can receive the command sent by the processor 1280 and execute it. In addition, various types such as resistive, capacitive, infrared, and surface acoustic wave can be used to implement the touch panel 1231. In addition to the touch panel 1231, the input unit 1230 may also include other input devices 1232. Specifically, the other input devices 1232 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, an operation lever, and the like.
显示单元1240可用于显示由用户输入的信息或提供给用户的信息以及移动终端的各种菜单。显示单元1240可包括显示面板1241,可选的,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板1241。进一步的,触控面板1231可覆盖显示面板1241,当触控面板1231检测到在其上或附近的触摸操作后,传送给处理器1280以确定触摸事件的类型,随后处理器1280根据触摸事件的类型在显示面板1241上提供相应的视觉输出。虽然在图5中,触控面板1231与显示面板1241是作为两个独立的部件来实现手机的输入和输入功能,但是在某些实施例中,可以将触控面板1231与显示面板1241集成而实现手机的输入和输出功能。The display unit 1240 may be used to display information input by the user or information provided to the user and various menus of the mobile terminal. The display unit 1240 may include a display panel 1241. Optionally, the display panel 1241 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like. Further, the touch panel 1231 may cover the display panel 1241. After the touch panel 1231 detects a touch operation on or near the touch panel 1231, the touch panel 1231 transmits the touch operation to the processor 1280 to determine the type of the touch event. The type provides corresponding visual output on the display panel 1241. Although in FIG. 5, the touch panel 1231 and the display panel 1241 are implemented as two independent components to implement the input and input functions of the mobile phone, in some embodiments, the touch panel 1231 and the display panel 1241 can be integrated and Realize the input and output functions of mobile phones.
移动终端还可包括至少一种传感器1250,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1241的亮度。音频电路1260、扬声器1261,传声器1262可提供用户与移动终端之间的音频接口。音频电路 1260可将接收到的音频数据转换后的电信号,传输到扬声器1261,由扬声器1261转换为声音信号输出;另一方面,传声器1262将收集的声音信号转换为电信号,由音频电路1260接收后转换为音频数据,再将音频数据输出处理器1280处理后,经RF电路1210以发送给比如另一移动终端,或者将音频数据输出至存储器1220以便进一步处理。The mobile terminal may further include at least one sensor 1250, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 1241 according to the brightness of the ambient light. The audio circuit 1260, the speaker 1261, and the microphone 1262 can provide an audio interface between the user and the mobile terminal. The audio circuit 1260 may transmit the received electrical data converted electrical signals to the speaker 1261, which is converted into a sound signal output by the speaker 1261; on the other hand, the microphone 1262 converts the collected sound signal into an electrical signal, and the audio circuit 1260 After receiving, it is converted into audio data, and then the audio data output processor 1280 is processed and then sent to, for example, another mobile terminal via the RF circuit 1210, or the audio data is output to the memory 1220 for further processing.
WiFi属于短距离无线传输技术,移动终端通过WiFi模块1270可以为用户提供了无线的宽带互联网访问。虽然图5示出了WiFi模块1270,但是可以理解的是,其并不属于移动终端的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。WiFi is a short-range wireless transmission technology. The mobile terminal can provide users with wireless broadband Internet access through the WiFi module 1270. Although FIG. 5 shows the WiFi module 1270, it can be understood that it does not belong to the necessary configuration of the mobile terminal, and can be omitted as needed without changing the essence of the invention.
处理器1280是移动终端的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器1220内的软件程序和/或模块,以及调用存储在存储器1220内的数据,执行移动终端的各种功能和处理数据,从而对移动终端进行整体监控。可选的,处理器1280可包括一个或多个处理单元;优选的,处理器1280可集成应用处理器,应用处理器主要处理操作***、用户界面和应用程序等。处理器1280可以集成调制解调处理器,调制解调处理器也可以不集成到处理器1280中。The processor 1280 is a control center of the mobile terminal, and uses various interfaces and lines to connect various parts of the entire mobile phone. By running or executing software programs and / or modules stored in the memory 1220, and calling data stored in the memory 1220, Perform various functions of the mobile terminal and process data to perform overall monitoring of the mobile terminal. Optionally, the processor 1280 may include one or more processing units; preferably, the processor 1280 may integrate an application processor, and the application processor mainly processes an operating system, a user interface, and an application program. The processor 1280 may be integrated with a modem processor, or the modem processor may not be integrated into the processor 1280.
移动终端还包括给各个部件供电的电源1290(比如电池),优选的,电源可以通过电源管理***与处理器1280逻辑相连,从而通过电源管理***实现管理充电、放电、以及功耗管理等功能。尽管未示出,移动终端还可以包括第一摄像头、蓝牙模块等,在此不再赘述。The mobile terminal also includes a power source 1290 (such as a battery) for supplying power to various components. Preferably, the power source can be logically connected to the processor 1280 through the power management system, so as to implement functions such as managing charging, discharging, and power consumption management through the power management system. Although not shown, the mobile terminal may further include a first camera, a Bluetooth module, and the like, and details are not described herein again.
本发明实施例所提供的图片拍摄方法、装置、可读存储介质及移动终端,包括存储了程序代码的计算机可读存储介质,所述程序代码包括的指令可用于执行前面方法实施例中所述的方法,具体实现可参见方法实施例,在此不再赘述。The method, device, readable storage medium, and mobile terminal provided by the embodiment of the present invention include a computer-readable storage medium storing program code, and the program code includes instructions that can be used to execute the method described in the foregoing method embodiment. For the specific implementation of the method, refer to the method embodiment, and details are not described herein again.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM, Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially a part that contributes to the existing technology or a part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in various embodiments of the present invention. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disks or optical disks and other media that can store program codes .
最后应说明的是:以上所述实施例,仅为本发明的具体实施方式,用以说明本发明的技术方案,而非对其限制,本发明的保护范围并不局限于此,尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,其依然可以对前述实施例所记载的技术方案进行修改或可轻易想到变化,或者对其中部分技术特征进行等同替换;而这些修改、变化或者替换,并不使相应技术方案的本质脱离本发明实施例技术方案的精神和范围,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。Finally, it should be noted that the above-mentioned embodiments are only specific implementations of the present invention, and are used to illustrate the technical solutions of the present invention, but not to limit them. The scope of protection of the present invention is not limited to this, although referring to the foregoing The present invention has been described in detail in the embodiments. Those of ordinary skill in the art should understand that anyone skilled in the art can still modify the technical solutions described in the foregoing embodiments within the technical scope disclosed in the present invention. Or you can easily think of changes or equivalent replacements of some of the technical features; and these modifications, changes, or replacements do not deviate the essence of the corresponding technical solution from the spirit and scope of the technical solutions of the embodiments of the present invention, which should be covered in the present invention Within the scope of protection. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
本发明实施例还公开了:The embodiment of the invention also discloses:
A1、一种应用程序界面显示方法,应用于移动终端,所述方法包括:A1. An application program interface display method applied to a mobile terminal, the method includes:
获取应用程序的配置文件;Get the application's configuration file;
判断所述配置文件中是否存在最大支持宽高比字段;Determining whether there is a maximum supported aspect ratio field in the configuration file;
若所述配置文件中不存在所述最大支持宽高比字段或存在的所述最大支持宽高比字段的设置值不大于一阈值,则根据所述移动终端的显示分辨率调整所述应用程序的界面的显示比例;If the maximum supported aspect ratio field does not exist in the configuration file or the set value of the maximum supported aspect ratio field exists is not greater than a threshold value, adjusting the application program according to the display resolution of the mobile terminal The display scale of the interface;
显示调整后的所述应用程序的界面。Display the adjusted interface of the application.
A2、根据A1所述的应用程序界面显示方法,判断所述配置文件中是否存在最大支持宽高比字段的步骤之后,所述方法还包括:A2. According to the application program interface display method described in A1, after determining whether there is a maximum supported aspect ratio field in the configuration file, the method further includes:
若所述配置文件中存在所述最大支持宽高比字段,则判断所述最大支持宽高比字段的设置值是否不大于所述阈值;If the maximum supported aspect ratio field exists in the configuration file, determining whether a setting value of the maximum supported aspect ratio field is not greater than the threshold;
若所述最大支持宽高比字段的设置值不大于所述阈值,则产生全屏调节按钮并显示;If the setting value of the maximum supported aspect ratio field is not greater than the threshold value, a full-screen adjustment button is generated and displayed;
当接收到响应于所述全屏调节按钮的点击信号时,产生提示信息并显示,所述提示信息用于指示用户是否进行全屏调节;When a click signal is received in response to the full-screen adjustment button, prompt information is generated and displayed, and the prompt information is used to indicate whether the user performs full-screen adjustment;
当接收到响应于所述选择界面而产生的确认指令时,根据所述移动终端的显示分辨率调整所述应用程序的界面的显示比例;When receiving a confirmation instruction generated in response to the selection interface, adjusting a display ratio of the interface of the application according to a display resolution of the mobile terminal;
显示调整后的所述应用程序的界面。Display the adjusted interface of the application.
A3、根据A2所述的应用程序界面显示方法,判断所述最大支持宽高比字段的设置值是否不大于所述阈值的步骤之后,所述方法还包括:A3. According to the application program interface display method according to A2, after determining whether the setting value of the maximum supported aspect ratio field is not greater than the threshold, the method further includes:
若所述最大支持宽高比字段的设置值不大于所述阈值,则产生全屏调节按 钮并在所述移动终端的任务栏中显示。If the setting value of the maximum supported aspect ratio field is not greater than the threshold value, a full-screen adjustment button is generated and displayed in a task bar of the mobile terminal.
A4、根据A2所述的应用程序界面显示方法,若所述最大支持宽高比字段的设置值不大于所述阈值,则产生全屏调节按钮并显示的步骤之后,所述方法还包括:A4. According to the application program interface display method described in A2, if the setting value of the maximum supported aspect ratio field is not greater than the threshold value, after the steps of generating and displaying a full-screen adjustment button, the method further includes:
判断是否在预设时间内接收到响应于所述全屏调节按钮的点击信号;Determining whether a click signal is received in response to the full-screen adjustment button within a preset time;
若在预设时间内接收到响应于所述全屏调节按钮的点击信号,则产生提示信息并显示,所述提示信息用于指示用户是否进行全屏调节。If a click signal in response to the full-screen adjustment button is received within a preset time, a prompt message is generated and displayed, and the prompt information is used to indicate whether the user performs full-screen adjustment.
A5、根据A4所述的应用程序界面显示方法,判断是否在预设时间内接收到响应于所述全屏调节按钮的点击信号的步骤之后,所述方法还包括:A5. According to the application program interface display method described in A4, after determining whether a click signal in response to the full-screen adjustment button is received within a preset time, the method further includes:
若未在预设时间内接收到响应于所述全屏调节按钮的点击信号,则直接显示所述应用程序的界面。If a click signal in response to the full-screen adjustment button is not received within a preset time, an interface of the application program is directly displayed.
A6、根据A1所述的应用程序界面显示方法,判断所述配置文件中是否存在最大支持宽高比字段的步骤之后,所述方法还包括:A6. According to the application program interface display method described in A1, after determining whether there is a maximum supported aspect ratio field in the configuration file, the method further includes:
若所述配置文件中存在所述最大支持宽高比字段,则判断所述最大支持宽高比字段的设置值是否不大于所述阈值;If the maximum supported aspect ratio field exists in the configuration file, determining whether a setting value of the maximum supported aspect ratio field is not greater than the threshold;
若所述最大支持宽高比字段的设置值大于所述阈值,则直接显示所述应用程序的界面。If the setting value of the maximum supported aspect ratio field is greater than the threshold, the interface of the application program is directly displayed.
A7、根据A1所述的应用程序界面显示方法,所述阈值为1.778f,其中,f为浮点数。A7. The method for displaying an application program interface according to A1, wherein the threshold is 1.778f, where f is a floating point number.
B8、一种应用程序界面显示装置,应用于移动终端,所述装置包括:B8. An application program interface display device applied to a mobile terminal. The device includes:
获取模块,用于获取应用程序的配置文件;An acquisition module for acquiring a configuration file of an application;
第一判断模块,用于判断所述配置文件中是否存在最大支持宽高比字段;A first determining module, configured to determine whether a maximum supported aspect ratio field exists in the configuration file;
调整模块,用于若所述配置文件中不存在所述最大支持宽高比字段或存在的所述最大支持宽高比字段的设置值不大于一阈值,则根据所述移动终端的显示分辨率调整所述应用程序的界面的显示比例;An adjustment module, configured to: if the maximum supported aspect ratio field does not exist in the configuration file or the set value of the maximum supported aspect ratio field does not exceed a threshold, according to the display resolution of the mobile terminal Adjusting a display ratio of an interface of the application program;
第一显示模块,用于显示调整后的所述应用程序的界面。The first display module is configured to display the adjusted interface of the application program.
B9、根据B8所述的应用程序界面显示装置,所述装置还包括:B9. The application program interface display device according to B8, the device further comprising:
第二判断模块,用于若所述配置文件中存在所述最大支持宽高比字段,则判断所述最大支持宽高比字段的设置值是否不大于所述阈值;A second determining module, configured to determine whether a setting value of the maximum supported aspect ratio field is not greater than the threshold if the maximum supported aspect ratio field exists in the configuration file;
第一产生模块,用于若所述最大支持宽高比字段的设置值不大于所述阈值,则产生全屏调节按钮并显示;A first generation module, configured to generate a full-screen adjustment button and display it if the set value of the maximum supported aspect ratio field is not greater than the threshold;
第二产生模块,用于当接收到响应于所述全屏调节按钮的点击信号时,产生提示信息并显示,所述提示信息用于指示用户是否进行全屏调节;A second generating module, configured to generate and display prompt information when a click signal is received in response to the full-screen adjustment button, and the prompt information is used to indicate whether the user performs full-screen adjustment;
所述调整模块还用于当接收到响应于所述选择界面而产生的确认指令时,根据所述移动终端的显示分辨率调整所述应用程序的界面的显示比例。The adjustment module is further configured to adjust a display ratio of the interface of the application program according to a display resolution of the mobile terminal when a confirmation instruction generated in response to the selection interface is received.
B10、根据B9所述的应用程序界面显示装置,所述第一产生模块具体用于若所述最大支持宽高比字段的设置值不大于所述阈值,则产生全屏调节按钮并在所述移动终端的任务栏中显示。B10. The application program interface display device according to B9, wherein the first generation module is specifically configured to generate a full-screen adjustment button and move the mobile phone if a setting value of the maximum supported aspect ratio field is not greater than the threshold. Displayed in the taskbar of the terminal.
B11、根据B9所述的应用程序界面显示装置,所述装置还包括:B11. The application program interface display device according to B9, the device further comprising:
第三判断模块,用于判断是否在预设时间内接收到响应于所述全屏调节按钮的点击信号;A third determination module, configured to determine whether a click signal is received in response to the full-screen adjustment button within a preset time;
所述第二产生模块具体用于若所述第三判断模块判断到在预设时间内接收到响应于所述全屏调节按钮的点击信号,产生提示信息并显示,所述提示信息用于指示用户是否进行全屏调节。The second generation module is specifically configured to generate and display a prompt message if the third judgment module determines that a click signal in response to the full-screen adjustment button is received within a preset time, and the prompt information is used to instruct a user Whether to make full screen adjustments.
B12、根据B11所述的应用程序界面显示装置,所述装置还包括:B12. The application program interface display device according to B11, the device further comprising:
第二显示模块,用于若所述第三判断模块判断到未在预设时间内接收到响应于所述全屏调节按钮的点击信号,则直接显示所述应用程序的界面。The second display module is configured to directly display the interface of the application program if the third judgment module determines that a click signal in response to the full-screen adjustment button is not received within a preset time.
B13、根据B8所述的应用程序界面显示装置,所述装置还包括:B13. The application program interface display device according to B8, the device further comprising:
第三显示模块,用于若所述最大支持宽高比字段的设置值大于所述阈值,则直接显示所述应用程序的界面。A third display module is configured to directly display an interface of the application program if a setting value of the maximum supported aspect ratio field is greater than the threshold.
B14、根据B8所述的应用程序界面显示装置,所述阈值为1.778f,其中,f为浮点数。B14. The application program interface display device according to B8, the threshold value is 1.778f, where f is a floating point number.
C15、一种可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如A1-A7任意一项所述的方法。C15. A readable storage medium having stored thereon a computer program, which when executed by a processor implements the method according to any one of A1-A7.
D16、一种移动终端,包括摄像头、存储器、处理器以及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现如A1至A7任意一项所述的方法。D16. A mobile terminal, including a camera, a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the program, the processor implements any one of A1 to A7. method.

Claims (16)

  1. 一种应用程序界面显示方法,应用于移动终端,其中,所述方法包括:An application program interface display method is applied to a mobile terminal, wherein the method includes:
    获取应用程序的配置文件;Get the application's configuration file;
    判断所述配置文件中是否存在最大支持宽高比字段;Determining whether there is a maximum supported aspect ratio field in the configuration file;
    若所述配置文件中不存在所述最大支持宽高比字段或存在的所述最大支持宽高比字段的设置值不大于一阈值,则根据所述移动终端的显示分辨率调整所述应用程序的界面的显示比例;If the maximum supported aspect ratio field does not exist in the configuration file or the set value of the maximum supported aspect ratio field exists is not greater than a threshold value, adjusting the application program according to the display resolution of the mobile terminal The display scale of the interface;
    显示调整后的所述应用程序的界面。Display the adjusted interface of the application.
  2. 根据权利要求1所述的应用程序界面显示方法,其中,判断所述配置文件中是否存在最大支持宽高比字段的步骤之后,所述方法还包括:The method for displaying an application program interface according to claim 1, wherein after the step of determining whether there is a maximum supported aspect ratio field in the configuration file, the method further comprises:
    若所述配置文件中存在所述最大支持宽高比字段,则判断所述最大支持宽高比字段的设置值是否不大于所述阈值;If the maximum supported aspect ratio field exists in the configuration file, determining whether a setting value of the maximum supported aspect ratio field is not greater than the threshold;
    若所述最大支持宽高比字段的设置值不大于所述阈值,则产生全屏调节按钮并显示;If the setting value of the maximum supported aspect ratio field is not greater than the threshold value, a full-screen adjustment button is generated and displayed;
    当接收到响应于所述全屏调节按钮的点击信号时,产生提示信息并显示,所述提示信息用于指示用户是否进行全屏调节;When a click signal is received in response to the full-screen adjustment button, prompt information is generated and displayed, and the prompt information is used to indicate whether the user performs full-screen adjustment;
    当接收到响应于所述选择界面而产生的确认指令时,根据所述移动终端的显示分辨率调整所述应用程序的界面的显示比例;When receiving a confirmation instruction generated in response to the selection interface, adjusting a display ratio of the interface of the application according to a display resolution of the mobile terminal;
    显示调整后的所述应用程序的界面。Display the adjusted interface of the application.
  3. 根据权利要求2所述的应用程序界面显示方法,其中,判断所述最大支持宽高比字段的设置值是否不大于所述阈值的步骤之后,所述方法还包括:The method for displaying an application program interface according to claim 2, wherein after the step of determining whether a setting value of the maximum supported aspect ratio field is not greater than the threshold, the method further comprises:
    若所述最大支持宽高比字段的设置值不大于所述阈值,则产生全屏调节按钮并在所述移动终端的任务栏中显示。If the setting value of the maximum supported aspect ratio field is not greater than the threshold, a full-screen adjustment button is generated and displayed in a task bar of the mobile terminal.
  4. 根据权利要求2所述的应用程序界面显示方法,其中,若所述最大支持宽高比字段的设置值不大于所述阈值,则产生全屏调节按钮并显示的步骤之后,所述方法还包括:The method for displaying an application program interface according to claim 2, wherein if the setting value of the maximum supported aspect ratio field is not greater than the threshold value, after the step of generating and displaying a full-screen adjustment button, the method further comprises:
    判断是否在预设时间内接收到响应于所述全屏调节按钮的点击信号;Determining whether a click signal is received in response to the full-screen adjustment button within a preset time;
    若在预设时间内接收到响应于所述全屏调节按钮的点击信号,则产生提示信息并显示,所述提示信息用于指示用户是否进行全屏调节。If a click signal in response to the full-screen adjustment button is received within a preset time, a prompt message is generated and displayed, and the prompt information is used to indicate whether the user performs full-screen adjustment.
  5. 根据权利要求4所述的应用程序界面显示方法,其中,判断是否在预设 时间内接收到响应于所述全屏调节按钮的点击信号的步骤之后,所述方法还包括:The method for displaying an application program interface according to claim 4, wherein after the step of determining whether a click signal in response to the full-screen adjustment button is received within a preset time, the method further comprises:
    若未在预设时间内接收到响应于所述全屏调节按钮的点击信号,则直接显示所述应用程序的界面。If a click signal in response to the full-screen adjustment button is not received within a preset time, an interface of the application program is directly displayed.
  6. 根据权利要求1所述的应用程序界面显示方法,其中,判断所述配置文件中是否存在最大支持宽高比字段的步骤之后,所述方法还包括:The method for displaying an application program interface according to claim 1, wherein after the step of determining whether there is a maximum supported aspect ratio field in the configuration file, the method further comprises:
    若所述配置文件中存在所述最大支持宽高比字段,则判断所述最大支持宽高比字段的设置值是否不大于所述阈值;If the maximum supported aspect ratio field exists in the configuration file, determining whether a setting value of the maximum supported aspect ratio field is not greater than the threshold;
    若所述最大支持宽高比字段的设置值大于所述阈值,则直接显示所述应用程序的界面。If the setting value of the maximum supported aspect ratio field is greater than the threshold, the interface of the application program is directly displayed.
  7. 根据权利要求1所述的应用程序界面显示方法,其中,所述阈值为1.778f,其中,f为浮点数。The method for displaying an application program interface according to claim 1, wherein the threshold value is 1.778f, and f is a floating point number.
  8. 一种应用程序界面显示装置,应用于移动终端,其中,所述装置包括:An application program interface display device is applied to a mobile terminal, wherein the device includes:
    获取模块,用于获取应用程序的配置文件;An acquisition module for acquiring a configuration file of an application;
    第一判断模块,用于判断所述配置文件中是否存在最大支持宽高比字段;A first determining module, configured to determine whether a maximum supported aspect ratio field exists in the configuration file;
    调整模块,用于若所述配置文件中不存在所述最大支持宽高比字段或存在的所述最大支持宽高比字段的设置值不大于一阈值,则根据所述移动终端的显示分辨率调整所述应用程序的界面的显示比例;An adjustment module, configured to: if the maximum supported aspect ratio field does not exist in the configuration file or the set value of the maximum supported aspect ratio field does not exceed a threshold, according to the display resolution of the mobile terminal Adjusting a display ratio of an interface of the application program;
    第一显示模块,用于显示调整后的所述应用程序的界面。The first display module is configured to display the adjusted interface of the application program.
  9. 根据权利要求8所述的应用程序界面显示装置,其中,所述装置还包括:The device for displaying an application program interface according to claim 8, wherein the device further comprises:
    第二判断模块,用于若所述配置文件中存在所述最大支持宽高比字段,则判断所述最大支持宽高比字段的设置值是否不大于所述阈值;A second determining module, configured to determine whether a setting value of the maximum supported aspect ratio field is not greater than the threshold if the maximum supported aspect ratio field exists in the configuration file;
    第一产生模块,用于若所述最大支持宽高比字段的设置值不大于所述阈值,则产生全屏调节按钮并显示;A first generation module, configured to generate a full-screen adjustment button and display it if the set value of the maximum supported aspect ratio field is not greater than the threshold;
    第二产生模块,用于当接收到响应于所述全屏调节按钮的点击信号时,产生提示信息并显示,所述提示信息用于指示用户是否进行全屏调节;A second generating module, configured to generate and display prompt information when a click signal is received in response to the full-screen adjustment button, and the prompt information is used to indicate whether the user performs full-screen adjustment;
    所述调整模块还用于当接收到响应于所述选择界面而产生的确认指令时,根据所述移动终端的显示分辨率调整所述应用程序的界面的显示比例。The adjustment module is further configured to adjust a display ratio of the interface of the application program according to a display resolution of the mobile terminal when a confirmation instruction generated in response to the selection interface is received.
  10. 根据权利要求9所述的应用程序界面显示装置,其中,所述第一产生模块具体用于若所述最大支持宽高比字段的设置值不大于所述阈值,则产生全屏调节按钮并在所述移动终端的任务栏中显示。The application program interface display device according to claim 9, wherein the first generation module is specifically configured to generate a full-screen adjustment button and set a value of It is described in the task bar of the mobile terminal.
  11. 根据权利要求9所述的应用程序界面显示装置,其中,所述装置还包括:The apparatus for displaying an application program interface according to claim 9, wherein the apparatus further comprises:
    第三判断模块,用于判断是否在预设时间内接收到响应于所述全屏调节按钮的点击信号;A third determination module, configured to determine whether a click signal is received in response to the full-screen adjustment button within a preset time;
    所述第二产生模块具体用于若所述第三判断模块判断到在预设时间内接收到响应于所述全屏调节按钮的点击信号,产生提示信息并显示,所述提示信息用于指示用户是否进行全屏调节。The second generation module is specifically configured to generate and display a prompt message if the third judgment module determines that a click signal in response to the full-screen adjustment button is received within a preset time, and the prompt information is used to instruct a user Whether to make full screen adjustments.
  12. 根据权利要求11所述的应用程序界面显示装置,其中,所述装置还包括:The apparatus for displaying an application program interface according to claim 11, wherein the apparatus further comprises:
    第二显示模块,用于若所述第三判断模块判断到未在预设时间内接收到响应于所述全屏调节按钮的点击信号,则直接显示所述应用程序的界面。The second display module is configured to directly display the interface of the application program if the third judgment module determines that a click signal in response to the full-screen adjustment button is not received within a preset time.
  13. 根据权利要求8所述的应用程序界面显示装置,其中,所述装置还包括:The device for displaying an application program interface according to claim 8, wherein the device further comprises:
    第三显示模块,用于若所述最大支持宽高比字段的设置值大于所述阈值,则直接显示所述应用程序的界面。A third display module is configured to directly display an interface of the application program if a setting value of the maximum supported aspect ratio field is greater than the threshold.
  14. 根据权利要求8所述的应用程序界面显示装置,其中,所述阈值为1.778f,其中,f为浮点数。The application program interface display device according to claim 8, wherein the threshold value is 1.778f, and f is a floating point number.
  15. 一种可读存储介质,其上存储有计算机程序,其中,该程序被处理器执行时实现如权利要求1-7任意一项所述的方法。A readable storage medium having stored thereon a computer program, wherein when the program is executed by a processor, the method according to any one of claims 1-7 is implemented.
  16. 一种移动终端,包括摄像头、存储器、处理器以及存储在存储器上并可在处理器上运行的计算机程序,其中,所述处理器执行所述程序时实现如权利要求1至7任意一项所述的方法。A mobile terminal includes a camera, a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein when the processor executes the program, the device according to any one of claims 1 to 7 The method described.
PCT/CN2019/086998 2018-06-29 2019-05-15 Application program interface display method and device, readable storage medium, and mobile terminal WO2020001190A1 (en)

Applications Claiming Priority (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
CN201810714711.3 2018-06-29

Publications (1)

Publication Number Publication Date
WO2020001190A1 true WO2020001190A1 (en) 2020-01-02

Family

ID=64539942

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/086998 WO2020001190A1 (en) 2018-06-29 2019-05-15 Application program interface display method and device, readable storage medium, and mobile terminal

Country Status (2)

Country Link
CN (1) CN108984253A (en)
WO (1) WO2020001190A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111596878A (en) * 2020-05-13 2020-08-28 北京百度网讯科技有限公司 Screen projection method, device, equipment and storage medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108984253A (en) * 2018-06-29 2018-12-11 奇酷互联网络科技(深圳)有限公司 Application Program Interface display methods, device, readable storage medium storing program for executing and mobile terminal
CN110069311B (en) * 2019-04-24 2023-12-08 努比亚技术有限公司 Application window display method and device, mobile terminal and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
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
CN103927143A (en) * 2014-04-04 2014-07-16 福建星网视易信息***有限公司 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
CN107632874A (en) * 2017-09-05 2018-01-26 广东欧珀移动通信有限公司 interface display method, 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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105827833A (en) * 2016-03-22 2016-08-03 南京邮电大学 Percentage-based Android mobile phone screen adaption method

Patent Citations (5)

* Cited by examiner, † Cited by third party
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
CN103927143A (en) * 2014-04-04 2014-07-16 福建星网视易信息***有限公司 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
CN107632874A (en) * 2017-09-05 2018-01-26 广东欧珀移动通信有限公司 interface display method, 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

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111596878A (en) * 2020-05-13 2020-08-28 北京百度网讯科技有限公司 Screen projection method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN108984253A (en) 2018-12-11

Similar Documents

Publication Publication Date Title
US10649720B2 (en) Sound effect configuration method and system and related device
US10275295B2 (en) Method and apparatus for presenting clipboard contents on a mobile terminal
US10725646B2 (en) Method and apparatus for switching screen interface and terminal
WO2019001270A1 (en) Mobile terminal and split screen control method thereof, and computer readable storage medium
TW201519073A (en) Rapid response operation method of terminal device and terminal device
WO2014032611A1 (en) Desktop management method and device
WO2015078145A1 (en) Method and apparatus for enlarging display font
WO2020001193A1 (en) Gesture recognition method and apparatus, readable storage medium and mobile terminal
WO2020001190A1 (en) Application program interface display method and device, readable storage medium, and mobile terminal
WO2018049904A1 (en) Data migration method and related devices
WO2017206918A1 (en) Terminal awakening accelerating method and related product
WO2020010965A1 (en) Mobile terminal, and method and device for updating application thereof
CN109189303B (en) Text editing method and mobile terminal
TW201541337A (en) Method, device and system for displaying messages in mobile terminal
WO2018049902A1 (en) Data migration method and relevant device
WO2018049901A1 (en) Data migration method and related devices
AU2014405030A1 (en) Media file processing method and terminal
WO2015078349A1 (en) Microphone sound-reception status switching method and apparatus
CN108021298B (en) Method and device for pasting information by using shear plate
CN106371896B (en) Virutal machine memory configuration method and device, mobile terminal
CN110796438B (en) Message sending method and mobile terminal
WO2018072338A1 (en) Power management method and terminal device
WO2020010995A1 (en) Icon arrangement method and apparatus, and readable storage medium and mobile terminal
CN111142759A (en) Information sending method and electronic equipment
CN108170362B (en) Application running state control method and mobile terminal

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19827398

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19827398

Country of ref document: EP

Kind code of ref document: A1