How to detect if bluetooth device is connected
<p>In android how can my Activity will get to know if a Bluetooth A2DP device is connected to my device.<br>
Is there any broadcast receiver for that?<br>
How to write this broadcast receiver?</p>

<p>Thanks.
PP.</p>
