- 1、本文档共8页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
修改 Android开机画面(修改Android开机画面)
修改 Android开机画面(修改Android开机画面)
Modify the Android boot screen
| source: China mobile phone development network | 2010 09 month 02 days | [big baby] | click recommend to friends 50
Key word:
Android system boot animation includes two parts:
ANDROID text displayed on the boot;
ANDROID lighting animation.
This article says that the boot animation is the first, and the text begins below!
1. make the image of the current screen pixel (the simulator defaults to 320*480)
Use PS to make a picture of 320*480. When you save, choose save as Web format, and then click PNG-24 on the open window, and save as android_logo.png
Note: it seems that only support png-24, other formats generated RLE file display is not normal, interested, we can verify it.
2. convert the image to raw format
The use of Linux under the ImageMagick comes with the convert command, raw format conversion, the command for:
Convert -depth 8 android_logo.png rgb:android_logo.raw
Note: Ubuntu 10.04 defaults to installing the ImgageMagick tool. If the current system is not installed, you can execute the following command installation:
Sudo apt-get install ImageMagick
3. convert raw format to RLE file
You need to use the compiled rgb2565 tool in Android, and in the android/out/host /linux-x86/bin directory (Android is the directory where the current source is located), the conversion command is as follows:
Rgb2565 -rle android_logo.raw initlogo.rle
So far, the image that needs to be displayed is ready, that is, initlogo.rle, note that the file name must be this, and that if you want to change the filename, you need to modify the macro in the android/system/core/init/init.h:
#define INIT_IMAGE_FILE /initlogo.rle
The following need to add initlogo.rle to the Android file system
4. find the ramdisk.img file (android/out/target/product/generic/ramdisk.img), change the file name to ramdisk.img.gz, and then extract it using the following command:
Gunzip ramdisk.img.gz
After decompression get ramdisk.img, someone may wan
您可能关注的文档
- 五年级思想品德上试题(Grade five ideological and moral examination questions).doc
- 五星级酒店全年培训计划(Annual training plan for five star hotel).doc
- 五步棋打造金牌团队(Five game gold medal team).doc
- 五大工程详解(Explain the five major projects).doc
- 五年内必读书籍(不管是谁,不管什么年龄)(Books must be read in five years (no matter who, no matter what age)).doc
- 五线谱调号推算方法(Calculation method of key staff).doc
- 五范式(Five normal form).doc
- 五年级作文批改评语(Five grade composition correction comment).doc
- 五行与数字(Five lines and numbers).doc
- 五行取名常识(The five line is named common sense).doc
文档评论(0)