I am N.chandrasekaran from India, I am a Pockect Pc application developer. Now i started developing j2me games for nokia 60 series . I developed a side scrolling game but couldn't able to add sound to my game if i add the .wav or .mid files using conventional
methods of "getClass().getResourceAsStream("/hai.wav");" and using input streamreader it takes a delay to play the sound even if i put this code in a seperate thread. and also takes memory for every call which ultimately let my emulator to hang. so please help me
You arn't recreating the player each time you want to play the sound are you?
That will certainly be slow, and will likely leak memory (due to the buggy implementation of InputStreams on most series 60 phones)