蓝牙音响可接蓝牙耳机改装音响吗?

你必须知道:车载蓝牙耳机必备五大功能
 作者: 曾雅雯 编辑:
  朋友们,现在我们来做个测试。这个测试是检测您的,是不是真正的车载?也许现在的您会想,怎么样算是真正的车载蓝牙呢?车载蓝牙需要具备的功能有那些呢?那么接下来,就由小编用U&I OSINO1168车载蓝牙耳机的五大特点来为您来为您揭晓吧!车载蓝牙耳机必备特点之一:自动连接  每次开车每次都要重新连接是不是很麻烦?有的时候忘记与蓝牙耳机连接,开车时突然来了电话打的你措手不及是不是很狼狈?然而U&I拥有记忆式连接,可以同时连接两台的蓝牙耳机,并且一开始打开蓝牙耳机搜寻到自动范围就可以自动连接,无需任何多余的操作。车载蓝牙耳机必备特点之二:自动开机、关机  U&I OSINO1168车载蓝牙耳机拥有磁吸式充电底座,当磁吸式充电底座与汽车的点烟器连接,您的蓝牙耳机就可以自动开机,然而在您下车关掉汽车引擎的时候OSINO1168就会自动关机,全自动为您服务。车载蓝牙耳机必备特点之三:自动接听  当你开车时,只需把蓝牙耳机一提起,就可以接听,而且外观漂亮,手感舒适,并配有两个完全适合您耳朵的可选弹性耳钩;戴上它,您一整天都会舒适无比。无论你在行车中还是在嘈杂的环境里,都能清晰的与对方通话,不会耽误一通电话。车载蓝牙耳机必备特点之四:自动挂断  这款U&I OSINO1168车载蓝牙耳机拥有磁吸式旋转180&充电底座,拿起接电话,放下挂断。不用按键也不用分神去找手机挂断,方便至极。车载蓝牙耳机必备特点之五:自动充电  并且这款蓝牙耳机是采用了磁吸技术,蓝牙耳机得以很好的固定,不管如何旋转也不会担心耳机会脱离USB充电底座。有了这样的装置,你就不会担心小小的蓝牙耳机放在哪里了,也不用担心蓝牙耳机的充电问题。、U&I中国区总代理:家商城()免费服务电话:400-700-5168
大学生分期购物销量榜2514人阅读
Android(1)
蓝牙搜索与SPP协议的连接网上例程很多,就不详细介绍了,官方例程BluetoothChat是很好的例子。不过并不是所有的蓝牙设备都支持SPP协议,连接A2dp和Headset协议能找到的例程不多,本文介绍的方法特别适合于蓝牙音箱和蓝牙耳机的连接。原理主要是利用反射原理得到系统api进行连接,先从配对取消配对框弹出说起:
private void doPair(){
mBluetoothAdapter.cancelDiscovery();
if (D) Log.d(TAG, &开始配对&);
if(mDevice.getBondState()!= BluetoothDevice.BOND_BONDED){
if (D) Log.d(TAG, &setPin 2 ...&);
BluetoothMethod.setPin(mDevice.getClass(), mDevice,&0000&);
if (D) Log.d(TAG, &createBond 2 ...&);
BluetoothMethod.createBond(mDevice.getClass(), mDevice);
} catch (Exception e) {
connectfailed();
e.printStackTrace();
setState(STATE_CONNECTING);
setPin()和createBond()在android系统源码///////
中能找到。利用反射调用的方法能把这方法得到,
* 与设备配对 参考源码:platform/packages/apps/Settings.git
* /Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java
static public boolean createBond(Class btClass,BluetoothDevice btDevice) throws Exception {
Method createBondMethod = btClass.getMethod(&createBond&);
Boolean returnValue = (Boolean) createBondMethod.invoke(btDevice);
return returnValue.booleanValue();
static public boolean setPin(Class btClass, BluetoothDevice btDevice,
String str) throws Exception
Method removeBondMethod = btClass.getDeclaredMethod(&setPin&,new Class[]{byte[].class});
Boolean returnValue = (Boolean) removeBondMethod.invoke(btDevice,
new Object[]
{str.getBytes()});
catch (SecurityException e)
// throw new RuntimeException(e.getMessage());
e.printStackTrace();
catch (IllegalArgumentException e)
// throw new RuntimeException(e.getMessage());
e.printStackTrace();
catch (Exception e)
// TODO Auto-generated catch block
e.printStackTrace();
配对完就可以连接A2dp和Headset协议了,同样利用反射的方法可以得到这两个协议的连接以及断开连接的方法
static public boolean connect(Class btClass,BluetoothProfile proxy,BluetoothDevice btDevice) throws Exception {
Method connectMethod = btClass.getDeclaredMethod(&connect&, BluetoothDevice.class);
connectMethod.setAccessible(true);
Boolean returnValue = (Boolean) connectMethod.invoke(proxy,btDevice);
return returnValue.booleanValue();
static public boolean disconnect(Class btClass,BluetoothProfile proxy,BluetoothDevice btDevice) throws Exception {
Method disconnectMethod = btClass.getDeclaredMethod(&disconnect&, BluetoothDevice.class);
disconnectMethod.setAccessible(true);
Boolean returnValue = (Boolean) disconnectMethod.invoke(proxy,btDevice);
return returnValue.booleanValue();
A2dp和Headset属于BluetoothProfile这个类,利用服务监听的方法连接A2dp和Headset Profile,执行onBluetoothConnect()即可,官方教程有详细介绍BluetoothProfile的连接()
* @Title:onBluetoothConnected
* @Description:实现蓝牙连接A2dp与Headset服务
public void onBluetoothConnect(){
mBluetoothAdapter.getProfileProxy(this, mA2dpProfileListener, BluetoothProfile.A2DP);
//new BluetoothA2DP(this).request(this, mBluetoothAdapter);
mBluetoothAdapter.getProfileProxy(this, mHeadsetProfileListener, BluetoothProfile.HEADSET);
//new BluetoothHeadSetProfile(this).request(this, mBluetoothAdapter);
* @Title:onBluetoothDisConnect
* @Description:断开A2DP与Headset服务函数
public void onBluetoothDisConnect(BluetoothDevice device){
if(mBluetoothA2dp!=null){
BluetoothMethod.disconnect(mBluetoothA2dp.getClass(),mBluetoothA2dp, device);
mBluetoothAdapter.closeProfileProxy(BluetoothProfile.A2DP, mBluetoothA2dp);
} catch (Exception e) {
// TODO Auto-generated catch block
if (D) Log.d(TAG, &close A2dp failed!!!&);
e.printStackTrace();
if(mBluetoothHeadset!=null){
BluetoothMethod.disconnect(mBluetoothHeadset.getClass(),mBluetoothHeadset, device);
mBluetoothAdapter.closeProfileProxy(BluetoothProfile.HEADSET, mBluetoothHeadset);
} catch (Exception e) {
// TODO Auto-generated catch block
if (D) Log.d(TAG, &close Headset failed!!!&);
e.printStackTrace();
* @Fields mA2dpProfileListener : A2dp服务监听器
private BluetoothProfile.ServiceListener mA2dpProfileListener = new BluetoothProfile.ServiceListener() {
public void onServiceConnected(int profile, BluetoothProfile proxy) {
if (profile == BluetoothProfile.A2DP) {
mBluetoothA2dp = (BluetoothA2dp)
if(mState == STATE_CONNECTING){
BluetoothMethod.connect(mBluetoothA2dp.getClass(),mBluetoothA2dp, mDevice);
} catch (Exception e) {
// TODO Auto-generated catch block
if (D) Log.d(TAG, &connect to A2dp failed!!!&);
mBluetoothAdapter.closeProfileProxy(BluetoothProfile.A2DP, mBluetoothA2dp);
e.printStackTrace();
public void onServiceDisconnected(int profile) {
if (profile == BluetoothProfile.A2DP) {
mBluetoothA2dp =
* @Fields mHeadsetProfileListener : BluetoothHeadset服务监听器
private BluetoothProfile.ServiceListener mHeadsetProfileListener = new BluetoothProfile.ServiceListener() {
public void onServiceConnected(int profile, BluetoothProfile proxy) {
if (profile == BluetoothProfile.HEADSET) {
mBluetoothHeadset = (BluetoothHeadset)
if(mState == STATE_CONNECTING){
BluetoothMethod.connect(mBluetoothHeadset.getClass(),mBluetoothHeadset, mDevice);
} catch (Exception e) {
// TODO Auto-generated catch block
if (D) Log.d(TAG, &connect to Headset failed!!!&);
mBluetoothAdapter.closeProfileProxy(BluetoothProfile.HEADSET, mBluetoothHeadset);
e.printStackTrace();
public void onServiceDisconnected(int profile) {
if (profile == BluetoothProfile.HEADSET) {
mBluetoothHeadset =

参考知识库
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
访问:9973次
排名:千里之外
评论:10条
(1)(1)(1)(1)(1)(1)请登陆后使用
只需一步,快速开始
吧友自助信息发布区,请自行甄别
查看: 1349|回复: 4
无线蓝牙耳麦,能连接到无线蓝牙音箱上面去吗?采纳评果
无线蓝牙耳麦,能连接到无线蓝牙音箱上面去吗?
目的是---通过耳麦讲话,然后通过音箱放大声音?
不能的&&无线蓝牙耳麦和音响都是接收端
<p id="rate_220" onmouseover="showTip(this)" tip="你的帖子对我太有用了,太谢谢你了&果果 + 1
" class="mtn mbn">
你现在的需求是:音箱的功能是把发声,耳麦的功能是收声 这个windows可以做.该接哪的接哪.就是同步把录进去的声音再放出来.
你把QQ视频设置打开都可以做到啊...它测试的时候就会把你声音放出来
<p id="rate_220" onmouseover="showTip(this)" tip="谢谢。不过我的想法是直接用耳麦讲话,音箱.&果果 + 1
" class="mtn mbn">
好吧...我懂了 因为有两个放音设备,你得让他们两都放音才行.
一般是舞台上用的吧...舞台上有专门的音控 如果不能两个都放音的话 可以往音控方面想
Powered by手机用蓝牙音箱听收音机还得连耳机线,有其他办法吗?
内容为广告/垃圾,我要举报!
特聘专家具有协助内容审核的特权
举报后内容将不能在前台展示
错乱举报会导致该权利被剥夺
选择举报原因&
手机用蓝牙音箱听收音机还得连一条耳机线,这也太麻烦了,求各位大神支支招
已有3个回答
[见习专家]
专家星级&:&0.5星
问答堂专家综合评分
问题评分&:&0星
采纳、点赞&:&0星
二次回复率&:&5星
内容为广告/垃圾,我要举报!
特聘专家具有协助内容审核的特权
举报后内容将不能在前台展示
错乱举报会导致该权利被剥夺
选择举报原因×
擅长领域:
这个肯定是没有办法的,因为用手机听收音机,耳机线用来充当接收天线,虽然网上有些破解的免插耳机收音机的程序,除非本地信号特别好,不过一般是收不到任何电台的。如果你的手机是安卓系统,不想插耳机线听收音机。我觉的最好的办法是下载 网络收音机的APK程序,只要有WIFI网络就可以收听的,当然也可以用蓝牙音箱连接收听的下面是使用比较多的一款手机网络收音机软件/a/item?docid=3915299&pre=web_am_se&f=web_alad_5@next
留下你的评论
内容为广告/垃圾,我要举报!
特聘专家具有协助内容审核的特权
举报后内容将不能在前台展示
错乱举报会导致该权利被剥夺
选择举报原因×
参与话题:
手机没有配置收音机天线。手机里面的收音机工作原理是这样的,在手机的主板上面安装了一块够手机调频收音的,收音IC,然后通过字库里面的软件启动来完成的,最后借助耳机做天线来完成整个工作的。要听收音机是必须要连接有线耳机作为收音机的天线,才能正常使用的,再到手机点声音外放就应该能连接到蓝牙了
留下你的评论
内容为广告/垃圾,我要举报!
特聘专家具有协助内容审核的特权
举报后内容将不能在前台展示
错乱举报会导致该权利被剥夺
选择举报原因×
兄弟,蓝牙音箱听收音机有耳机线就要是用耳机代替天线的作用,用以更好的接收无线电信号。如果说你让为这样很麻烦的话,给你支个小招。现在咱们的安卓手机不是有的带天线吗,就是那么支持3G网络电视的那种机子,你把那种机子上的耳机插孔天线用到蓝牙天线插孔里。这样就能够解决了问题了。手工码字不容易啊。。
留下你的评论
微信公众账号ZOL问答堂
关注微信,随时随地解答您的疑惑
ZOL问答堂官方微博@ZOL问答堂
关注成功!该问题被回答后,将给您发送站内短信。
您也可以通过关注问答堂微信,及时获得您关注问题的回答。
微信关注问题方法“”

我要回帖

更多关于 音响和蓝牙耳机一起用 的文章

 

随机推荐