Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

play ringtone android in infinite loop

Uri ringtone = RingtoneManager.getDefaultUri(RingtoneManager.TYPE_RINGTONE);
MediaPlayer player = MediaPlayer.create(this, ringtone);
player.setLooping(true);
player.start();
 
PREVIOUS NEXT
Tagged: #play #ringtone #android #infinite #loop
ADD COMMENT
Topic
Name
2+7 =