You should just write
if not OpenPlayer('/music.mid', 'audio/midi') then
Halt;
if not SetPlayerCount(-1) then Halt;
if not StartPlayer then Halt;
and playing wil be started.
To stop player (i.e. by a timer) you should call
StopPlayer.
Сообщение от NastyKhan
And Vint, does saving highscore in registry can be dangerous to phone? (i mean - can it mess up something?)
|
No, it is completely safe, because data is written to the local midlet's registry and don't influence on the system or another midlets.