try { Player p = javax.microedition.media.Manager.createPlayer("abc.mp3"); p.realize(); VolumeControl volume = (VolumeControl)p.getControl("VolumeControl"); volume.setLevel(30); p.prefetch(); p.start(); } catch(MediaException me) { Dialog.alert(me.toString()); } catch(IOException ioe) { Dialog.alert(ioe.toString()); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)