ANDROID boot animation analysis and android boot Animation

Source: Internet
Author: User

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:



 

  • The size is 64.6 KB.
  • Bootanimation.zip (4.8 MB)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.