scsjc Well-Known Member Licensed User Longtime User Aug 3, 2016 #1 Hello, i want know if is possible know from background service is A2DP BLUETOOTH AUDIO is conected? i found this code, but i don't know if the states 10...11...12...13.. tell something about this thanks!!!! Code: Copy Dim BluetoothAdmin1 As BluetoothAdmin BluetoothAdmin1.Initialize("BluetoothAdmin1") Sub BluetoothAdmin1_StateChanged (NewState As Int, OldState As Int) Log(NewState) Log(OldState) End Sub
Hello, i want know if is possible know from background service is A2DP BLUETOOTH AUDIO is conected? i found this code, but i don't know if the states 10...11...12...13.. tell something about this thanks!!!! Code: Copy Dim BluetoothAdmin1 As BluetoothAdmin BluetoothAdmin1.Initialize("BluetoothAdmin1") Sub BluetoothAdmin1_StateChanged (NewState As Int, OldState As Int) Log(NewState) Log(OldState) End Sub
Erel B4X founder Staff member Licensed User Longtime User Aug 4, 2016 #2 Try this: https://www.b4x.com/android/forum/t...-are-connected-to-bluetooth.16555/#post-96237 Upvote 0
scsjc Well-Known Member Licensed User Longtime User Aug 9, 2016 #3 Erel said: Try this: https://www.b4x.com/android/forum/t...-are-connected-to-bluetooth.16555/#post-96237 Click to expand... Thanks... Perfect! Upvote 0
Erel said: Try this: https://www.b4x.com/android/forum/t...-are-connected-to-bluetooth.16555/#post-96237 Click to expand... Thanks... Perfect!