Alex Rivera | Logout

Android : Change App Label programmatically

Asked 2011-09-30T06:00:45.690
30

How can I change application label to change app name shown from java code in android? I'm refering to:

<application android:icon="@drawable/icon" android:label="@string/app_name">

in the Android Manifest

Is there any way to update values in strings.xml file?

Edit
Report

2 Answers

50

in the activity, i tried

this.setTitle("your text");

and it worked. I hope it's a common solution

answered 2012-04-17T09:20:54.227
0

To anyone interested: Android How to change the application title But it's not clear if it changes the "application label" (that is, the name of the icon in the application list) or only the window title.

answered 2011-10-04T13:43:20.470

Your Answer