安装后更改应用程序的名称,快捷标签和图标。可能吗? [英] Change app name, shortcut label and icon after installation. Is it possible?

查看:114
本文介绍了安装后更改应用程序的名称,快捷标签和图标。可能吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要结束与我的客户发生争执。

是否有可能在安装APK后重命名该应用程序标签,快捷方式名称和应用程序图标?

我会说不!绝对没有!

没有root权限的设备,没有外部工具。该应用程序下载,并通过标准的谷歌播放市场工具isntalled。

在首次执行应用程序知道它的新标签/图标,但不能修改这些属性本身。

我错了?


解决方案

您是不是错了,先生。

应用程序的名称和图标在清单计价,运行时不能改变。 Android不容许这一点。

你可以,但是,通过的setTitle(名称)更改标题栏中的应用程序的标题

希望你赢了一些钱在这个赌注:)

I need to end a dispute with my customer.

Is it possible to rename the application label, the shortcut name and the application icon after the APK is installed?

I would say no! absolutely no!

No rooted device, no external tool. The application is downloaded and isntalled by the standard Google Play market tool.

At the first execution the app know its new label/icon but it can't modify these properties itself.

Am I wrong?

解决方案

You are not wrong sir.

The app's name and icon are stated in the manifest and cannot be changed during runtime. Android does not permit this.

You can, however, change the title of the app in the title bar via setTitle(name);

Hope you won some cash over this bet :)

这篇关于安装后更改应用程序的名称,快捷标签和图标。可能吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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