A general question;
What is the recommendation - if a J2ME app playing an audio <player.start ()>, should the app need to wait till the track finishes.
For ex.
while (playerPlaying) { // playerPlaying is boolean, set to false at End-Of-Media
Thread.sleep (1);
}
Or is it not a good practice to "hold" the thread ???

Reply With Quote



