Can anybody enlighten me why value/strings.xml is useful(important)?
It occurred to me that all the attributes, e.g., id, label can be set in the layout xml as well. So why strings.xml?
A side question is, once get an ID of an object, say a listitem, how do I get the android:text from it?
I did not find any getText() function.
It allows for easily providing alternate languages and configurations. See the Resources and Internationalization topic (especially the Alternate Resources section) in the Dev Guide for more information.
For your second question, you may be looking for
resolveInfo.nonLocalizedLabelorresolveInfo.loadLabel(getPackageManager())?The reference page for ResolveInfo should help you find what you want.