Optimizing scheme for cold starting of android application

An optimization scheme and cold start technology, applied in the direction of program loading/starting, program control design, instruments, etc., can solve problems such as poor experience, and achieve the effect of enhancing brand communication

Inactive Publication Date: 2017-06-20
UNIVERSAL WISDOM TECH BEIJING CO LTD
View PDF3 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This will cause the user to wait for a period of time to start after clicking the application, resulting in an extremely poor experience during the use of the application.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Optimizing scheme for cold starting of android application
  • Optimizing scheme for cold starting of android application
  • Optimizing scheme for cold starting of android application

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] The technical solutions of the present invention will be further described in detail below in conjunction with specific embodiments.

[0026] An optimization scheme for cold start of an android application, comprising the following steps:

[0027] Step 1: Create a drawable file named shape_launch.xml in the windowBackground property folder in the theme; its specific code is as follows:

[0028]

[0029] Step 2: Modify the theme style in the styles.xml file in the windowBackground property folder; the specific code is as follows:

[0030]

[0031]@drawable / shape_launch

[0032]

[0033] Step 3: Set the modified theme style to the started Activity; the specific code is as follows:

[0034]

[0035]

[0036] The preferred embodiments of the present invention have been described in detail above, but the present invention is not limited to the above-mentioned embodiments. Within the scope of knowledge possessed by those of ordinary skill in the art, various modificati...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses an optimizing scheme for cold starting of an android application. The optimizing scheme comprises the following steps: 1) establishing a drawable document named as shape_launch.xml in a windowBackground attribute folder in a theme; 2) modifying a theme style in a styles.xml document in the windowBackground attribute folder; and 3) setting the modified theme style for the started Activity. According to the optimizing scheme disclosed by the invention, the problem that the android application only can enter into a main interface after several seconds and even longer white screen or blank screen time at the moment of the first cold starting can be solved; after a user clicks an app icon, a self-defined style or logo pattern can be quickly loaded; the app application can be quickly started in a use process and the brand propagation can be enhanced.

Description

technical field [0001] The invention relates to an Android application startup method, in particular to an optimization scheme for an Android application cold startup. Background technique [0002] Cold start is an important startup method for Android applications. In the Android system, the system allocates at least one process for each running application (a multi-process application applies for multiple processes). From a process point of view, cold start means that there is no person and process information (including Activity, Service, etc.) of the application in the system before the application is started. For example, the first launch of the application after the device is turned on, and the restart after the system kills the application process (such as the kill caused by the system memory shortage and the kill actively generated by the user), etc. So naturally in this way, the startup time of the application is longer, [0003] When an application is cold-started...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/445G06F9/44
CPCG06F9/44505G06F8/30
Inventor 朱洪龙
Owner UNIVERSAL WISDOM TECH BEIJING CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products