Application display picture adjustment method and device, intelligent terminal and storage medium
By detecting the application package name and adjusting the screen pixel density, the problem of poor application display adaptation on smart terminals is solved, and display adaptation is achieved under non-standard screens, improving the display effect and user experience.
Patent Information
- Application Number
- CN202310773777.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-27
- Publication Date
- 2025-01-03
AI Technical Summary
The display of application on smart terminals is poor in display adaptability due to the non-standard screen size, resulting in poor display compatibility, occlusion, collision, and zooming.
By detecting the application's package name, obtaining the corresponding screen pixel density, and adjusting the display screen in the application update process, using the DP mechanism to convert DP to PX, and adjusting the screen pixel density to adapt to the display of the smart terminal.
It effectively improves the display adaptability between applications and smart terminals, realizes display adjustment under non-standard screen sizes, and enhances the aesthetics of the display effect and user experience.
Smart Images

Figure CN119248385A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of picture adjustment, and in particular to an application display picture adjustment method, device, intelligent terminal and storage medium. Background Art
[0002] With the continuous development of computer technology, the penetration rate of smart terminals such as smart phones and tablet computers is also increasing. When using the above smart terminals, users often need to install applications (APP) for use. However, the display of applications on smart terminals is usually designed according to one or several specific conventional sizes, such as 16:9, 4:3, 3:2, etc. When the screen size of the smart terminal is not a standard and common size, the application is prone to display problems including incomplete display, occlusion, collision, scaling, etc. on the smart terminal due to a series of compatibility factors such as historical reasons, design reasons, and resource sources, resulting in poor compatibility between the application display screen and the smart terminal. Summary of the invention
[0003] The present application provides a method, device, smart terminal and storage medium for adjusting an application display screen, so as to solve the technical problem of poor display adaptability of an application on a smart terminal.
[0004] In a first aspect, a method for adjusting an application display screen is provided, which is applied to a smart terminal, and the method comprises: acquiring a package name of the application when detecting that the application is started in the smart terminal; determining a screen pixel density corresponding to the package name based on the package name; and adjusting a display screen of the application on the smart terminal in an application update process based on the screen pixel density.
[0005] Optionally, the method further includes: presetting a correspondence set, or obtaining a correspondence set from a cloud server; wherein the correspondence set includes a correspondence between an application package name and a screen pixel density.
[0006] Optionally, the presetting the correspondence relationship set includes: acquiring the correspondence relationship set set by the user through a human-computer interaction module; and storing the correspondence relationship set.
[0007] Optionally, the preset correspondence set includes: obtaining density-independent pixels corresponding to the application; obtaining screen pixel values of the smart terminal; determining the screen pixel density corresponding to the application based on the density-independent pixels and the screen pixel values; and storing a correspondence set, wherein the correspondence set includes the correspondence between the application and the screen pixel density.
[0008] Optionally, determining the screen pixel density corresponding to the package name according to the package name includes: according to the package name, searching from the correspondence set whether there is a correspondence that matches the package name of the application; if so, determining the corresponding screen pixel density according to the correspondence.
[0009] Optionally, adjusting the display screen of the application on the smart terminal in the application update process according to the screen pixel density includes: after acquiring the screen pixel density, intercepting the application update process of the application; applying the screen pixel density in the application update process; continuing the application update process to complete the adjustment of the display screen of the application on the smart terminal.
[0010] Optionally, applying the screen pixel density in the application update process includes: setting a densityDpi field in the application update process to the screen pixel density.
[0011] In a second aspect, a device for adjusting an application display screen is provided, which is applied to the application display screen adjustment method described in the first aspect above, and the device includes: an acquisition module, which is used to detect that when an application is started on the smart terminal, acquire the package name of the application; a determination module, which is used to determine the screen pixel density corresponding to the package name based on the package name; and an adjustment module, which is used to adjust the display screen of the application on the smart terminal in the application update process according to the screen pixel density.
[0012] In a third aspect, a smart terminal is provided, comprising a memory, a processor and a display screen, wherein the memory and the display screen are connected to the processor, the display screen is used to display an application screen, and the processor is used to execute one or more computer programs stored in the memory. When the processor executes the one or more computer programs, the smart terminal implements the method described in the first aspect.
[0013] In a fourth aspect, a computer-readable storage medium is provided, characterized in that the computer-readable storage medium stores a computer program, the computer program includes program instructions, and when the program instructions are executed by a processor, the processor executes the method described in the first aspect.
[0014] The present application can achieve the following technical effects: when the smart terminal detects that an application is started on the smart terminal, it obtains the package name of the application, and determines the screen pixel density corresponding to the package name based on the package name, and adjusts the display screen of the application on the smart terminal according to the dots per inch scaling ratio in the application update process. When the application itself is not compatible with the screen of the smart terminal, the display screen can be adjusted on the smart terminal side, effectively improving the display compatibility between the application and the smart terminal. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.
[0016] Figure 1 A schematic diagram of a flow chart of a method for adjusting an application display screen provided in an embodiment of the present application;
[0017] Figure 2 A schematic diagram of a flow chart of another method for adjusting an application display screen provided in an embodiment of the present application;
[0018] Figure 3 A schematic diagram of the adjustment effect after the application display screen adjustment method provided in an embodiment of the present application;
[0019] Figure 4 A schematic diagram of the structure of an application display screen adjustment device provided in an embodiment of the present application;
[0020] Figure 5 A schematic diagram of the structure of a smart terminal provided in an embodiment of the present application. DETAILED DESCRIPTION
[0021] In order to make the purpose, technical scheme and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0022] It should be noted that, if there is no conflict, the various features in the embodiments of the present invention can be combined with each other, and all are within the scope of protection of the present invention. In addition, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flow chart, in some cases, the steps shown or described can be performed in a different order from the module division in the device or the flow chart. Furthermore, the words "first", "second", "third", etc. used in the present invention do not limit the data and execution order, but only distinguish the same items or similar items with basically the same functions and effects.
[0023] In order to describe the present application more clearly, a DP (device independent pixels, also known as DiP, DIP, and their lowercase forms) mechanism involved in the present application is first introduced. The DP mechanism can be applied to the Android system and is officially provided by the Android system. It is specifically used to adapt the application to the screen resolution of various devices. In some feasible implementations, the application design program and / or developer will use DP units to represent the length and width of its display content, and will convert DP to PX (Pixel, screen pixel) before drawing the picture to represent the number of pixels used by the control to display on the screen. The DP unit designed by the application is finally converted to the real pixel after the coefficient calculated based on the screen pixel density (DPI, Dots Per Inch). In different screens, the screen pixel density is different, so the pixels are different, and different performances can be presented on different screens, achieving compatibility to a certain extent.
[0024] Usually, applications are designed according to one or several specific sizes. When the screen resolution of the device developed by the device manufacturer is not a standard or common resolution, the application is prone to display problems due to a series of inherent compatibility factors such as historical reasons, design reasons, and resource sources. These problems include incomplete display, occlusion, collision, scaling, etc.
[0025] To solve the above problems, this application provides a method for adjusting the display screen of an application. The core of this application is to set different screen pixel densities for different applications to achieve display adjustment of the application in a smart terminal. This application is based on the conversion formula: PX = DP*(DPI / 160). Since DP is determined by the application, in order to achieve the goal of adjusting PX, DPI can be used to achieve it.
[0026] In one embodiment, see Figure 1 , this application may include the following steps:
[0027] S101: The smart terminal accesses screen pixel density configuration information.
[0028] In some feasible implementations, the screen pixel density configuration information may specifically include the package name of the application that needs to adjust the display, and the screen pixel density value corresponding to the package name.
[0029] Optionally, after testing, the developer of the smart terminal can preset the package name of the application that needs to adjust the display and the screen speed limit corresponding to the package name into the smart terminal, or put it into the cloud server, and the smart terminal can obtain it from the cloud server.
[0030] Optionally, the intelligent terminal may also provide a human-computer interaction module, set a human-computer interaction operation entrance for the user to set up by himself, and adjust the display according to the user's preference.
[0031] In some feasible implementations, after accessing the screen pixel density configuration information, the smart terminal may also provide a configuration information reading function when detecting that an application is started, so as to perform step S102.
[0032] S102: The smart terminal applies the screen pixel density configuration.
[0033] In some feasible implementations, S102 may include the following steps:
[0034] S1021: When the smart terminal detects that an application is started, it obtains the package name of the started application and queries the module storing the screen pixel density configuration information based on the package name to see whether the screen pixel density configuration corresponding to the package name is included. If the configuration is included, the configuration is obtained and a flag is set.
[0035] S1022: intercepting the application update process (Resources), and modifying the screen pixel density value in the application update process.
[0036] As a feasible implementation, before applying the update process ResourcesImpl.updateConfiguration() to set the densityDpi of the mMetrics member, the densityDpi field of the mConfiguration member of ResourceImpl may be set to the screen pixel density value obtained above.
[0037] S1023: Continue the application update process.
[0038] At this point, the UI drawing, rendering and display process of the App will adjust the screen according to the set screen pixel density value, realizing the display adjustment of the application and smart terminal.
[0039] It can be seen that through the above-mentioned application display screen adjustment method, the smart terminal can preset the configuration information of the application and the screen pixel density value, and when the application is detected to be started, the screen adjustment of the application on the smart terminal is realized through the preset screen pixel density value configuration information, so that the application and the smart terminal screen are more adapted. In addition, the application can be completed by the smart terminal independently to adjust the application display screen without the help of the cloud, and the operation is more convenient. The user can adjust the display effect of the application on the smart terminal according to his own preferences, so that the display effect is more beautiful or more in line with the user's personal preferences, which also increases the intelligence of the smart terminal.
[0040] See below Figure 2 , which is another application display screen adjustment method provided by this application. Figure 2 The method shown can be applied to a smart terminal, and the method may include:
[0041] S201: When detecting that an application is started on the smart terminal, obtain the package name of the application.
[0042] It should be noted that in Android application development, the package name of the application is the unique identifier of the application, which is used to identify and distinguish different applications. Before publishing the application to the app store, the developer needs to specify a unique package name for the application. The package name can be in the form of a reverse domain name to ensure global uniqueness.
[0043] Specifically, the package name may consist of a series of identifiers separated by dots (.). For example, if the domain name of application A is example.com, application A may use com.example as the package name of application A. The structure of the package name may be: com.organizationname.appname.
[0044] In one embodiment, the smart terminal may obtain the package name of the application by using an ADB command, a third-party tool, or the like.
[0045] For example, ADB (Android Debug Bridge) is part of the Android development tools and can communicate with connected Android devices. When the smart terminal is turned on and ADB is installed, you can execute the following command: adbshell pm list packages. Through the above command, you can list the package names of all applications installed on the smart terminal, and get the package name of the currently opened application from the package name list.
[0046] For another example, the smart terminal may use a third-party tool by using an APK decompression tool, such as APKAnalyzer or MT Manager. The smart terminal may use the APK decompression tool to open the APK file and search for the corresponding package name information.
[0047] In one embodiment, the method further comprises:
[0048] S200: Presetting a correspondence set, or obtaining a correspondence set from a cloud server; wherein the correspondence set includes a correspondence between an application package name and a screen pixel density.
[0049] It should be noted that the screen pixel density (DPI, Dots Per Inch) refers to the number of dots per inch, which means the number of dots (pixels) displayed per inch of the screen. The higher the DPI value, the higher the pixel density of the screen, and the clearer and more delicate the images and texts are displayed.
[0050] In some feasible implementations, the smart terminal may not need to adjust the display screen for every application. The smart terminal can pre-set the correspondence between the package name of each application that needs to be adjusted and the screen pixel density value that needs to be adjusted, and store all the correspondences as a correspondence set.
[0051] In one embodiment, the preset correspondence set includes: obtaining density-independent pixels corresponding to the application; obtaining screen pixel values of the smart terminal; determining the screen pixel density corresponding to the application based on the density-independent pixels and the screen pixel values; and storing a correspondence set, wherein the correspondence set includes the correspondence between the application and the screen pixel density.
[0052] It should be noted that the screen pixel value (PX, Pixel) of the smart terminal is usually determined by the hardware composition of the smart terminal, indicating the minimum number of units that the display screen can display. For example, the screen pixels are represented by the number of horizontal pixels and vertical pixels, such as 1920*1080. The higher the screen pixels, the clearer the image details displayed on the display screen.
[0053] In some feasible implementations, the intelligent terminal may determine the screen pixel density according to the formula: PX=DP*(DPI / 160), wherein PX represents the screen pixel value, DP represents the density-independent pixel, and DPI represents the screen pixel density.
[0054] In some feasible implementations, although the screen pixel value of the terminal generally remains unchanged, the size and clarity of the displayed content can be changed by adjusting the resolution of the display screen or using a zoom setting, which may affect the clarity and display effect of the image but does not actually change the number of physical pixels of the screen. Therefore, the user can adjust the display effect according to personal preferences.
[0055] In one embodiment, the presetting of the correspondence relationship set includes: acquiring the correspondence relationship set set by the user through a human-computer interaction module; and storing the correspondence relationship set.
[0056] For example, the human-computer interaction module can be set on the display screen of the smart terminal, and the user can adjust the display of the application screen according to personal preferences and set the corresponding screen pixel density value. The smart terminal obtains the screen pixel density value corresponding to the application package name set by the user through the human-computer interaction module, and stores the corresponding relationship between the application package name and the screen pixel density value set by all users as the corresponding relationship set.
[0057] S202: Determine, according to the package name, a screen pixel density corresponding to the package name.
[0058] In one embodiment, determining the screen pixel density corresponding to the package name according to the package name includes: according to the package name, searching from the correspondence set whether there is a correspondence that matches the package name of the application; if so, determining the corresponding screen pixel density according to the correspondence.
[0059] It should be noted that the correspondence set may include correspondences between multiple applications and screen pixel densities, and the application package name may be used as an index for the smart terminal to search the screen pixel density corresponding to the application package name from the correspondence set.
[0060] For example, when the smart terminal detects that application a is started, it can obtain the package name of application a and traverse the corresponding relationship set from the module storing screen pixel density configuration information of the smart terminal according to the package name. If there is a screen pixel density corresponding to the package name, the screen pixel density corresponding to the package name is obtained from the corresponding relationship set; if there is no screen pixel density corresponding to the package name, the application a does not need to adjust the application screen, and the smart terminal can end the current process.
[0061] S203: According to the screen pixel density, adjust the display screen of the application on the smart terminal in the application update process.
[0062] In one embodiment, adjusting the display screen of the application on the smart terminal in the application update process according to the screen pixel density includes: after acquiring the screen pixel density, intercepting the application update process of the application; applying the screen pixel density in the application update process; continuing the application update process to complete the adjustment of the display screen of the application on the smart terminal.
[0063] In one embodiment, applying the screen pixel density in the application update process includes: setting the densityDpi field in the application update process to the screen pixel density.
[0064] For example, the smart terminal can set the densityDpi field of the mConfiguration member of ResourceImpl to the screen pixel density value obtained above before setting the densityDpi of the mMetrics member in the application update process ResourcesImpl.updateConfiguration(). After the setting is completed, continue the application update process to complete the adjustment of the display screen of the application on the smart terminal. Figure 3 , which is an adjustment effect diagram of an application display screen provided by this application. The left picture is the screen before adjustment, and the right picture is the screen after adjustment achieved by applying the method shown in this application.
[0065] It can be seen that through the implementation of the present application, when the smart terminal detects that an application is started on the smart terminal, it obtains the package name of the application, and determines the screen pixel density corresponding to the package name based on the package name, and adjusts the display screen of the application on the smart terminal according to the dots per inch scaling ratio in the application update process. When the application itself is not compatible with the screen of the smart terminal, the display screen can be adjusted on the smart terminal side, which effectively improves the display compatibility between the application and the smart terminal.
[0066] The method of the present application is introduced above, and the device of the present application is introduced below.
[0067] See also Figure 4 , Figure 4 Schematic diagram of a device for adjusting an application display screen provided in an embodiment of the present application. Figure 4 As shown, the application display screen adjustment device 40 includes:
[0068] The acquisition module 401 is used to acquire the package name of the application when detecting that the application is started in the smart terminal.
[0069] The determination module 402 is used to determine the screen pixel density corresponding to the package name according to the package name.
[0070] The adjustment module 403 is used to adjust the display screen of the application on the smart terminal in the application update process according to the screen pixel density.
[0071] In a possible design, the application display screen adjustment device 40 further includes: a preset module for presetting a corresponding relationship set, or obtaining a corresponding relationship set from a cloud server, wherein the corresponding relationship set includes a corresponding relationship between an application package name and a screen pixel density.
[0072] In a possible design, when the preset module is used to preset the correspondence relationship set, it is specifically used to: obtain the correspondence relationship set set by the user through the human-computer interaction module; and store the correspondence relationship set.
[0073] In a possible design, when the preset module is used to preset a correspondence relationship set, it is specifically used to: obtain density-independent pixels corresponding to an application; obtain screen pixel values of the smart terminal; determine the screen pixel density corresponding to the application based on the density-independent pixels and the screen pixel values; and store a correspondence relationship set, wherein the correspondence relationship set includes a correspondence between the application and the screen pixel density.
[0074] In one possible design, the determination module 402 is used to determine the screen pixel density corresponding to the package name based on the package name, and is specifically used to: according to the package name, search from the correspondence set whether there is a correspondence that matches the package name of the application; if so, determine the corresponding screen pixel density based on the correspondence.
[0075] In one possible design, the adjustment module 403 is used to adjust the display screen of the application on the smart terminal according to the screen pixel density during the application update process, and is specifically used to: intercept the application update process of the application after obtaining the screen pixel density; apply the screen pixel density in the application update process; continue the application update process to complete the adjustment of the display screen of the application on the smart terminal.
[0076] In a possible design, the adjustment module 403 is used to, when applying the screen pixel density in the application update process, specifically to: set the densityDpi field in the application update process to the screen pixel density.
[0077] It should be noted that Figure 4 For the contents not mentioned in the corresponding embodiments, please refer to the description of the aforementioned method embodiments, which will not be repeated here.
[0078] It can be seen that the device shown in the present application can obtain the package name of the application when it is detected that the application is started on the smart terminal, and determine the screen pixel density corresponding to the package name based on the package name, and adjust the display screen of the application on the smart terminal according to the dots per inch scaling ratio in the application update process. When the application itself is not compatible with the screen of the smart terminal, the display screen can be adjusted on the smart terminal side, which effectively improves the display compatibility between the application and the smart terminal.
[0079] The following is an introduction to a smart terminal provided by the present application. Figure 5 The intelligent terminal 500 includes a processor 51, a memory 52, a display screen 53, an external interface 54 and other components. Those skilled in the art will understand that Figure 5 The intelligent terminal structure shown in the figure does not constitute a limitation on the intelligent terminal, and may include Figure 5 More or fewer components may be shown, or some components may be combined, or some components may be separated, or different component arrangements may be provided. Those skilled in the art may understand that the display screen 53 belongs to a user interface (UI), and the smart terminal 500 may include a user interface that is less than or equal to the one shown in the figure.
[0080] Combine the following Figure 5 The components of the intelligent terminal 500 are specifically introduced as follows:
[0081] The processor 51 is the control center of the smart terminal 500. It uses various interfaces and lines to connect various parts of the entire smart terminal. By running or executing software programs and / or modules stored in the memory 52, and calling data stored in the memory 52, it executes various functions of the smart terminal 500 and processes data, thereby monitoring the smart terminal as a whole. Optionally, the processor 51 may include one or more processing units; preferably, the processor 51 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communication and wired communication. It is understandable that the above-mentioned modem processor may not be integrated into the processor 51.
[0082] The memory 52 can be used to store software programs and modules. The processor 51 executes various functional applications and data processing of the smart terminal 500 by running the software programs and modules stored in the memory 52. The memory 52 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function, etc.; the data storage area can store data created according to the use of the smart terminal 500, etc. In addition, the memory 52 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0083] The display screen 53 may include a human-computer interaction module for receiving interactive selection operations input by the user and displaying the current screen of the smart terminal 500. Specifically, the display screen 53 may include a display panel 531 and a touch panel 532. The display panel 531 may be configured in the form of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), etc. The touch panel 532 may collect the user's contact or non-contact operation on or near it (such as the user's operation on the touch panel 532 or near the touch panel 532 using any suitable object or accessory such as a finger, stylus, etc., and may also include somatosensory operation; the operation includes single-point control operation, multi-point control operation and other operation types.), and drive the corresponding connection device according to a pre-set program. Optionally, the touch panel 532 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch position and posture, detects the touch signal brought by the touch operation, and transmits the touch signal to the processor 51 for processing. In addition, the touch panel 532 may be implemented by various types such as resistive, capacitive, infrared, and surface acoustic wave, and may also be implemented by any technology developed in the future. Further, the touch panel 532 may cover the display panel 531, and the user may operate on or near the touch panel 532 covered on the display panel 531 according to the content displayed on the display panel 531 (the displayed content includes but is not limited to soft keyboard, virtual mouse, virtual button, icon, etc.), and after the touch panel 532 detects the operation on or near it, it transmits it to the processor 51 through the I / O subsystem to determine the user input, and then the processor 51 provides corresponding visual output on the display screen through the I / O subsystem according to the user input.
[0084] Although not shown, the smart terminal 500 may also include an external interface 54, such as a Type C interface, a USB interface, etc. The smart terminal 500 may also include a power supply (such as a battery) for powering each component. Preferably, the power supply may be logically connected to the processor 51 through a power management system, so that the power management system can manage charging, discharging, and power consumption. The smart terminal 500 may also include a camera, a Bluetooth module, an external mouse, etc., which will not be repeated here.
[0085] The processor 51 may call the program code to perform the following operations:
[0086] When detecting that an application is started on the smart terminal, obtaining a package name of the application;
[0087] According to the package name, determining a screen pixel density corresponding to the package name;
[0088] According to the screen pixel density, the display screen of the application on the smart terminal is adjusted in the application update process.
[0089] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a computer, the computer executes the method described in the above embodiment.
[0090] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.
[0091] The above disclosure is only the preferred embodiment of the present application, which certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application are still within the scope covered by the present application.
Claims
1. A method for adjusting an application display screen, characterized in that: Applied to a smart terminal, the method comprises: When detecting that an application is started on the smart terminal, obtaining a package name of the application; According to the package name, determining a screen pixel density corresponding to the package name; According to the screen pixel density, the display screen of the application on the smart terminal is adjusted in the application update process.
2. The method according to claim 1, characterized in that The method further comprises: Preset a corresponding relationship set, or obtain a corresponding relationship set from a cloud server; The correspondence set includes the correspondence between the package name of the application and the screen pixel density.
3. The method according to claim 2, characterized in that The preset corresponding relationship set includes: Obtaining a corresponding relationship set set by a user through a human-computer interaction module; The corresponding relationship set is stored.
4. The method according to claim 2, characterized in that: The preset corresponding relationship set includes: Get the density-independent pixels corresponding to the application; Obtaining the screen pixel value of the smart terminal; Determining a screen pixel density corresponding to the application according to the density-independent pixel and the screen pixel value; A correspondence set is stored, where the correspondence set includes a correspondence between an application and a screen pixel density.
5. The method according to any one of claims 2 to 4, characterized in that: The step of determining, according to the package name, a screen pixel density corresponding to the package name includes: According to the package name, searching from the correspondence set whether there is a correspondence matching the package name of the application; If yes, the corresponding screen pixel density is determined according to the corresponding relationship.
6. The method according to claim 1, characterized in that The adjusting the display screen of the application on the smart terminal in the application update process according to the screen pixel density includes: After acquiring the screen pixel density, intercepting an application update process of the application; Applying the screen pixel density in the application update process; Continue the application update process to complete the adjustment of the display screen of the application on the smart terminal.
7. The method according to claim 6, characterized in that The applying the screen pixel density in the application update process includes: The densityDpi field in the application update process is set to the screen pixel density.
8. An application display picture adjustment device applied to the method according to any one of claims 1 to 7, characterized in that: The device comprises: An acquisition module, configured to acquire a package name of the application when detecting that the application is started on the smart terminal; A determination module, used to determine, according to the package name, a screen pixel density corresponding to the package name; The adjustment module is used to adjust the display screen of the application on the smart terminal in the application update process according to the screen pixel density.
9. An intelligent terminal, characterized in that: The invention comprises a memory, a processor and a display screen, wherein the memory and the display screen are connected to the processor, the display screen is used to display an application screen, and the processor is used to execute one or more computer programs stored in the memory. When the processor executes the one or more computer programs, the smart terminal implements the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor is caused to perform the method according to any one of claims 1 to 7.
