将信息娱乐设备模拟为HFP客户端

时间:2015-10-20 04:36:40

标签: android bluetooth hfp

Android棒棒糖正在我的目标板上运行。

我的电路板和手机配对蓝牙。如果我在我的Android手机上接听电话,我怎样才能用我的电路板模拟它来接听和接听电话。拒绝接听电话?

此时我正在通过手机拨打电话,HFP工作正常,

我只想用Board UI模拟它来回答和拒绝来电。

感谢。

1 个答案:

答案 0 :(得分:0)

package / app / Bluetooth / res / values / config.xml中的配置值和隐藏类

<bool name="profile_supported_hfpclient">false</bool>
android.bluetooth.BluetoothHeadsetClient, this provides HFP client API, such as dial, accept call.

源: https://groups.google.com/forum/#!topic/android-platform/zQVDRlQt4DQ

此外,您可以在此问题中找到更多信息: Bluetooth hands free client volume control