How about a flag that you set to true on the first press and back to false once it has finished playing? (I am really new to the SDK so am not sure how viable this is, but it works in other places I have needed to control access to a rare resource)
frak On Feb 22, 4:06 pm, CMF <manf...@gmail.com> wrote: > Hi all, I have a button that will trigger a sound when pressed > however, when I press the button many times in a short while > there will be no sound emitted. > How can it emit sound even I press many times on a button? > I create the sound effect by MediaPlayer.create(mcontext, > R.raw.mysound); -- 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