开发者

Controlling overall system volume from app?

开发者 https://www.devze.com 2023-03-15 11:02 出处:网络
I\'m building an application in which I would like to let the user control the volume via the app (instead of pressing down the side volume buttons).

I'm building an application in which I would like to let the user control the volume via the app (instead of pressing down the side volume buttons).

Is there a way to control the "overall" system volume from within the app? If not, I would be content controlling media player volume and phone (ringer + in-call) volume. I create my own local MediaPlayer object, so I think that s开发者_运维技巧houldn't be so hard to control.


Quick google search found this solution

0

精彩评论

暂无评论...
验证码 换一张
取 消