如何以编程方式重命名 Android 应用程序?
一些用户想要将我的 Android 应用程序重命名为其他名称。
因此,我想提供一个文本字段,供他们在我的应用程序中输入新名称。 那么如何以编程方式将我的应用程序名称重命名为新名称?
Some users want to rename my Android app to something else.
So I'd like to provide a text field for them to put in a new name inside my app.
Then how can I programmatically rename my app name to the new name?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您想在应用程序运行时重命名您的应用程序或更改标题吗?
要更改标题,您可以使用活动中的 setTtle() 函数。
如果您想更改 string.xml 中的应用程序名称,您应该有一个名为 app_name 的值。
您必须将其重命名为新值。
为此,您必须解压缩 apk 并修改 xml 文件,然后重新打包。
但这样我认为应用程序必须重新安装。
You want to rename your app or change the title when application is running?
To change the title you have setTtle() funcion from activity.
If you want to change application name in string.xml you should have a value called app_name.
You have to rename it to the new value.
To do so you have to unzip the apk and modify the xml file and then repack it.
But making this way I think application have to be reinstalled.