How to enumerate strings in a string resources file?
<p>I have a resources file called string.xml in res/valus directory</p>

<p>the file has many string resources</p>

<p>how can I obtain these items in an array from code ?</p>

<p>I tried</p>

<pre><code>Field[] x=R.string.class.getFields();
</code></pre>

<p>but it does not work.</p>

<p>thanks</p>
