How to rename an Android app programmatically?
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开发者_JAVA百科 a new name inside my app. Then how can I programmatically rename my app name to the new name?
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.
精彩评论