Android4.2.2 play video before starting animation

Source: Internet
Author: User

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!

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.