Get Resource From Name in External Class
<p>I have a string that identifies a resource that i want to grab.</p>

<p>I know about the following:</p>

<pre><code>public int getIdentifier(String name, String defType, String defPackage)
</code></pre>

<p>However i need to use it in an external class, and it won't let me.</p>

<p>For example i have a string called "thefile" and i want to access R.raw.thefile</p>

<p>Any ideas? I'm stuck</p>

<p>Cheers</p>
