It is important to first declare that the test platform is a rk3168,android4.2.2,android version of the core, because the code for Android4.0 and Android4.2.2 is different in some places and not universal!
First get the task do not know how to start, because I understand in Android boot did not appear to play video, especially before the start of the animation, Linux Penguin, and animation is a picture, is not what video such as mp4,3gp!
Because you can play the sound when you start the animation, and the MediaPlayer of the upper app can play the sound, combined with surface, you can play the video! This is the entry point ~
Important files for animation play in: Z:\Backup\rk3168_v4.2\frameworks\base\cmds\bootanimation!
1, understand the Android display boot screen principle!
1. Linux system boot, the Linux Penguin screen (reboot) (Android 1.5 and later has been canceled loading pictures);
2. Android platform launch initialization, "A N D R I O d" text screen;
3. The Android platform graphics system starts, and an animated picture (start) appears with the flashing Android typeface.
4. Principle Reference:
http://blog.csdn.net/luoshengyang/article/details/7691321
http://blog.csdn.net/conowen/article/details/7884009
Http://www.cnblogs.com/jqyp/archive/2012/03/07/2383973.html
http://blog.csdn.net/backgarden_straw/article/details/8571992
Http://www.eoeandroid.com/thread-114742-1-1.html
1. Play Music:
In the core micro-provided source code can actually support playing music, but did not provide music files!