views:

48

answers:

0

I want to play a ringtone selected from the RingtonePreference in a Service for a limited period of time (5 secs, for instance). What is the best way to do it? And is there a way to fade out the ringtone's volume when the ringtone is about to finish its playback within the allocated time?