如何启用的Andr​​oid A2DP水槽的功能? [英] How to enable A2DP sink functionality in Android?

查看:254
本文介绍了如何启用的Andr​​oid A2DP水槽的功能?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发,它使用的姜饼2.3.4 的作为操作系统定制的嵌入式设备。 现在,该设备应能够从其他的 A2DP 使能的设备,如iPhone或其他Android设备上播放音频流。我知道,姜饼包括配合bluez 栈4.69,它能够支持A2DP汇功能。然而,我怀疑Android的公开这些API。

I'm developing a customized embedded device which uses Gingerbread 2.3.4 as an OS. Now the device should be able to play audio streaming from other A2DP-enabled devices such as iPhone or other Android devices. I know that the Gingerbread includes Bluez stack 4.69 which is capable of A2DP sink functionality. However, I doubt that Android exposes these APIs.

你有什么想法我如何能实现这个功能?由于我不是开发一个通用的Andr​​oid应用程序,任何种类的非标方法,将AP preciated。我觉得配合bluez 堆栈可以直接通过的DBus即使是在Android界面访问。

Do you have any ideas how I can achieve this functionality? Since I'm not developing a generic Android App, any kinds of non-standard method will be appreciated. I think the Bluez stack can be directly accessed through DBus interface even in Android.

推荐答案

配合bluez可以支持A2DP下沉。 但Android框架不启用此配置文件。

Bluez can support A2DP sink. but Android framework doesn't enable this profile.

您可以通过实现蓝牙设备路径硬code做法

you may implement the Bluetooth device path using hard-code practice

这篇关于如何启用的Andr​​oid A2DP水槽的功能?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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