Hello,

I am trying to develop and android sound board app. I have everything
set up and it compiles and loads properly on the simulator.

I have a total 14 different sounds to play, 1-7 play fine without a
problem. When i try to play any sound beyond 7, like sound 8 the
applications crashes and closes. The sound files are stored in /raw/.
They are mp3 files.

I have made the call to the media player class to all 14 sounds like
this.

private MediaPlayer mp1 = MediaPlayer.create(this, R.raw."name of file
it should play");

Is there a limit on the MediaPlayer class where I can only call 7
files at a time?

Thanks for any help you can provide.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to