Uri of files in assets
<p>I am using the RingtoneMangager to play sounds. Everything
works ok when I store sound files (.mp3) in the appropriate SD directories.</p>

<p>I find out the URI of the file and I give it to RingtoneManager to play.</p>

<pre><code>sd_uri = Uri.parse( "/sdcard/media/path/to/file" );
Ringtone rt = RingtoneManager.getRingtone( getApplicationContext(), sd_uri );
rt.play();
</code></pre>

<p>Just wondering what to do in case of tablets that do not come with an SD card.
My idea is to store sound files in res/raw or res/assets dirs, but unlike MediaPlayer that accepts resource identifiers, RingtoneManager only wants Uri.
How do I get the Uri of files in res/raw or res/assets dir?
Ideally I would use res/raw, to get  R.raw.* identifier, which might be handy.</p>

<p>Thanks</p>
