For development & debug purposes, I would like to have the label under the icon contain a timestamp that hints when this particular instance was built.
The entry that’s responsible for this label is android:label="@string/app_name" under the main activity.
The problem is that @string/app_name is hard-coded.
Is is possible at all to accomplish a build timestamped label as I described above?
I don’t mind setting it in onCreate() (i.e. will change after the 1st run), as long as it indeed changes the label under the icon (not in the title bar).
What you should do is include a step in your build process that always modifies the
app_namexml value to include the time stamp. This can be done with Ant using an XML Mainpulation Task to replace xml value.