Bluetooth デバイスが他のデバイスに接続されているときにリッスンするブロードキャスト レシーバーを作成したいと考えています。
これしか見つからない。
<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
しかし、他のデバイスとのBluetooth接続が確立されたときではなく、サービスを検索するときにのみアクティブになると思います。
私は正しいですか、どうすればこれを行うことができますか?