Djembefola Active Member Licensed User Longtime User Aug 10, 2011 #1 Is there a way to determine if a) a Headphone Cable is plugged or b) a Bluetooth Audio Connection is established? Bluetooth Audio introduces a Delay of roundabout 500ms and my Application needs to compensate that. :sign0085:
Is there a way to determine if a) a Headphone Cable is plugged or b) a Bluetooth Audio Connection is established? Bluetooth Audio introduces a Delay of roundabout 500ms and my Application needs to compensate that. :sign0085:
Erel B4X founder Staff member Licensed User Longtime User Aug 10, 2011 #2 I don't think that it is possible. Upvote 0
S susu Well-Known Member Licensed User Longtime User Aug 10, 2011 #3 Erel, I think there's a way to determine when you plugin headset to the device. Like this app: Hearing Saver https://market.android.com/details?id=com.jakebasile.android.hearingsaver This app is open source so can you check the code? jakebasile / Hearing Saver / overview — Bitbucket Upvote 0
Erel, I think there's a way to determine when you plugin headset to the device. Like this app: Hearing Saver https://market.android.com/details?id=com.jakebasile.android.hearingsaver This app is open source so can you check the code? jakebasile / Hearing Saver / overview — Bitbucket
Erel B4X founder Staff member Licensed User Longtime User Aug 11, 2011 #4 They are most probably listening for a broadcast intent that is sent when the headset is plugged. This feature can be added to PhoneEvents. Still it will not allow you to find the current state of the headset (if the headset was plugged before your application has started). Upvote 0
They are most probably listening for a broadcast intent that is sent when the headset is plugged. This feature can be added to PhoneEvents. Still it will not allow you to find the current state of the headset (if the headset was plugged before your application has started).
metrick Active Member Licensed User Longtime User Aug 11, 2011 #5 Erel said: They are most probably listening for a broadcast intent that is sent when the headset is plugged. This feature can be added to PhoneEvents. Still it will not allow you to find the current state of the headset (if the headset was plugged before your application has started). Click to expand... I would like to see feature added to PhoneEvents. Thanks Erel. Upvote 0
Erel said: They are most probably listening for a broadcast intent that is sent when the headset is plugged. This feature can be added to PhoneEvents. Still it will not allow you to find the current state of the headset (if the headset was plugged before your application has started). Click to expand... I would like to see feature added to PhoneEvents. Thanks Erel.