如何在Android中更改手机公司徽标 [英] How to change Cell phone company logo in android

查看:71
本文介绍了如何在Android中更改手机公司徽标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在启动android时更改手机公司徽标并对其进行自定义 我如何通过我的应用程序访问和更改它

I need to change cell phone company logo in start up android and customize that how i can access and change it via my app

推荐答案

启动动画是由一组压缩图像和一个小脚本创建的.完整说明位于此处- http://forum.xda-developers.com/showthread. php?t = 1852621 -这些是我遵循的说明,因此我知道它们可以正常工作.

The boot animation is created by a set of zipped images and a small script. Full instructions are here - http://forum.xda-developers.com/showthread.php?t=1852621 - these are the instructions that I followed so I know that they work.

现在,尝试通过应用执行此操作会遇到一些问题.首先,操作系统将寻找启动动画的默认位置是/system/media,但这在所有版本的android上都不相同,并且某些手机制造商将其更改为其他位置.因此,要解决此问题,您将必须编译尽可能多的位置列表,并让您的应用检查所有位置是否有现有动画,然后替换找到的动画.

Now, you will face a few problems trying to do this with an app. Firstly, the default location that the OS will look for the boot animation is /system/media, but this is not the same on all versions of android, and some phone manufactures change it a different place. So to resolve this you will have to compile a list of as many possible locations and have your app check all of them for an existing animation and then replace the one that it finds.

第二个问题是,所有位置都需要root特权才能将文件复制到其中.将其添加到清单中将使您的应用程序可以在有根电话上执行此操作.

The second problem is that all of the locations will require root privileges to copy a file into. Adding this into the manifest will allow your app to do this on rooted phones.

<uses-permission android:name="android.permission.ACCESS_SUPERUSER" />

这篇关于如何在Android中更改手机公司徽标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆