全部博文(89)
分类: LINUX
2009-07-06 16:16:37
The statup animation means the one you see before the launcher application comes out.
It was a line with a red point goes from left to right again and again before, in Android 1.0. Currently, on cupcake, it’s a text string, “ANDROID”, with shine goes from left to right.
I found someone add an advertisement logo to that animation in a customized rom. So I studied how to remove that, or make a new one by myself.
Finally, I found it out. There are 2 pictures under
frameworks/base/core/res/assets/images:
android-logo-mask.png
android-logo-shine.png
The 1st one is the background. Then, you can edit it with picture editor, like add your own name on it.
Well, after edited it, you need to build framework-res out, with command “make framework-res”. Then, you will get a new framework-res.apk. But usually, you can not use this file to replace the one in the rom/firmware for real devices, like G1, G2. Since, some resources are not under the same version.
What I do is pull out the original framework-res.apk from the rom. Unzip both this framework-res.apk and the one I made by myself. Replace the 2 pictures under assests/images with the one I made before. Notice, you can not replace the files with the PNG files you edited, but not compiled.
Then zip out framework-res.apk again, and sign with SignApk tool. Now you can use the new framework-res.apk to replace the original one.