Loop/ Repeat the ringtone in android
<p>I am writing an application on android 4.0 which will play the current ringtone when I press a button. 
But in the ringtone is played only one time.I need it to repeat for a few times.</p>

<p>Please suggest me how can i repeat this ringtone.</p>

<pre><code>Uri notifi = RingtoneManager.getDefaultUri(RingtoneManager.TYPE_RINGTONE);
final Ringtone r = RingtoneManager.getRingtone(c, notifi);
r.play();
</code></pre>
