ANDROID boot animation analysis and android boot Animation
Boot animation file: bootanimation.zip in the system \ media folder
Animation is implemented by continuous screen flushing of series images ..
The bootanimation.zip file is a zip compressed file. The compression method must be storage compression, which contains one file and two directories:
1. animation attribute description file: desc.txt
2. First-stage animation image Directory: part0
3. Stage 2 animation image Directory: part1
Desc.txt file content:
480 800 30
P 1 0 part0
P 0 10 part1
Desc.txt File Analysis:
480 427 30
Number of frames in width and height
P 1 0 part0
The directory name corresponding to the period of switching of the Mark loop times
P 0 10 part1
The directory name corresponding to the period of switching of the Mark loop times
============================
Identifier:
Must be: p
Cycles:
0: indicates an infinite loop in this phase
Phase switching interval:
The Unit is the duration of a frame. For example, if the number of frames is 30, the duration of a frame is 1 second/30 = 33.3 milliseconds.
During the phase switching interval, the boot animation process enters sleep and the CPU time is used by the initialization system.
That is, the interval is long and the startup will be fast, but it will affect the animation effect.
The part0 and part1 directories contain two animated series images in PNG or jpg format.
Upload and refresh of series image files are sorted by file names.
Certificate -----------------------------------------------------------------------------------------------------------------------------------------
Modify the boot Animation:
First, no matter the China Bank's water line first root
Next, download and install the Re File Manager.
Download the attachment bootanimation.zip to the SD card first.
Then, copy the RE manager to the system folder in the mobile phone memory.
Modify the first item of the permission and check the first two items, the second item, and the third item. Click OK! (It is very important. In fact, you can first check the original permissions of the system, and take the changes as needed ).
Copy bootanimation.zip to the system \ media file to overwrite the original bootanimation.zip. You must carefully modify the permissions. If you do not modify the permissions, a black screen will appear!
Animation in the attachment:
- Bootanimation.zip (4.8 MB)