979899100101102103104105106107
// that the required media player event listener is added before your condition is tested mediaPlayer.startMedia(mrl); return true; } }; playingCondition.await(); long time = period; for(int i = 0; ; i++) {
149150151152153154155156157158159
protected boolean onBefore() { mediaPlayer.play(); return true; } }; playingCondition.await(); time += period; } } catch(UnexpectedErrorConditionException e) {