i am working on an application where i have to get a value of string resource to a constant. how can i do that? any ideas please.
The String is placed in
Application/res/values/strings.xml
and the name of the resource is let say app_version. now i want to get this app version to a constant string in another file. Any help is appreciated.
R.string.app_versionor@string/app_versiontaken from strings.xml is your constant and will always represent the value you entered into that XML file.