Hello everyone, please can play music in the background of a form without selecting a button for it and please send me the code to do this. very urgent please
Hello everyone, please can play music in the background of a form without selecting a button for it and please send me the code to do this. very urgent please
Player p = Manager.createPlayer("file:///e:/alert.mp3");
p.start();
this will go to your memory card and will play alert.mp3
you just have to set this line.......
You can put the lines suggested by mihir in the constructor of the displayable form behind which you want to play this music and it will work as you expect.
Thanks,
Ekta