I'm a developer, I'm looking to change the behavior of my app, not install another app for changing the volume. I need some way to make it so that volume button presses always adjust the music stream volume when my activity is showing whether a sound is playing at the time or not.
On Mar 9, 7:16 pm, strazzere <str...@gmail.com> wrote: > Look at some of the applications on the market. Such as Master Volume > Controller. > > You can lower the media volume, and raise your ringer volume. > > On Mar 9, 9:58 pm, LukeH <luke.hun...@gmail.com> wrote: > > > I also have exactly this issue. How can I fix it? Or as they say on > > internets, BUMP. > > > On Feb 3, 2:28 am, blindfold <seeingwithso...@gmail.com> wrote: > > > > My app generates and plays sound samples in one second bursts, and > > > this context sensitivevolumeadjustment keeps flipping between > > > ringtonevolumeand mediavolumedepending on split second timing > > > (apparently depending on whether a burst is playing or a next burst is > > > in preparation when thevolumebuttons are pressed). How can I pin > > > down (lock?) the "audio context" to prevent this? Right nowvolume > > > adjustment via thevolumebuttons is unworkable. > > > > Thanks. > > > > On Feb 2, 11:35 pm, Dave Sparks <davidspa...@android.com> wrote: > > > > > Thevolumeadjustment is context sensitive. You can tell whichvolume > > > > is being adjusted by thevolumedisplay. > > > > > If YouTube or the music player, adjusting thevolumewill affect only > > > > the music/video playbackvolume. Thevolumedisplay will read "Media > > > >Volume". If you're in the home screen, or most other apps that don't > > > > use audio, adjusting thevolumewill affect the ringtone/notification > > > >volume. Thevolumedisplay will read "RingtoneVolume". --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---