My guess is to use just stop() without checking for isPlaying.
And instead of recreating mediaPlayer on each button press call stop()
and prepare().
On Jun 15, 7:38 pm, "Jeff B." wrote:
> To avoid any confusion, I don't know if I made it clear that the code
> I have listed is currently working.
To avoid any confusion, I don't know if I made it clear that the code
I have listed is currently working. I'm just not sure of why I am
needing the IllegalStateException logic.
Thanks,
Jeff
On Jun 12, 12:39 am, "Jeff B." wrote:
> Hello,
>
> I have an ImageButton that plays a sound whenever it i
2 matches
Mail list logo