11 questions
0
votes
0
answers
29
views
How to connect just_audio_background 0.0.1-beta.13 to bluetooth headset clicks for next and previous
I am using just_audio_background and cannot see how to integrate audio_service to receive the bluetooth headset skiptoNext and skiptoPrevious track buttons. The play/pause are handled in my app fine ...
2
votes
0
answers
79
views
How do I control my own programmed kotlin wear os stopwatch app with the bluetooth headset buttons skip forward and skip backward?
I programmed a wear OS app in Kotlin (and Jetpack Compose). The app is a stopwatch app and therefore has a start function and a stop function. Previously, these functions were triggered using a touch ...
1
vote
0
answers
94
views
Route MIC input through headset and at the same time AUDIO output through same headset
In my app, I need to take input voice(surrounding noise)from the headset and at the same time need to play some tone as output sound in the headset.
However, during the search, I found that it is not ...
1
vote
0
answers
69
views
Can't set bluetooth headset as default output device in OS X using CoreAudio API
I am having difficulty programmatically setting my Bluetooth headset (Apple Airpods) as the default audio output device on my OSX. I have attempted to use the CoreAudio API to set the device as ...
1
vote
0
answers
620
views
AudioManager MODE_IN_COMMUNICATION decreases the sound quality and causing crackling/popping sound
Description of the problem:
When the app is connected through Bluetooth headsets, I'm starting the audioManager.startBluetoothSco(). You can check the code below. The connection works well, but I have ...
1
vote
0
answers
747
views
How can I get my bluetooth tws/headset battery level in flutter ? (individual buds battery level as well as case battery level)
I'm trying to build an app using flutter which gets battery level of currently connected Bluetooth headset or TWS.
0
votes
0
answers
199
views
Detecting Bluetooth Headphones Key Press Android
I am trying to detect key presses of the Bluetooth headset. Overriding onKeyDown and dispatchKeyEvent methods can detect normal headphones presses but not the Bluetooth ones. The other questions ...
2
votes
0
answers
426
views
Connect to Bluetooth HSP/HFP service from android
I'm trying to build an application which allows me to answer incoming phone calls from my PC, so far, i was able to advertise a service using Pybluez in Python.
Now, How can i connect to that service ...
1
vote
1
answer
2k
views
Fail to catch android.intent.action.MEDIA_BUTTON
My app that uses TextToSpeech to read some text is 90% finishes but has been stuck at this part for a few days. All I want is have the play/pause button of my bluetooth headset (Xiaomi's Mi Sports ...
0
votes
0
answers
51
views
Android Studio Headset control button Click Events Error [duplicate]
I'm getting an error message in my Android application when I call the actionPlaying button in the onPlay method.
Here is my code:
@Override
public void onReceive(Context context, Intent intent)
{
...
0
votes
1
answer
454
views
STATE_CONNECTED doesn't mean it's really CONNECTED?
If we have a look at this, it says :
Android only supports one connected Bluetooth Headset at a
time.
Also the explanation of getConnectedDevices() :
Return the set of devices which are in state ...