0
我想創建一個廣播接收器,它將在藍牙設備與其他設備連接時偵聽。Bluethooth連接到其他設備BroadcastReceiver
我只找到這個。
<intent-filter> <action android:name="android.bluetooth.device.action.ACL_CONNECTED" />
<action android:name="android.bluetooth.device.action.ACL_DISCONNECT_REQUESTED" />
<action android:name="android.bluetooth.device.action.ACL_DISCONNECTED" />
</intent-filter>
,但我認爲,建立與其他設備的藍牙連接不是當服務搜索時ACL_CONNECTED
才能被激活。
我是對的還是我該怎麼做?