How can i know the url of sdcard for getting songs for ring tone?
<p>I am new to android.
I am writing a small application that reads files from the SD card. It picks a song from the  SD card and then plays that song as a ring tone. </p>

<p>This is the code that plays the song:</p>

<pre><code>MediaPlayer mp=MediaPlayer.create(Alarm.this, R.raw.airtel_new);
mp.start();
</code></pre>

<p>Instead of "<code>R.raw.airtel_new</code>" I would like to use the URI or the URL of a particular song that I have selected from the SD card.
Could any one help me?</p>
