In the manifest, I can set application label like this:
<application android:label="@string/app_name" >
But I want to code this, is it possible?
Thanks!
In the manifest, I can set application label like this:
<application android:label="@string/app_name" >
But I want to code this, is it possible?
Thanks!
No. Because Android application package archive is Read-Only format.
So you can not change the label of the application. Only you can read application label.
Application's android:label
refers to a fixed resource .
But the string under this referrer could have multiple values, depending on configuration qualifier names (values-en, -large, -land, etc.), according to Providing Alternative Resources.