Android SoundPool: get notified when end of played -


this sound simple can't figure out why can't find answer lol

i have working sound pool class (thanks tutorial , tweaking did), , works fine.

the problem want able change background music randomly. (not have same music in loop have 2 or 3 , when 1 finishes play 1 of 2 others).

problem can't find way notified music has finished playing.

any ideas ?

jason

it can't done soundpool far can tell.

the audio 'player' know can provide completion notification mediaplayer - it's more of complex beast soundpool allows setting oncompletionlistener notified when playback complete.


Comments

Popular posts from this blog

php - mySql Join with 4 tables -

css - Text drops down with smaller window -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -