How to convert Int to constant for res/raw?
<pre><code> InputStream inputStream = getResources().openRawResource(R.raw.ac);
</code></pre>

<p>here, ac is constant file name from res/raw.</p>

<pre><code>int books = cursor.getColumnIndexOrThrow(DictionaryDatabase.BOOK_DETAILS)
</code></pre>

<p>is an int contains name: ac also.</p>

<p>Is it possible to use </p>

<p><code>InputStream inputStream = getResources().openRawResource</code>(<strong>Int books</strong>);
???</p>

<p>If yes how??</p>
