Android bootanimation Production Process

Source: Internet
Author: User

Android bootanimation production process:

Android boot Animation: A bootanimation.zip,



Put bootanimation.zip in
/System/media directory.


Bootanimation format:



Bootanimation.zip

It contains the Part1 Part2 folder and desc.txt

User1 @ user1-desktop :~ /Downloads/boot/bootanimation $ tree
.
| --
Desc.txt
| -- Part0
| -- Tianyi_00000.png
| --
Tianyi_00001.png
| -- Tianyi_1_2.png
| -- Tianyi_00003.png
|
| -- Tianyi_00004.png
| -- Tianyi_00005.png
| -- Tianyi_00006.png
| --
Tianyi_00007.png
| -- Tianyi_00008.png
| -- Tianyi_00009.png
|
| -- Tianyi_00010.png
| -- Tianyi_00011.png
| --
Tianyi_00012.png
| -- Tianyi_00013.png
| -- Tianyi_00014.png
| --
Tianyi_00015.png
| -- Tianyi_00016.png
| -- Tianyi_00017.png
|
| -- Tianyi_00018.png
| -- Tianyi_00019.png
| --
Tianyi_00020.png
| -- Tianyi_00021.png
| -- Tianyi_00022.png
| --
Tianyi_00023.png
| -- Tianyi_00024.png
| -- Tianyi_00025.png
|
| -- Tianyi_00026.png
| '-- Tianyi_00027.png
'-- Part1

'-- Tianyi_00028.png


Part0 and Part1 are animated images in PNG format.
.
In desc.txt, the video is played.
Settings
.

Desc.txt format
:





User1 @ user1-desktop :~ /Downloads/boot/bootanimation $
Cat desc.txt
320 480 10
P 1 0 part0
P 0 0 Part1

320 480 indicates the resolution width and height of the display.

10 is the number of frames per second

The number after P indicates that the number of playbacks 0 is a loop.

The number next is generally 0.

Part0 is the folder name.

Why use two folders? Average
:


Part1 is played once.
Part2 is loop playback until startup

Packaging:



Do not compress the file during packaging (the compression ratio is 0 ).

If
In Linux, run the following command:




cd
directory/that/contains/desc.txt/and/part0/part1/
zip -r -X -Z
store ../bootanimation part*/*.png desc.txt

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.