How can I obtain the string value \"cancel\" from this resource int: android.R.string.cancel ?
thank you
As indicated here: http://developer.android.com/reference/android/content/Context.html#getString(int)
String s = context.getString(android.R.string.cancel);
context can be the current activity, or any object inheriting the Context abstract class.
context
Context