hello,
I need code example of Player class using in nokia 6101.
I use soundes in my application. I use "midi" format.
The mobile playes the first sound always but the followed soundes played in some application runs and in so me of the runs not.
For now i use the following code:
String[] soundsFileName = {"1.mid", "2.mid", "3.mid", "4.mid"};
Sound s[] = new Player[soundsFileName.length];
for(int i=0; i<soundsFileName.length; i++)
s[i]=Manager.createPlayer(soundsFileName[i],"audio/midi");
try{
s[tune].prefetch();
s[tune].start();
}catch(Exception e){}
10x in advance

Reply With Quote

