【问题标题】:android bluetooth routing on lollipop棒棒糖上的android蓝牙路由
【发布时间】:2015-04-24 00:51:13
【问题描述】:

在我的应用程序中,用户可以通过它拨打任何号码,我正在通过蓝牙启动

audioManager.setBluetoothScoOn(true);
audioManager.startBluetoothSco();

它适用于所有设备,但在 android 5.0.1 上:它使用手机的麦克风,而不是蓝牙耳机的麦克风。

在以前的安卓操作系统上:它可以工作,但不能在棒棒糖上:只有传入的音频被路由到蓝牙耳机,但它从不使用蓝牙麦克风。

【问题讨论】:

    标签: android bluetooth android-5.0-lollipop voip


    【解决方案1】:

    您是否尝试过明确禁用免提电话?尝试以下方法:

    audioManager.setSpeakerphoneOn(false);
    audioManager.setBluetoothScoOn(true);
    audioManager.startBluetoothSco();
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2016-02-28
      • 2016-02-11
      • 1970-01-01
      • 2015-08-12
      • 2015-01-12
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多