How to set the fileName in the openRawResource() to be variable
<p>I got an editText which allow the user to type the file name, but since all the files are in the raw folder. I tried to get the file from the raw folder and here is the problem,   </p>

<pre><code>String fileName = editText.getText().toString;
InputStream ins = getResources().openRawResource(R.raw.my_db_file);
</code></pre>

<p>how can I replace "my_db_file" to fileName? it seems not allow me to code it like this<br>
 <code>InputStream ins = getResources().openRawResource(R.raw.fileName);</code><br>
any idea? thanks so much for the help</p>
