Access a resource name programmatically
<p>I have many string arrays in my resource files, and I want to access them programmatically depending on user input. </p>

<pre><code>int c = Getter.getCurrentNumber();
String[] info = getResources().getStringArray(R.array.n_&lt;c&gt;);
</code></pre>

<p>So if c==12, info should be the string-array with name "n_12".
Is there a way to do this, and avoiding to do a switch statement with hundreds of cases?</p>

<p>Thanks</p>
