I\'ve found the R.string
pretty awesome for keeping hardcoded strings out of my code, and I\'d like to keep using it in a utility class that works with models i
You can use:
Resources.getSystem().getString(android.R.string.somecommonstuff)
... everywhere in your application, even in static constants declarations. Unfortunately, it supports the system resources only.
For local resources use this solution. It is not trivial, but it works.