headset Questions
3
i am working on a VoIP-Android-App. I would like to accept and decline Calls via a connnected Bluetooth Headset in an Activity.
What I have tried so far:
Using a Media Session to receive Media ...
Semiyearly asked 18/7, 2018 at 10:28
3
Solved
Android Emulator - How to emulated headset plugged.
Is it possible to simulate the action of a headset being plugged in?
Basically, I want this intent fired - Intent.ACTION_HEADSET_PLUG. Is ther...
0
I have bluetooth earbuds with great sound quality and built-in microphones. In my android bluetooth device settings, I have to switches for media profiles: 'Call audio' and 'media audio'
Behavier w...
2
Solved
I have build an audioplayer which is deployed in android google playstore. I'm using crashlytics to monitor crashes and ANRs. Recently I have been getting a lot of crashes MediaButtonReceiver. The ...
Sultry asked 6/7, 2018 at 18:58
3
Solved
In my project, I use AVAudioSession to detect any headphone is plugged or unplugged. But in this case, I can't detect when bluetooth device is plugged. Here is my code for headphone state.
- (voi...
Araarab asked 8/3, 2015 at 16:27
2
I have a bluetooth headset. When connecting it to Windows 10, it installs two profiles in Playback devices list:
Hands-Free. (HSP profile)
Stereo. (A2DP profile)
The Second one (Stereo) is set...
Gladiate asked 3/12, 2016 at 18:23
3
Solved
Is there a way to detect the headset's play/pause button click?
I managed to detect the volume buttons clicks using:
AudioSessionAddPropertyListener( kAudioSessionProperty_CurrentHardwareOutputVo...
0
This topic pops up sometimes but i can't have that thing working. My app used to handle media button, but API after Android 5.0 changed and it need to adapt this app to "catch" bluetooth buttons an...
Missymist asked 16/6, 2019 at 18:41
2
Solved
I have created a simple Bluetooth device using following components
HC05 module
Arduino Uno board (with re-programmable micro-controller)
I am wondering if it is possible to send commands from ...
1
Detect Headset buttons double click and Long press(click) Android
I am trying the bellow code
public class MediaButtonReceiver extends BroadcastReceiver {
@Override
public void onReceive(Co...
1
Solved
Here's my effort to make a working code to handle a headset button event the best way. I read the Android developer guide, but it is obviously wrong because they ask to start listening registering ...
1
Solved
I'm trying to trigger different actions inside only my own app using buttons of plugged headset (something similar what pressy does). I noticed however that no matter if I use MPRemoteCommandCenter...
1
Solved
I am trying to receive media button events from headsets or car controls (play/pause/etc.)
This is in my app manifest.
<service android:name=".mediaPlayerService.MediaPlayerService"
android:e...
Rory asked 7/7, 2016 at 13:41
4
Solved
I'm doing an application using ACTION_MEDIA_BUTTON handler, but it appears it is always intercepted by MX Player or Apollo and I get no Intent
I've tried both 1000 and 2147483647 priority set in t...
Burp asked 11/9, 2013 at 6:47
2
Solved
I was just stumbling around EE Stack and found this post: What protocol does a headphone jack use. And it sparked some curiosity in me, and I figure, if the iPhone can do it, I want to as well.
Do...
2
Solved
I am searching a work-around for my problem specified in this question:
How to disable the wired headset programmatically in Java
As mentioned there, I am getting audio in both my speakers and he...
Dual asked 7/1, 2014 at 6:45
0
I am trying to make a web app wherein it reacts to an event from the headset button. I know that the keyCode for the head set is 79. (I checked it using a key event reader app.) Nothing happe...
Nickolas asked 16/9, 2015 at 17:4
1
How to verify if there is any bluetooth headsets conected to android at the moment?
Like:
If there is a headset conected, the sound must route to this headset
But if there isnt a headset, the so...
1
Solved
I have created a GitHub repo with a sample project that shows the below problem I am asking about here:
https://github.com/paulpv/audio-loopback/tree/simplified/app/src/main/java/com/twistpair/wave...
1
Solved
I have registered a BroadcastReceiver to receive ACTION_HEADSET_PLUG which works fine for most devices, ie it is called whenever the headset is plugged or unplugged. But on others eg the ZTE T815, ...
Shearwater asked 20/2, 2015 at 0:19
0
In my application I have to make call using Intent using Bluetooth Headset. Right now I am using below link.
I used implementation from Using the Android RecognizerIntent with a bluetooth headset
...
Sapper asked 23/8, 2014 at 14:2
0
I am working on an application in which I have to recognize bluetooth headset voice. I have troubled a lot but still not get any solution.
I am following this link:
Using the Android RecognizerIn...
Darbydarce asked 25/7, 2014 at 14:27
3
Solved
How to get Bluetooth Headset connection state (connected/disconnected) using android api level 8 on application start-up?
Is there any sticky broadcast intent available in android2.2?
Is there any ...
1
I'm trying to use the android.net.rtp library to make a VoIP application. Its audio stream can be both sent and received correctly.
My problem is: The speaker of the callee's phone works fine, but...
1
I know how to detect whether a headset is plugged in but some headsets (e.g Samsung EHS60ANNBE) come with the PAUSE/PLAY (a.k.a KeyEvent.KEYCODE_HEADSETHOOK) button only, without the PREV/NEXT...
...
Needy asked 27/3, 2013 at 18:1
1 Next >
© 2022 - 2024 — McMap. All rights reserved.