Read Resources from SD card
<p>Suppose we have downloaded some files from somewhere to the some resources folder on the SD card. Now, let's be able to use the downloaded. Jpg image as the background, and play audio clip. How to implement reading data from the SD card or phone memory (com.example.app or etc folder)? For example, if resources located into the application, then I read so</p>

<pre><code>layout.setBackgroundResource (R.drawable.img);
</code></pre>

<p>And I need instead of <code>R.drawable.img</code> i must read from an SD card or phone memory. The sound of my own class, but the principle of reading should be the same</p>

<pre><code>sound = getAudioClip (R.raw.sound);
</code></pre>

<p>where instead of <code>R.raw.sound</code> must-read SD card or phone memory.</p>
