CN109375967A - Application Program Interface display methods and device, mobile terminal and storage medium - Google Patents

Application Program Interface display methods and device, mobile terminal and storage medium Download PDF

Info

Publication number
CN109375967A
CN109375967A CN201810983030.7A CN201810983030A CN109375967A CN 109375967 A CN109375967 A CN 109375967A CN 201810983030 A CN201810983030 A CN 201810983030A CN 109375967 A CN109375967 A CN 109375967A
Authority
CN
China
Prior art keywords
application program
interface
code section
ratio
adjusted
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810983030.7A
Other languages
Chinese (zh)
Inventor
邓生金
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
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 Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN201810983030.7A priority Critical patent/CN109375967A/en
Publication of CN109375967A publication Critical patent/CN109375967A/en
Pending legal-status Critical Current

Links

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The disclosure is directed to a kind of application program display methods and device, mobile terminal and storage medium, the method comprise the steps that calling the preset first code section in the application program opened, the facility information for installing the terminal device of the application program is obtained by the first code section;Preset second code section in the application program is called, the screen resolution being adapted to by the second code section according to the interface of the facility information and the application program determines that interface adjusts ratio;Ratio is adjusted according to the interface, is shown after being adjusted to the interface to be shown of the application program.Pass through the application program display methods of the disclosure, an application program installation kit is only developed for each Application developer, development and application program installation kit is distinguished without the terminal device for each screen resolution, and capable of saving human resource development and exploitation institute, time-consuming.

Description

Application Program Interface display methods and device, mobile terminal and storage medium
Technical field
This disclosure relates to application-development technologies field more particularly to a kind of Application Program Interface display methods and dress It sets, mobile terminal and storage medium.
Background technique
Under present Android system overall situation, there is the terminal device of different screen resolutions in the market, such as 1080 × 1920 pixels, 720 × 1280 pixels, the terminal device of the screen resolutions such as 480 × 800 pixels.
Application developer needs the terminal for different resolution to set in the user interface of development and application program When the application program of the other developing user interface adaptation of back-up namely developer are intended to issue an application program, it need to be directed to various The terminal device of screen resolution develops an application program installation kit respectively.On the one hand it needs to spend a large amount of exploitation manpower money Source, time-consuming for another aspect application development.
As it can be seen that there is an urgent need to those skilled in the art to provide a kind of application program circle for being adapted to various screen resolutions at present Plane display method, so that the terminal that developer, which only develops an application program installation kit, can be adapted to various screen resolutions is set It is standby.
Summary of the invention
To overcome the problems in correlation technique, present disclose provides a kind of Application Program Interface display methods and dresses It sets, mobile terminal and storage medium.
According to the first aspect of the embodiments of the present disclosure, a kind of Application Program Interface display methods is provided, wherein the side Method includes: the preset first code section in the application program called and opened, and is obtained as the first code section and is answered described in installation With the facility information of the terminal device of program;Preset second code section in the application program is called, by the second code Screen resolution of the section according to the interface of the facility information and application program adaptation determines that interface adjusts ratio;Foundation The interface adjusts ratio, shows after being adjusted to the interface to be shown of the application program.
Optionally, described to call the application when the facility information includes the screen resolution of the terminal device Preset second code section in program is adapted to by the second code section according to the facility information and the Application Program Interface Screen resolution, determine that interface adjusts ratio, comprising: it is described to call preset second code section in the application program, by The second code section determines the screen resolution that the screen resolution of the terminal device is adapted to the Application Program Interface The ratio of the two;It is that the interface adjusts ratio by the ratio-dependent.
Optionally, ratio is adjusted according to the interface described, the interface to be shown of the application program is adjusted After showing afterwards, the method also includes: receive adjustment operation of the user to the display parameters at shown interface;It will be adjusted The display parameters report to server, so that the display ginseng adjusted that the server is reported according to each terminal device Several interface adjustment proportional algorithms in the second code section are adjusted.
Optionally, the display parameters include: font model and/or screen density.
According to the second aspect of an embodiment of the present disclosure, a kind of Application Program Interface display device is provided, wherein described device Include: the first calling module, is configured as calling the preset first code section in the application program opened, by the first generation Code section obtains the facility information for installing the terminal device of the application program;Second calling module is configured as answering described in calling Interface with second code section preset in program, by the second code section according to the facility information and the application program The screen resolution of adaptation determines that interface adjusts ratio;Module is adjusted, is configured as adjusting ratio according to the interface, to institute State application program interface to be shown be adjusted after show.
Optionally, second calling module includes: calling submodule, is configured as described call in the application program Preset second code section, by the second code section determine the terminal device screen resolution and application program circle The ratio of both screen resolutions of face adaptation;Wherein, the facility information includes the screen resolution of the terminal device;Really Stator modules are configured as being that the interface adjusts ratio by the ratio-dependent.
Optionally, described device further include: receiving module is configured as adjusting in the adjustment module according to the interface Ratio after showing after being adjusted to each interface to be shown of the application program, receives user and shows to shown interface Show the adjustment operation of parameter;Reporting module is configured as the display parameters adjusted reporting to server, so that described Server adjusts ratio to the interface in the second code section according to the display parameters adjusted that each terminal device reports Example algorithm is adjusted.
Optionally, the display parameters include: font model and/or screen density.
According to the third aspect of an embodiment of the present disclosure, a kind of mobile terminal is provided, comprising: processor;It is handled for storage The memory of device executable instruction;Wherein, the processor is configured to executing any of the above-described kind of Application Program Interface display side Method.
According to a fourth aspect of embodiments of the present disclosure, a kind of non-transitorycomputer readable storage medium is provided, when described When instruction in storage medium is executed by the processor of mobile terminal, so that any of the above-described kind of application program circle of mobile terminal execution Plane display method.
According to a fifth aspect of the embodiments of the present disclosure, it provides according to a kind of computer program product, when the computer journey When instruction in sequence product is executed by the processor of mobile terminal, so that any of the above-described kind of Application Program Interface of mobile terminal execution Display methods.
The technical scheme provided by this disclosed embodiment can include the following benefits:
The Application Program Interface displaying scheme that embodiment of the disclosure provides, it is pre- in the application program opened by calling If first code section, by first code section obtain install the application program terminal device facility information;Call the application Preset second code section in program, the screen point being adapted to by second code section according to the interface of facility information and the application program Resolution determines that interface adjusts ratio;Ratio is adjusted according to the interface, is shown after being adjusted to the interface to be shown of the application program Show, the Application Program Interface is enabled to be adapted to the terminal device of various screen resolutions when showing.As it can be seen that using disclosure reality The Application Program Interface display methods for applying example offer only develops an application program installation for each Application developer Packet distinguishes development and application program installation kit without the terminal device for each screen resolution, can save exploitation manpower Time-consuming for resource and exploitation institute.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and together with specification for explaining the principles of this disclosure.
Fig. 1 is a kind of step flow chart of Application Program Interface display methods shown according to an exemplary embodiment;
Fig. 2 is a kind of step flow chart of Application Program Interface display methods shown according to an exemplary embodiment;
Fig. 3 is a kind of block diagram of Application Program Interface display device shown according to an exemplary embodiment;
Fig. 4 is a kind of structural block diagram of mobile terminal shown according to an exemplary embodiment.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
Fig. 1 is a kind of flow chart of Application Program Interface display methods shown according to an exemplary embodiment, such as Fig. 1 institute The application program display methods shown are in terminal device, comprising the following steps:
Step 101: calling the preset first code section in open application program, installation is obtained by first code section and is answered With the facility information of the terminal device of program.
In the installation kit of application program in addition to function of application code segment, it is also preset with for obtaining facility information One code segment and for determine interface adjustment ratio second code section.
After terminal device downloading application program installation kit is installed the application program, when application program is activated, terminal Equipment calls first code section, first code section obtain the facility information of terminal device.Wherein, facility information may include but not It is limited to: screen resolution.
Step 102: preset second code section in application program is called, by second code section according to facility information and application The screen resolution of the interface adaptation of program, determines that interface adjusts ratio.
The screen resolution of the interface adaptation of application program can be differentiated by developer according to various screens currently on the market The service condition of rate is comprehensive to be determined.A kind of mode of feasibility is that the developer of application program carries out to Application Program Interface When exploitation, using the matched interface dimensions of the screen resolution of current mainstream as template, developer, which only develops, to be adapted at present The application program installation kit of mainstream screen resolution adds first code section and the in the application program installation kit developed Two code segments.
Second code section is according to the screen resolution in facility information including terminal device, and the interface of application program is adapted to Another screen resolution, therefore second code section is the interface adjustment that can determine application program according to the two screen resolutions Ratio.
Step 103: adjusting ratio according to interface, shown after being adjusted to the interface to be shown of application program.
After being adjusted according to interface adjustment ratio to the interface to be shown of application program, interface adjusted will be with terminal The screen resolution of equipment is adapted to, and good interface display effect is presented in the screen of terminal device.
Such as: it is 1/6 that interface, which adjusts ratio, then the interface of application program is done to 1/6 scaling.
Application Program Interface display methods shown in the present exemplary embodiment, it is pre- in the application program opened by calling If first code section, by first code section obtain install the application program terminal device facility information;Call the application Preset second code section in program, the screen point being adapted to by second code section according to the interface of facility information and the application program Resolution determines that interface adjusts ratio;Ratio is adjusted according to the interface, is shown after being adjusted to the interface to be shown of the application program Show, the Application Program Interface is enabled to be adapted to the terminal device of various screen resolutions when showing.As it can be seen that using disclosure reality The Application Program Interface display methods for applying example offer only develops an application program installation for each Application developer Packet distinguishes development and application program installation kit without the terminal device for each screen resolution, can save exploitation manpower Time-consuming for resource and exploitation institute.
Fig. 2 is a kind of flow chart of Application Program Interface display methods shown according to an exemplary embodiment, such as Fig. 2 institute The Application Program Interface display methods shown is for including the following steps in terminal device.
Step 201: calling the preset first code section in open application program, obtaining installation by first code section should The facility information of the terminal device of application program.
The application program is developer using the matched interface dimensions of the screen resolution of current mainstream as template development It generates, developer only develops the application program installation kit for adapting to current mainstream screen resolution, developed First code section and second code section are added in application program installation kit in advance.First code section is used to obtain facility information, Second code section is used to determine the second code section of interface adjustment ratio.When application program is activated, first code section, the second generation Code section is called in succession to be executed.
Wherein, facility information can include but is not limited to: the screen resolution of terminal device, screen density, screen font Model and terminal device model etc..
Step 202: calling preset second code section in application program, the screen of terminal device is determined by second code section The ratio of both screen resolutions of resolution ratio and Application Program Interface adaptation.
Assuming that the screen resolution for the Application Program Interface adaptation that terminal device is installed is 1080 × 1920 pixels, principle Upper screen resolution can normally show the boundary of application program when being the installing terminal equipment of 1080 × 1920 pixels application program Face.If but the application program being adapted to is not done in the terminal installation of other screen resolutions, will appear the abnormal situation of display, such as Interface display is incomplete, and font size is improper etc..In the disclosure to solve this problem, it is differentiated according to the screen for determining terminal device The screen resolution of rate and Application Program Interface adaptation determines that interface adjusts ratio, treats display interface according to interface adjustment ratio It is adjusted, each terminal device according to the application program can be adapted to, on the terminal device of any screen resolution Can there be good interface display effect.
Second code section is the algorithmic code that interface adjusts ratio.
Step 203: ratio is determined as interface adjustment ratio.
Application Program Interface is adapted to the screen resolution of 1080 × 1920 pixels, installs the terminal device of the application program Screen resolution is 320 × 480 pixels, the screen resolution two that the screen resolution of terminal device is adapted to Application Program Interface The ratio of person is 1/6, then the perfect interface for showing the application program is wanted on this terminal device, then needing application program Substrate interface does 1/6 scaling.
Step 204: adjusting ratio according to interface, shown after being adjusted to the interface to be shown of application program.
In process of application development, developer's write-in is according to the dynamic proportion to text, picture, the elements such as button The correlative code for carrying out the adjustment of basic algorithm, during specific implementation, which adjusts ratio according to identified interface Example is adjusted the corresponding parameter of interface element, so that interface adjusted can be adapted to present terminal equipment.
Step 205: receiving user and the adjustment of the display parameters at shown interface is operated.
After showing case sub-interface adjustment ratio interface adjusted on the terminal device, if user is discontented to display effect Meaning, can manually be adjusted display parameters, and terminal device then determines display parameters adjusted according to adjustment operation.
Wherein, display parameters can include but is not limited to: font model and/or screen density.
Step 206: display parameters adjusted are reported into server.
During specific implementation, for an application program installation kit can not on different terminal equipment installation and operation, Server collects the display parameters adjusted that each terminal reports, the display adjusted that server is reported according to each terminal device Parameter is adjusted the interface adjustment proportional algorithm in second code section.
This kind of mode is to correct the correlative code that interface adjusts proportional algorithm according to user feedback data, so that interface adjusts Proportional algorithm is more accurate.Application Program Interface display methods shown in the present exemplary embodiment, by calling the application opened Preset first code section in program is obtained the facility information for installing the terminal device of the application program by first code section; Preset second code section in the application program is called, the interface by second code section according to facility information and the application program is fitted The screen resolution matched determines that interface adjusts ratio;Adjust ratio according to the interface, to the interface to be shown of the application program into It is shown after row adjustment, the Application Program Interface is enabled to be adapted to the terminal device of various screen resolutions when showing.As it can be seen that adopting The Application Program Interface display methods provided with the embodiment of the present disclosure, only develops one for each Application developer and answers With program installation kit, development and application program installation kit, Neng Goujie are distinguished without the terminal device for each screen resolution Saving human resource development and exploitation institute, time-consuming.
Fig. 3 is a kind of block diagram of application program display device shown according to an exemplary embodiment, referring to Fig. 3 device Including predicted vector the first calling module 301, the second calling module 302 and adjustment module 303.
First calling module 301 is configured as calling the preset first code section in the application program opened, by described First code section obtains the facility information for installing the terminal device of the application program;Second calling module 302, is configured as adjusting With second code section preset in the application program, according to the facility information and described journey is applied by the second code section The screen resolution of the interface adaptation of sequence, determines that interface adjusts ratio;Module 303 is adjusted, is configured as according to the interface tune Whole ratio is shown after being adjusted to the interface to be shown of the application program.
Optionally, second calling module 302 may include: to call submodule 3021, be configured as the calling institute Preset second code section in application program is stated, screen resolution and the institute of the terminal device are determined by the second code section State the ratio of both screen resolutions of Application Program Interface adaptation;Wherein, the facility information includes the terminal device Screen resolution;It determines submodule 3022, is configured as being that the interface adjusts ratio by the ratio-dependent.
Optionally, described device can also include: receiving module 304, be configured as in the adjustment module 303 according to institute Interface adjustment ratio is stated, after showing after being adjusted to each interface to be shown of the application program, receives user to showing Show the adjustment operation of the display parameters at interface;Reporting module 305 is configured as the display parameters adjusted reporting to clothes It is engaged in device, so that the display parameters adjusted that the server is reported according to each terminal device are in the second code section Interface adjustment proportional algorithm be adjusted.
Optionally, the display parameters may include: font model and/or screen density.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, no detailed explanation will be given here.
Fig. 4 is a kind of block diagram of mobile terminal 600 shown according to an exemplary embodiment.For example, mobile terminal 600 can To be mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, Medical Devices are good for Body equipment, personal digital assistant etc..
Referring to Fig. 4, mobile terminal 600 may include following one or more components: processing component 602, memory 604, Power supply module 606, multimedia component 608, audio component 610, the interface 612 of input/output (I/O), sensor module 614, And communication component 616.
The integrated operation of the usually control mobile terminal 600 of processing component 602, such as with display, call, data are logical Letter, camera operation and record operate associated operation.Processing component 602 may include one or more processors 620 to hold Row instruction, to perform all or part of the steps of the methods described above.In addition, processing component 602 may include one or more moulds Block, convenient for the interaction between processing component 602 and other assemblies.For example, processing component 602 may include multi-media module, with Facilitate the interaction between multimedia component 608 and processing component 602.
Memory 604 is configured as storing various types of data to support the operation in terminal 600.These data are shown Example includes the instruction of any application or method for operating on mobile terminal 600, contact data, telephone directory number According to, message, picture, video etc..Memory 604 can by any kind of volatibility or non-volatile memory device or they Combination realize, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable Programmable read only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, quick flashing Memory, disk or CD.
Power supply module 606 provides electric power for the various assemblies of mobile terminal 600.Power supply module 606 may include power supply pipe Reason system, one or more power supplys and other with for mobile terminal 600 generate, manage, and distribute the associated component of electric power.
Multimedia component 608 includes the screen of one output interface of offer between mobile terminal 600 and user.One In a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action Boundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers Body component 608 includes a front camera and/or rear camera.When mobile terminal 600 is in operation mode, as shot mould When formula or video mode, front camera and/or rear camera can receive external multi-medium data.Each preposition camera shooting Head and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 610 is configured as output and/or input audio signal.For example, audio component 610 includes a Mike Wind (MIC), when mobile terminal 600 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone It is configured as receiving external audio signal.The received audio signal can be further stored in memory 604 or via logical Believe that component 616 is sent.In some embodiments, audio component 610 further includes a loudspeaker, is used for output audio signal.
I/O interface 612 provides interface between processing component 602 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock Determine button.
Sensor module 614 includes one or more sensors, for providing the state of various aspects for mobile terminal 600 Assessment.For example, sensor module 614 can detecte the state that opens/closes of mobile terminal 600, the relative positioning of component, example As the component be mobile terminal 600 display and keypad, sensor module 614 can also detect mobile terminal 600 or The position change of 600 1 components of mobile terminal, the existence or non-existence that user contacts with mobile terminal 600, mobile terminal 600 The temperature change of orientation or acceleration/deceleration and mobile terminal 600.Sensor module 614 may include proximity sensor, be configured For detecting the presence of nearby objects without any physical contact.Sensor module 614 can also include optical sensor, Such as CMOS or ccd image sensor, for being used in imaging applications.In some embodiments, which may be used also To include acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 616 is configured to facilitate the communication of wired or wireless way between mobile terminal 600 and other equipment. Mobile terminal 600 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.Show at one In example property embodiment, communication component 616 receives broadcast singal or broadcast from external broadcasting management system via broadcast channel Relevant information.In one exemplary embodiment, the communication component 616 further includes near-field communication (NFC) module, short to promote Cheng Tongxin.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band can be based in NFC module (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, mobile terminal 600 can be by one or more application specific integrated circuit (ASIC), number Word signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing shown in above-mentioned Fig. 1 to Fig. 2 Application Program Interface display methods.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 604 of instruction, above-metioned instruction can be executed by the processor 620 of mobile terminal 600 to complete above-mentioned Fig. 1 to figure Application program display methods shown in 2.For example, the non-transitorycomputer readable storage medium can be ROM, deposit at random Access to memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc..
In the exemplary embodiment, a kind of computer program product is additionally provided, when in the computer program product When instruction is executed by the processor 620 of mobile terminal 600, so that mobile terminal 600 is completed above-mentioned Fig. 1 and is answered to shown in Fig. 2 With program interface display methods.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be understood that the present invention is not limited to the precise structure already described above and shown in the accompanying drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is limited only by the attached claims.

Claims (10)

1. a kind of Application Program Interface display methods, which is characterized in that the described method includes:
The preset first code section in the application program opened is called, it is described using journey to obtain installation by the first code section The facility information of the terminal device of sequence;
Preset second code section in the application program is called, by the second code section according to the facility information and described The screen resolution of the interface adaptation of application program, determines that interface adjusts ratio;
Ratio is adjusted according to the interface, is shown after being adjusted to the interface to be shown of the application program.
2. the method according to claim 1, wherein when the facility information includes the screen of the terminal device It is described to call preset second code section in the application program when resolution ratio, by the second code section according to the equipment The screen resolution of information and Application Program Interface adaptation determines that interface adjusts ratio, comprising:
It is described to call preset second code section in the application program, the terminal device is determined by the second code section The ratio of both screen resolutions that screen resolution and the Application Program Interface are adapted to;
It is that the interface adjusts ratio by the ratio-dependent.
3. answering the method according to claim 1, wherein adjusting ratio according to the interface described described After being shown after being adjusted with the interface to be shown of program, the method also includes:
User is received to operate the adjustment of the display parameters at shown interface;
The display parameters adjusted are reported into server, so that the adjustment that the server is reported according to each terminal device The display parameters afterwards are adjusted the interface adjustment proportional algorithm in the second code section.
4. according to the method described in claim 3, it is characterized in that, the display parameters include: that font model and/or screen are close Degree.
5. a kind of Application Program Interface display device, which is characterized in that described device includes:
First calling module is configured as calling the preset first code section in the application program opened, by the first generation Code section obtains the facility information for installing the terminal device of the application program;
Second calling module is configured as calling preset second code section in the application program, by the second code section According to the screen resolution of the interface of the facility information and application program adaptation, determine that interface adjusts ratio;
Module is adjusted, is configured as adjusting ratio according to the interface, the interface to be shown of the application program is adjusted After show.
6. device according to claim 5, which is characterized in that second calling module includes:
Submodule is called, preset second code section in the calling application program is configured as, by the second code Section determines the ratio of both the screen resolution of the terminal device and the screen resolution of Application Program Interface adaptation;Its In, the facility information includes the screen resolution of the terminal device;
It determines submodule, is configured as being that the interface adjusts ratio by the ratio-dependent.
7. device according to claim 5, which is characterized in that described device further include:
Receiving module, be configured as the adjustment module according to the interface adjust ratio, to the application program respectively to After display interface is shown after being adjusted, receives user and the adjustment of the display parameters at shown interface is operated;
Reporting module is configured as the display parameters adjusted reporting to server, so that the server is according to each The display parameters adjusted that terminal device reports adjust the interface adjustment proportional algorithm in the second code section It is whole.
8. device according to claim 7, which is characterized in that the display parameters include: that font model and/or screen are close Degree.
9. a kind of mobile terminal characterized by comprising
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to executing as Application Program Interface of any of claims 1-4 is shown.
10. a kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of mobile terminal When device executes, so that mobile terminal is able to carry out Application Program Interface display methods according to any one of claims 1-4.
CN201810983030.7A 2018-08-27 2018-08-27 Application Program Interface display methods and device, mobile terminal and storage medium Pending CN109375967A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810983030.7A CN109375967A (en) 2018-08-27 2018-08-27 Application Program Interface display methods and device, mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810983030.7A CN109375967A (en) 2018-08-27 2018-08-27 Application Program Interface display methods and device, mobile terminal and storage medium

Publications (1)

Publication Number Publication Date
CN109375967A true CN109375967A (en) 2019-02-22

Family

ID=65404112

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810983030.7A Pending CN109375967A (en) 2018-08-27 2018-08-27 Application Program Interface display methods and device, mobile terminal and storage medium

Country Status (1)

Country Link
CN (1) CN109375967A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109947524A (en) * 2019-03-28 2019-06-28 努比亚技术有限公司 Interface display method, wearable device and computer readable storage medium
CN109992181A (en) * 2019-03-27 2019-07-09 努比亚技术有限公司 A kind of method, wearable device and storage medium being adapted to application program for mobile terminal interface
CN110096322A (en) * 2019-03-25 2019-08-06 北京辰森世纪科技股份有限公司 The method and device of adaptive terminal screen, storage medium, electronic device
CN110865863A (en) * 2019-11-18 2020-03-06 北京小米移动软件有限公司 Interface display method and device for fast application and storage medium
CN110865864A (en) * 2019-11-18 2020-03-06 北京小米移动软件有限公司 Interface display method, device and equipment for fast application and storage medium
CN110874217A (en) * 2019-11-18 2020-03-10 北京小米移动软件有限公司 Interface display method and device for fast application and storage medium
CN113282216A (en) * 2021-06-07 2021-08-20 合肥讯飞读写科技有限公司 Application program interface display method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102779009A (en) * 2012-06-29 2012-11-14 华为终端有限公司 Method and terminal for displaying application program interface
CN107491422A (en) * 2017-08-14 2017-12-19 广州阿里巴巴文学信息技术有限公司 Character displaying method, device and electronic equipment
CN108363604A (en) * 2018-02-06 2018-08-03 四川虹美智能科技有限公司 A kind of resolution adaptation method, apparatus and operation system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102779009A (en) * 2012-06-29 2012-11-14 华为终端有限公司 Method and terminal for displaying application program interface
CN107491422A (en) * 2017-08-14 2017-12-19 广州阿里巴巴文学信息技术有限公司 Character displaying method, device and electronic equipment
CN108363604A (en) * 2018-02-06 2018-08-03 四川虹美智能科技有限公司 A kind of resolution adaptation method, apparatus and operation system

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110096322A (en) * 2019-03-25 2019-08-06 北京辰森世纪科技股份有限公司 The method and device of adaptive terminal screen, storage medium, electronic device
CN109992181A (en) * 2019-03-27 2019-07-09 努比亚技术有限公司 A kind of method, wearable device and storage medium being adapted to application program for mobile terminal interface
CN109947524A (en) * 2019-03-28 2019-06-28 努比亚技术有限公司 Interface display method, wearable device and computer readable storage medium
CN109947524B (en) * 2019-03-28 2023-10-17 努比亚技术有限公司 Interface display method, wearable device and computer readable storage medium
CN110865863A (en) * 2019-11-18 2020-03-06 北京小米移动软件有限公司 Interface display method and device for fast application and storage medium
CN110865864A (en) * 2019-11-18 2020-03-06 北京小米移动软件有限公司 Interface display method, device and equipment for fast application and storage medium
CN110874217A (en) * 2019-11-18 2020-03-10 北京小米移动软件有限公司 Interface display method and device for fast application and storage medium
CN110865863B (en) * 2019-11-18 2022-09-30 北京小米移动软件有限公司 Interface display method and device for fast application and storage medium
CN110865864B (en) * 2019-11-18 2023-07-25 北京小米移动软件有限公司 Interface display method, device and equipment for quick application and storage medium
CN110874217B (en) * 2019-11-18 2023-08-15 北京小米移动软件有限公司 Interface display method and device for quick application and storage medium
CN113282216A (en) * 2021-06-07 2021-08-20 合肥讯飞读写科技有限公司 Application program interface display method and device, electronic equipment and storage medium
CN113282216B (en) * 2021-06-07 2023-06-02 合肥讯飞读写科技有限公司 Application program interface display method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109375967A (en) Application Program Interface display methods and device, mobile terminal and storage medium
CN106126420B (en) Application program adjustment method and device
CN105302615B (en) Method for upgrading software and device
CN105975156B (en) Application interface display methods and device
CN104486451B (en) Application program recommends method and device
CN104598131B (en) Adjust the method and device of page display way
CN104281432A (en) Method and device for regulating sound effect
CN105843503B (en) Using open method, device and terminal device
CN105530384A (en) Method and device for power reminding based on alarm clock
CN105301183B (en) Detection of Air Quality method and apparatus
CN106792448A (en) Bluetooth connecting method and device, system
CN106504473B (en) The method, apparatus and equipment of wearable device state setting
CN109117144A (en) page processing method, device, terminal and storage medium
CN109409414B (en) Sample image determines method and apparatus, electronic equipment and storage medium
CN106912090A (en) New information reminding method and equipment
CN106875106A (en) delivery method and device
EP3851876A1 (en) Method and device for processing information based on radar waves, terminal, and storage medium
CN106101372B (en) Using prompting setting method and device
CN106162612B (en) Control the method and device of Root authority
CN105323383B (en) The method of adjustment and device of mobile phone bell volume
CN110515623A (en) Graphic operation implementation method, device, electronic equipment and storage medium
CN109271292A (en) Power consumption information acquisition method and device
CN109656308A (en) A kind of method of adjustment of frequency configuration, device, electronic equipment and storage medium
CN107809538B (en) Alarm clock reminding method and device and computer readable storage medium
CN105516466B (en) Call the method and device at interface

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190222

RJ01 Rejection of invention patent application after publication