E.g.:
Using java Syntax Highlighting
- mediaplayer = MediaPlayer.create(MainActivity.getInstance(), R.raw.musicmp3);
- try {
- mp.prepare();
- } catch (IllegalStateException e) {
- e.printStackTrace();
- } catch (IOException e) {
- e.printStackTrace();
- }
- mp.start();
Parsed in 0.030 seconds, using GeSHi 1.0.8.4
If I call mediaplayer.stop() the music is not stopped. Why that?
Thanks!


