Questions tagged [headset]

A headset is an accessory that combines a headphone with a microphone. It allows users to operate in hands-free function. They have multiple applications.

Headsets have multiple applications as monitoring fitness, monitoring movement, storing/playing music or audio files.

259 questions
0
votes
0 answers

How to make call using Intent using Bluetooth headset

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 When calling dialog open Bluetooth Headset Connection…
hharry_tech
  • 952
  • 1
  • 8
  • 24
0
votes
1 answer

How can I start a call via Intent, but make sure it goes via Bluetooth Headset?

I can start a call with Intent intent = new Intent(Intent.ACTION_CALL); intent.setData(Uri.parse("tel://" + number)); startActivity(intent); But I want to make sure that when that call is started, it will be handled via the connected…
Eir
  • 1,003
  • 9
  • 24
0
votes
1 answer

Android: Dead code?

I am creating an android application that uses bluetooth to connect to a NeuroSky headset. In the following code I am getting the error of "dead code" for my if statement and cannot figure out why? Particular code block: (I am trying to create…
user3764523
0
votes
1 answer

How to switch to BT headset while wired headset is plugged in

The problem is that wired headset it seems has priority higher then BT headset. So this snippet doesn't resolve the problem AudioManager audioManager = (AudioManager)getApplicationContext().getSystemService(Context.AUDIO_SERVICE); …
Kiryl Ivanou
  • 1,015
  • 2
  • 12
  • 22
0
votes
0 answers

Android - How to sent Data to Arduino through Headphone Jack

How to send and receive the data to / from arduino through headphone jack in android. Is there any sample to start the code for android. As i come across various sites, they were told like Digital data from arduino has to be send as audio signal to…
jerith
  • 141
  • 1
  • 7
  • 18
0
votes
0 answers

Boosting bluetooth audio / realising how does it work

I want to boost the audio output over bluetooth on android device (Xperia Z1 running 4.4), but I can't find a file where the output level is designed. All audio devices are defined and configured in mixer_paths.xml like speaker, anc headphones,…
olokos
  • 35
  • 1
  • 6
0
votes
1 answer

Route audio calls to wired headsets

I am trying to make audio calls using SIP in android. The issue I am facing right now is that when I plug in the wired headset into my device I can hear the audio well, I only cannot speak through the microphone on the headset. So, I end up using…
Anirudh
  • 2,080
  • 5
  • 21
  • 34
0
votes
1 answer

Play sound from speaker android

I use this code to try: AudioManager audioManager = (AudioManager)getApplication().getSystemService(Context.AUDIO_SERVICE); audioManager.setMode(AudioManager.MODE_IN_CALL); audioManager.setSpeakerphoneOn(true); And then: Ringtone r…
user3253955
  • 433
  • 1
  • 8
  • 17
0
votes
1 answer

Access data from SCO Socket

I have 2 Android phones and I have managed to convert one of them as Headset (Yes, I did root the phone for that). When an incoming call is received to the phone, the headset-emulated phone is able to take headset related actions like - pick call,…
amsurana
  • 234
  • 3
  • 11
0
votes
0 answers

Capture Voice Dialer or Call Button from Bluetooth Headset

I recently bought a Bluetooth headset, http://www.plantronics.com/middle-east/product/ml20, and have been attempting to receive the call button press to trigger a RecognizerIntent. However so far all my attempts have failed. Thinking that perhaps…
kwelliott
  • 204
  • 3
  • 10
0
votes
0 answers

Voice recognition with bluetooth headset

I have an app which uses voice recognition and tts. I want to use this app through bluetooth headset. I used code from this question: Using the Android RecognizerIntent with a bluetooth headset Unfotunately, it did not work for me neither recording…
latata
  • 1,703
  • 5
  • 27
  • 57
0
votes
1 answer

Android How to answer a call through handset earpiece when the headset is already connected?

A headset device has be connected to my phone.Now a phone call is coming, I want to answer the call just use the telephone not by the headset. How to do this ? Any help will be appreciate!
Read Mark
  • 683
  • 3
  • 11
  • 19
0
votes
2 answers

Making a Notification Icon appear on headset plugin

I want to make it so when one plugs in there headset, when doing whatever on there phone, not just begin on the app, a Notification icon appears in the Notification Area (Very top) I already have the Notification Icon code //Notification Icon…
Fernando
  • 450
  • 1
  • 7
  • 22
0
votes
2 answers

Making a notification icon appear on boot/headset plugin

I want to make it so when one plugs in there headset a notification icon appears. I've made it so when the phone turns on this runs which starts the MainActivity class which has the code for the notification icon in the OnCreate method so it just…
Fernando
  • 450
  • 1
  • 7
  • 22
0
votes
0 answers

Headset Button in Android

I set the priority of my intent into 100000 but still my app is being ignored when I press the headset button. Instead, just trigger the Built-in music player in my phone. What do I need to do to make this work? Here`s my code public class…
Hisam Hershy
  • 91
  • 1
  • 3
  • 8