How can I manage audio volumes sanely in my Android app?

后端 未结 5 866
生来不讨喜
生来不讨喜 2020-11-28 03:33

I have an app that plays intermittent sounds while its activity is open, and the user is always expecting it to make these noises, but unfortunately it is constrained by the

5条回答
  •  情歌与酒
    2020-11-28 04:12

    It is usefull of this API: setVolumeControlStream(AudioManager.STREAM_MUSIC);

    Unless this I will spend more time to fix that volume bug.

提交回复
热议问题