let me also add that for some reason even when the sound is playing and you
press the hardware volume keys nothing happens. the volume does not change
and the volume indidcator does not appear on  the screen.

On Sun, May 24, 2009 at 4:19 PM, Josh <[email protected]> wrote:

>
> Im using a mediaPlayer to play sounds in my application. I want the
> user to be able to adjust the volume by using the hardware buttons on
> the device. I tried putting this in my oncreate (setVolumeControlStream
> (AudioManager.STREAM_MUSIC);) but it didnt seem to work. Is there
> something else I have to do to allow the user to be able to adjust the
> volume?
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" 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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to