Android :: Routing Audio To Bluetooth Headset API Level
Jun 27, 2010
if it was possible to route audio files from the phone to a bluetooth headset on versions of Android API Level 7 and under (so versions older than the new Froyo) If so, do you know of any sample code I could look at to figure out how to do this? Or perhaps just point me in the right direction?
View 2 Replies
Jan 27, 2010
I have a non -A2DP single ear BT headset (Plant ronics 510) and would like to use it with my Android HTC Magic to listen to low quality audio like pod casts/audio books. After much goggle I found that only phone call audio can be routed to the non-A2DP BT headsets. (I would like to know if you have found a ready solution to route all kinds of audio to non-A2DP BT headsets). So I figured, somehow pro grammatically I can channel the audio to the stream that carries phone call audio. This way I will fool the phone to carry my mp3 audio to my BT headset. I wrote following simple code.
import android.content.*;
import android.app.Activity;
import android.os.Bundle;
import android.media.*;
import java.io.*;
import android.until.Log;
public class BT Audio Activity extends Activity. But none of the above worked. If I remove the Audio Manager calls in the above code, the audio plays from speaker and if I replace them as shown above then the audio stops coming from speakers, but it doesn't come through the BT headset. So this might be a partial success. I have checked that the BT headset works alright with phone calls. There must be a reason for Android not supporting this. But I can't let go of the feeling that it is not possible to pro grammatically reroute the audio.
View 5 Replies
View Related
Mar 9, 2012
One of my friends with an iPhone showed me how a battery level meter is next to the bluetooth symbol when his headset is connected(new feature in iOS5 from what I found online). He was also using a cheap Motorola headset too. Is there an app or widget that does the same thing on Android?
View 12 Replies
View Related
Jul 15, 2010
How do I tell my droid X to port all audio to my headset? I used to do this with my windows mobile phone and I cannot seem to find the correct setting.
View 4 Replies
View Related
May 20, 2009
I met a problem of bluetooth headset. I want to switch audio playing to bluetooth headset when bluetooth headset is paired. I found BluetoothDevice in android sources which can control bluetooth. However it is not contained in android.jar. So I used AudioManager.setBluetoothScoOn(true)
But it still can't work.
View 16 Replies
View Related
Aug 18, 2010
Can we play the audio(amr file) to the Bluetooth headset(no A2DP support) by using android 2.1/2.2 version APIs? If so can you suggest me which API I have to use to do the same?
View 2 Replies
View Related
Apr 9, 2009
I am developing a recorder application It works fine with Microphone. I want to record from Bluetooth headset. I set it like
my_Aud_Mgr.setMicrophoneMute(true);
//AudioManager my_Aud_Mgr;
my_Aud_Mgr.setBluetoothScoOn(true);
But it cant record from Bluetooth device. How to record from Bluetooth device.
View 2 Replies
View Related
Sep 11, 2010
I really struggle when using my phone with my bluetooth headset as the audio level is so much lower than all my previous Sony Ericsson phones. I have made sure all the volume levels are at max on the X10 itself, and on the headset itself, but still the audio level is very low. The transmitted audio is fine, and the person I am speaking to never has a problem hearing me, but I really struggle to hear them. Is this a known problem that Sony Ericsson are aware of? Are there any fixes I can apply? I have downloaded a number of different volume apps from the market place, but not found any that seem to be able to increase the volume.
View 1 Replies
View Related
Jul 22, 2010
Is it possible to record an audio (not a phone call) using the bluetooth input and not the device microphone? I am able to playback whatever am saying through device's mic but am not able to figure out how to use the bluetooth mic instead.
View 6 Replies
View Related
Apr 4, 2010
I recently aquired a HTC Desire froom T-Mobile UK and one of the first things i did was to pair the headset with phone. All went well up to the point of using it to liten to music and video(a2dp), alas that did not work.
Making phone calls work, and strangely enough controling playback of media via the headset (avrcp), but no other audio routed through the headset. I tried a second a2dp headset and it was the same issue. They work perfectly on my other phones for years, the Desire is the first to have this problem.
- So could it be T-Mobile or HTC forgot/screwed-up the a2dp profile?
- Do i have a faulty handset? everything works well.
- Am I doing something wrong somewhere? I went throught the user guide a few times just to be sure.
View 22 Replies
View Related
Nov 11, 2009
Seems like I can only make calls but don't here music through my bluetooth headset. Is there some setting I'm missing? Why doesn't voice dial activate when I click on the headset. I always have to open the Voice Dial app by clicking on the screen.
View 22 Replies
View Related
Sep 16, 2010
I've paired a Motorola HS820 with my Desire. It all seems to connect and will even dial from the phone if I hold the button down but it doesn't seem to pass the audio through to the headset.
View 1 Replies
View Related
Jan 25, 2013
I have a Galaxy Note 2 and can't figure out how to record via my bluetooth headset not via the phone mic. Tried 20+ apps that record great via the phone mic but not via my headset.
View 10 Replies
View Related
Sep 6, 2012
I know this might be a silly question and probably not usefull to many but i am trying to connect audio out via bluetooth and out the headset jack at the same time
View 1 Replies
View Related
Jun 22, 2010
I Just got galaxy a few days ago, that's my first android and I'm really happy with it (especially after flashing to drakaz's ROM). But, there's one issue though: Since I'm using a motorcycle as my main vehicle, I'd like to mount the phone above the gauges and use my H350 For voice navigation when using GPS/phone calls/music.
(GPS navigation is the main reason for doing this). I've managed to pair the headset with my phone, under settings. I see my H350 with the following status: "Connected to phone audio". But still, except making phone calls, I can't hear music/any other audio with my bluetooth headset, it comes out of the phone's speaker instead. Is there any workaround/hidden setting I didn't see? I'm using "waze" for GPS btw.
View 2 Replies
View Related
Jun 30, 2010
Has anyone gotten audio routing to work succesfully on eclair? SetRouting and a number of functions don't work anymore.
View 3 Replies
View Related
Sep 13, 2010
I've been messing around with Tasker for the last several days, and it's raised a concern I've had with android itself. Is there a definitive answer to how audio is routed? I see that there are at least 6 audio stream types: call, system, ringer, media, alarm, notification. I also see (using Smart Volume or Quick Settings, etc.) that there are corresponding audio volume controls for each of the above.
My question is, which speaker do each of the audio streams get routed to? Obviously, there are different setups for when the headphones are plugged in and not. Here's what I see empirically so far: When the physical headphones are unplugged, the system, ringer, media, alarm and notification streams get routed to the external speaker. The call stream is routed to the earpiece.
When the headphones are plugged in, the alarm and notification streams seem to be routed to the external speaker (speakerphone, I guess). The call, system and media streams get routed to the headphones. The ringer stream has been behaving oddly. Sometimes it comes through the headphones, and sometimes through the ext. speaker.
View 2 Replies
View Related
Mar 22, 2010
I'm not sure on the status of routing audio to SCO based earphones. Does the 2.1 SDK support this already ? And if not, did anyone succeded in applying the work around with AudioManager.setBluetoothScoOn(true) ;
View 2 Replies
View Related
Apr 14, 2010
I upgraded from CL14 --> 2.1 DD03 last night. I've noticed the following issue with my Bluetooth / audio routing in my car.
Scenario
* Moment successfully paired to car's Bluetooth after DD03
* I can make/receive calls via Bluetooth -- voice commands with my car's Bluetooth system and call is successfully placed by Moment
* My car has an RCA/AUX jack - I've connected that to my Moment's headphone jack to listen to podcasts while commuting to work.
Here's where the problem starts. If the Moment's headphone jack is connected to my car's AUX input with an RCA cable, I can place calls via Bluetooth (or I can hear the ringing of an incoming call) but when the call is connected (incoming/outgoing) the audio isn't being sent from the Moment to the car's speaker. I know the call is connected because I see the call duration timer on the Moment's dialer screen -- and more importantly, if I remove the cable from the headphone jack the audio is then routed to the car's speaker via Bluetooth. If I plug the cable back into the jack, the audio stops again.
I'm pretty sure that this wasn't a problem in CL14.
View 5 Replies
View Related
Sep 22, 2010
I have push my first App to the market : it's a widget that unlock the restriction that limit the level the sound when you use a headset. It's take the form of a widget with a on/off switch. The apps is at 1� (I need the money to set a humanity project in Madagascar, so, it's will probably became free later). It's work on HTC Desire 2.2, and maybe on others devices. Please, report if so QR Code... Alternative download (if you can't buy paid apps on the market) : https://slideme.org/application/desire-sound-unlock.
View 3 Replies
View Related
Aug 9, 2010
I'm looking for some way in Android to play in-memory audio in a manner analogous to the waveOutOpen family of methods in Windows programming. The waveOut... methods essentially let an application create arrays of sample values (like in-memory WAV files without the headers) and dump them into a queue for sequential playback. Windows transitions seamlessly from one array to the next, so as long as the application keeps dumping arrays into the queue ahead of playback, the program can create and play continuous audio of any arbitrary length. The Windows API also incorporates a callback mechanism that the application can use to indicate progress and load additional buffers.
As far as I can tell, the Android audio API lets an application play a file from local storage or a URL, or from a memory stream. Is there any way to get Android to "queue up" MediaPlayer.start() calls so that one player transitions (without glitches) into the next upon play completion? It appears that Jet does something like this, but only with its own internal synthesis engine. Is there any other way of accessing Android audio in a waveOutOpen way?
View 1 Replies
View Related
Sep 10, 2010
I am a new SE user and am still getting to grips with using the phone's features. Could anyone advise how to transfer a call from a headset back to the phone and phone to headset? Whilst I am asking inane questions, is it possible to use the phone i.e. return to menu when in a call?
View 2 Replies
View Related
Nov 6, 2009
I want to capture audio and along with the audio I also want to show the live signal strength of the audio on the screen.
Is there ant api that give me information regarding the the loudness level (or at least some information indicating whether the user is silent or speaking something) of the audio or should I implement my own signal processing using the captured buffers and determine the level.
View 2 Replies
View Related
Feb 12, 2010
I have only had my Hero for a couple of weeks and am generally happy with it, but this issue is really, really bothering me. I dont know if it is an android OS issue (there are no settings I can find to overcome this problem, and My old HTC Touch HD also made by HTC did not have this problem). When listening to music via the headphones, the phone MUST automatically reduce the volume of the incoming call and notification ring sounds. It is dangerous for healthy hearing! Seriously, my phone is almost always set to full volume throughout the day, but when I plug my headphones in, and am listening to music, when the phone rings the ringing is UNBELIEVABLY loud and has frightened me out of my wits a number of times. My Touch HD used to automatically reduce the ringing and notification sounds when headphones were plugged in. Perhaps Android OS is not capable of this? I am curious to know, and would buy an app which could overcome this problem.
View 3 Replies
View Related
Sep 23, 2009
Is there a way to manage the audio levels through an app? Or is it more dependent on the phone's built in capabilities? Right now at work I listen to a skype audio call from my house (for security) at a very low volume and then at a higher level I listen to music or podcasts, both sources going at the same time. When my dog goes nuts, the door is knocked on, or (in theory) if someone busted down my door, I notice the change in volume and sound, turn off my local media, and focus on what I'm hearing until the drama passes.
I ask because I would like to continue this setup when not at work, like say while running, where I again have earphones in and am normally listening to audio content. I would like to be able to have two pieces of audio: music combined with a skype stream or normal phone call, going at the same time like at work. So is there a way to have two sources going at the same time, with the volume of each independently adjustable? Is this an app thing or a phone thing? Phone will be Sprint Hero.
View 1 Replies
View Related
May 1, 2010
What do you think of the audio level on the speaker of the incrediable?
I feel it is low and weak compared to the Motorola Droid.....
View 5 Replies
View Related
Oct 26, 2009
I first have to say that I'm biased, 'cus I like to write music apps (like music generation apps). However, this affects games as well. It's somewhat disappointing how OpenGL has made it into the NDK now but there isn't any NDK methods to get to sound to have faster access. Over the weekend I did some more testing and if you make a "drum" app, for example, and play the sound using either SoundPool or AudioTrack, you will get about a 100ms delay buffer, which is clearly audible (gap).
I made a test app where when you touch the screen, upon the DOWN event, it would play a short sound (like a drum sound). It clearly was not real time responsive or even close - you could hear the delay. I'd be interested to know if anyone who has made a game has any trouble with sounds? It seems like they aren't going to really trigger real time enough if you use SoundPool, for example. Am I completely wrong? Seems like your game is going to perform an action, play a sound, but the sound will have latency which I would think would throw off the game a bit..................
View 12 Replies
View Related
Jul 27, 2010
Is there anyway to adjust the audio level out of the Captivate? When I hooked it up to my car stereo to play Pandora, I had to max out the volume on the car stereo just to be able to hear it. I don't listen to music at outrageous levels. If I listen to a CD or the radio, the volume level is between 10 and 25. With the Captivate it is 40 and still not as loud as the radio.
View 2 Replies
View Related
Sep 15, 2009
I am working on android for omap zoom2 target. When I play audio clips, playback is fine and audio is coming via headset connected. But I can only hear the audio from left channel, nothing is audible from right channel. How to get stereo audio output via headset.
View 2 Replies
View Related
May 11, 2014
I have a friend at work who has a cheapie smartphone running vanilla Android and whenever he has his phone playing on the dock his lockscreen displays the audio levels behind the password prompt.
Audiophiles, I don't know the correct term for it, but it's all those little lines that go up for each frequency range. The treble side is on the left, bass is on the right.The background is black, the levels thing is a light blue-ish color.
I know he uses Play Music and he has a Pattern Lock, but so far I haven't been able to replicate it on my phone.My phone is a Galaxy S4 with 4.4.2 and the latest Play Music, swipe unlock, and a static picture as the background.I see no options for the levels thing in Play Music nor in my lockscreen settings.Is this something only in vanilla Android that Samsung tossed out?I think it looks really cool; better than the square album artwork awkwardly cropped to fit a rectangular screen.
If this is something vanilla only, are there any good free equivalents in the Play Store you'd recommend?How about compatibility with Rocket Player?
View 1 Replies
View Related