| example.audiodemo.AudioPlayer
AudioPlayer | public class AudioPlayer extends MIDlet implements CommandListener(Code) | | This is a demo midlet to show the basic audio functionalities, to
play wave file, tone, tone sequence from http, resource jar file
and record store.
|
Method Summary | |
public void | commandAction(Command c, Displayable s) | public void | destroyApp(boolean unconditional) Destroy must cleanup everything not handled
by the garbage collector. | public static List | getList() | public void | pauseApp() Called when this MIDlet is paused. | public void | startApp() Called when this MIDlet is started for the first time,
or when it returns from paused mode. |
AudioPlayer | public AudioPlayer()(Code) | | |
commandAction | public void commandAction(Command c, Displayable s)(Code) | | |
destroyApp | public void destroyApp(boolean unconditional)(Code) | | Destroy must cleanup everything not handled
by the garbage collector.
|
pauseApp | public void pauseApp()(Code) | | Called when this MIDlet is paused.
If the player GUI is visible, call its pauseSound method.
For consistency across different VM's
it's a good idea to stop the player if it's currently
playing.
|
startApp | public void startApp()(Code) | | Called when this MIDlet is started for the first time,
or when it returns from paused mode.
If a player is visible, and it was playing
when the MIDlet was paused, call its playSound method.
|
|
|