posted 13 years ago
I can only figure it has something to do with the methods I'm using. The music would play, then when it reaches the end of the track, the looping method picks that up.
But for some reason, it executes both the if and else blocks.
In other words, the music plays, then when its supposed to loop again, it stops and terminates.
Here are the codes. This is the client class where the looping fails.
And this is the utility class.