Is there a sensible way to refer to application resources (R.string...) in static initializers
<p>Is there a sensible, clean way to refer to application resources from static initalizer code in my android classes.</p>

<p>I would specifically like to define an enum which contains the values of some resource strings in its constants.</p>

<p>Here is some pseudo code for the enum</p>

<pre><code>private enum MyEnum {
    Const1(getString(R.string.string1)),
    Const2(getString(R.string.string2)),
    Const3(getString(R.string.string3));

    private String strVal;

    MyEnum(String strVal){
        this.strVal = strVal;
    }
}
</code></pre>

<p>This question applies to any kind of static initialization.</p>
