Android : Change App Label programmatically

Soul picture Soul · Sep 30, 2011 · Viewed 36.2k times · Source

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?

Answer

Mark picture Mark · Apr 17, 2012

in the activity, i tried

this.setTitle("your text");

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