我写了一个示例代码来发现一个蓝牙耳机(jabra BT2035)。 引用http://developer.android.com/guide/topics/wireless/bluetooth.html#DiscoveringDevices
但它只能发现我的笔记本电脑。如果我的笔记本电脑启用蓝牙并设置启用可发现性。
SDK文档摘要:
android.bluetooth.device.action.FOUND"
public static final String ACTION_FOUND
Since: API Level 5
Broadcast Action: Remote device discovered.
Sent when a remote device is found during discovery.
我认为远程设备是指除蓝牙耳机外的远程笔记本电脑。 有人可以帮忙吗?
非常感谢。 BR, 佩罗特
答案 0 :(得分:1)
您很可能必须将耳机置于可发现模式。阅读耳机的用户手册。例如,我按住电源按钮5秒后,我的SONY BT耳机只能显示配对。