What is the way to play Ringtone notification via SoundPool?
<p>User selects a ringtone using RingtonePreference, and I'm able to extract the Uri with:</p>

<pre><code>String pathString = mPreferences.getString(sKeySoundRingtone, null);
Uri pathUri;

if (pathString == null)
    pathUri = RingtoneManager.getDefaultUri(RingtoneManager.TYPE_NOTIFICATION);;
else
    pathUri = Uri.parse(pathString);
</code></pre>

<p>Now I want to use the <a href="http://developer.android.com/reference/android/media/SoundPool.html" rel="nofollow">SoundPool</a> class because I'm only using notifications (usually under 5secs in duration) and I like the loop and rate options it provides.</p>

<p>Tried my best and failed, since the class can be constructed with a path, and pathUri.getPath() doesn't work. </p>

<p>Is there a way to make this work?</p>
