Android的独立音量控制 [英] Android Independent Volume Control

查看:190
本文介绍了Android的独立音量控制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

截至目前,体积可以按流类型设置。我只是想知道如果有一种方法来控制每个应用程序的音量。例如,对于这个特定的游戏应用我可以设置到音量电平10,而不改变为具有相同流类型的其他应用程序的卷

As of now, the volume can be set per Stream type. I am just wondering if there is a way to control the volume per application. For example, for this specific game application I can set to to volume level 10 without changing the volume for other application which has the same stream type.

任何反馈会大大AP preciated。

Any feedback will be greatly appreciated.

谢谢, artsylar

Thanks, artsylar

推荐答案

这是不被操作系统支持。

This is not supported by the OS.

欢迎您来尝试伪造它通过记住当前的音量,改变它,然后恢复到原来的音量。然而,这将是不可能覆盖所有的情况下的音量需要被复位,其中(例如,你的应用程序崩溃)。

You are welcome to try to fake it by remembering the current volume level, changing it, then restoring the original volume level. However, it will be impossible to cover all the cases where the volume level needs to be reset (e.g., your app crashes).

这篇关于Android的独立音量控制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆