Application starting method, terminal and computer readable storage medium
An application startup, computer technology, applied in the direction of program loading/starting, user interface execution, program control device, etc., can solve problems such as slow application startup rate, increase terminal memory consumption, affect user experience, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0063] When a mobile terminal starts an application, it first displays the startup animation, and then displays the main page of the application; the usual method is to make the startup page and the subsequent main page into two interface activity windows Activity, and jump to the main page of the application after the startup animation is played. As a result, a large amount of resources are occupied when the application starts, which affects the startup speed of the application. In order to solve the above problems, this embodiment provides an application startup method, such as image 3 As shown, the image 3 The basic flow chart of the application startup method provided in this embodiment, the application startup method includes:
[0064] S301. When detecting the start instruction of the target application, load the start page layout in the activity window Activity of the main interface of the target application.
[0065] It can be understood that when the user starts to c...
no. 2 example
[0078] In order to better understand the present invention, this embodiment improves an application startup method. When the application is started, the startup animation is displayed first, and then the main page of the application is displayed as an example. Figure 4 as shown, Figure 4 It is a detailed flow chart of the application startup method provided in the second embodiment of the present invention. The application startup method includes:
[0079] S401. Create a startup page layout file and a main page layout file.
[0080] In this embodiment, the layout of the startup animation (splash_screen.xml) and the main page layout (main.xml) are respectively defined and implemented. Among them, splash_screen.xml and main.xml include various attributes required for drawing and displaying pages, such as height attributes, fill attributes, font color attributes, form background attributes, and so on.
[0081] S402. When the start instruction of the target application is dete...
no. 3 example
[0097] This embodiment also provides a terminal, see Figure 6 As shown, it also includes a processor 601, a memory 602 and a communication bus 603, wherein:
[0098] The communication bus 603 is used to realize connection and communication between the processor 601 and the memory 602;
[0099] The processor 601 is used to execute one or more programs stored in the memory 602, so as to realize the following steps:
[0100] When the start instruction of the target application is detected, the start page layout is loaded in the activity window Activity of the main interface of the target application;
[0101] Create a sub-thread, and parse and preload the main page layout of the target application through the sub-thread;
[0102] After the startup page layout is displayed, switch the startup page layout to the main page layout, so as to start the target application.
[0103] In this embodiment, before the processor 601 realizes loading the startup page layout in the activity ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com