作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在使用MediaRouter(来自v7支持库),并以编程方式为我的特定设备路由选择音频的路由,但是当连接了某些蓝牙A2DP设备时,Android会自动选择与该蓝牙设备关联的路由。
如何防止它从我已经选择并想要的路线切换?
最佳答案
好吧,到目前为止似乎还没有办法。
自动切换到蓝牙A2DP路由被硬编码到Android框架MediaRouter class中
This will select the active BT route if there is one and the current selected route is the default system route, or if there is no selected route yet.
关于android - 连接蓝牙设备时如何防止android选择Bluetooth A2DP路由,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28157233/
我是一名优秀的程序员,十分优秀!