[android-developers] Re: Back Ground Sound in Android
On Jul 1, 2:21 am, Devon Smith <devonsmit...@gmail.com> wrote:
> For Playing different sounds I have made a class SoundManager using
> soundpool now I can play a wanted sound on button click by my
> activities.But I want a back ground sound which will play through out
> my whole game ,from one activity to other.So how can I do it using
> SoundPool and where I have to write code to play it in my Activities.
I would use MediaPlayer instead, especially if it's a long sample and
you can encode it as ogg.
Doug
--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home