I figured out how to play sounds.

MediaPlayer mMediaPlayer = MediaPlayer.create(this, R.raw.mysound);
mMediaPlayer.start();

However, the .start() call blocks the application until it is done
playing.  Is there a way around this?

Thanks.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to