Bluetooth management - Nexus 5 Q&A, Help & Troubleshooting

I never really bothered to thing about this until recently, but I personally have three ways I use bluetooth.
1) My car, when I get in my car I want my phone to connect to bluetooth
2) My headphones, when I turn on my headphones I want my phone to connect to bluetooth
3) My home stereo, I only want this connection to happen when I initiate it
Is there anyway to manage bluetooth connections per device like this in Android? As it stands my only thought is to have my home Tasker profile disable bluetooth, but that's a hacky workaround and I'm hoping something better exists (also something that doesn't require tasker so I can make it work on my wife's phone too).

Trigger app should do the trick. You can create profiles for each BT connection.

Related

Bluetooth issue

Hi ppl,
I'm having issues with bluetooth on mytouch4g phone.
To connect it to hands free set I have to every time turn off and then turn on bluetooth on my phone.
Anyone have similar issue?
Is there a setting somewhere to set default device?
Thanks
Do you mean "Hands free mode" or do you mean pairing a stereo BT headset?
With the stock OS -- "Hands free mode" can be set by either 1) starting the Car Dock application, or 2) Using the BT headset phone button or the Genius button to enable speech commands, and saying "Hands Free On" once the phone is ready.
With the stock OS -- pairing of the phone occurs automatically whether the phone or headset is powered up first. Pairing of media (for stereo headsets) will only occur automatically with any degree of regularity -- from experimentation and observation by others, reported on forums like this -- if the phone's BT is powered up =after= the headset. One can manually disable and enable media connectivity after long pressing on the device in the BT settings window, and that will establish the media connection -- but it is probably easier to have a BT power toggle on your home page somewhere.
If neither of these answers the question you were asking, please rephrase it. And of course, for a custom ROM (non-stock OS), ask in the appropriate ROM's thread in the development subforum.
I mean bluetooth at car. I'm able to pair my phone with car and connect with no issues.
If I get into the car with my phone and bt on - it will not establish connection. I have to turn off bt on the phone and turn it back on. Then it will establish connection. It works fine with my old Fuze.
alex_gim said:
I mean bluetooth at car. I'm able to pair my phone with car and connect with no issues.
If I get into the car with my phone and bt on - it will not establish connection. I have to turn off bt on the phone and turn it back on. Then it will establish connection. It works fine with my old Fuze.
Click to expand...
Click to collapse
i have the same exact problem except i can't use any of the bt features on my car.
2010 infinit G37
any help would be greatly appreciated

[Q] Android-to-Android Bluetooth Profiles

Hi everyone,
I am an owner of the GSIII I747M and the ASUS Transformer, both running ICS. I recently had this idea (fantasy?) where I mount the Transformer in my car, hook it up to the car speakers and basically use it as my in-car infotainment system instead of the headunit that's in there. Nothing wrong with my in-car headunit (except the fact that I can't get bluetooth to work with my GSIII), but the tablet will give me tons more features. When I enter the car, I want the tablet to automatically tether to my phone via wi-fi and via bluetooth. Wi-fi is for internet access and it works just fine. The bluetooth is for the hands-free profile, so that when I receive a call, the music/navigation/whatever gets interrupted and I can take the call. I also want to be able to dial from the tablet.
When I connect the two devices via bluetooth, I don't have a hands-free profile; indeed I have no useful profiles at all. My question is simple: is there an app for that? Any suggestions? Has anyone done this? Thanks!
TabletTalk will let you answer/make calls on your tablet so long as it's pair to your phone and you're on a bt headset. It also handle your phone's SMS.
AutoTether can automatically tether your tablet to your phone hotspot.
Thanks, but that's not quite what I was like for. I won't be texting and driving, even on a tablet. I'm looking to use my tablet as a BT headset. I can pipe my output to the car's speakers and the tablet has a mic, so I can use it to talk on the phone while driving. Is there an app that can do that?
That would be awesome!
Let me know if you figure it out
I'm looking to do the same thing... Maybe it's time to learn how to code for Android. I've done some interfacing with BT at the driver level before but it was back before BT even officially came out, so there was not a Handsfree Profile ;-)
I couldn't find an app or anything that does this, so I think I'm SOL until someone makes an app with this capability.

Howto AutoUse BT Pair for Media Audio?

I've touched on this question before but I may have been using some wrong terminology.
On my S3 I have successfully created a BT pairing with a BT Audio Device use which has a steroe out fed into my car's head unit's Aux In.
So, it is Auto-Paired. That is, when I step into my car and turn on the ignition thus powering up the BT Audio Device the paring is available to be used for Media Audio.
However, in order for my phone to route audio to the BT Audio Device I must enter the phone's BT menu and tell the phone to connect to the Device for Media Audio.
I can either do this through the notification pane to see pairings then tap the pairing to use for Media Audio or I can go through settings->BT and do the same thing.
Either way, it's a huge PITA to do this every single time I get into my car.
There has got to be a way to have the phone automatically route Media Audio through this BT Audio Device upon detection. My previous two phones had nowhere near the ability of my S3 but they had no issues whatsoever with automatically pairing and routing audio to this BT Audio Device.
Is the S3 really this stunted in the BT department? If so, is there an app that fixes this stupidity with grace and non-intrusiveness?
crabapples said:
I've touched on this question before but I may have been using some wrong terminology.
On my S3 I have successfully created a BT pairing with a BT Audio Device use which has a steroe out fed into my car's head unit's Aux In.
So, it is Auto-Paired. That is, when I step into my car and turn on the ignition thus powering up the BT Audio Device the paring is available to be used for Media Audio.
However, in order for my phone to route audio to the BT Audio Device I must enter the phone's BT menu and tell the phone to connect to the Device for Media Audio.
I can either do this through the notification pane to see pairings then tap the pairing to use for Media Audio or I can go through settings->BT and do the same thing.
Either way, it's a huge PITA to do this every single time I get into my car.
There has got to be a way to have the phone automatically route Media Audio through this BT Audio Device upon detection. My previous two phones had nowhere near the ability of my S3 but they had no issues whatsoever with automatically pairing and routing audio to this BT Audio Device.
Is the S3 really this stunted in the BT department? If so, is there an app that fixes this stupidity with grace and non-intrusiveness?
Click to expand...
Click to collapse
I feel ya, in the past, all I had to do was toggle BT on and go, now there's two or three extra steps which almost defeats the use of a toggle.
I just started searching for some answers and am honestly surprised no one else has made a big deal about this. If I find something, I'll post it up... For now, going to take a look at some system files and build.prop stuff, but it's not really my department.
Got some NFC tags and NFC Task Launcher hoping I could circumvent the BS with a hardware hack. But no, the best this does is auto toggle the BT radio and open the device selection screen where 2 more taps are required to actually use the device for media audio. Any new insight out there? Considering Tasker app but it is rather expensive and no free version to see if it does the trick.
My Bluetooth Auto Corrects Just fine to my cars Bluetooth... Toggle on and go. Running AOKP currently but it worked properly on stock, stock rooted, and Synergy as well.
I haven't gotten a chance to try this yet but I probably will tomorrow.
Tasker forum post indicating the problem is well known, prevalent and hardly any fixes exist:
https://groups.google.com/forum/?fromgroups=#!searchin/tasker/bluetooth$20audio/tasker/TLsjT9Exle8/ZLlgvEn5vUUJ
An app that forces the connection amongst other things:
https://play.google.com/store/apps/details?id=a2dp.Vol
A Tasker plugin leveraging the force connect code which happens to be GPL'd in case any of our fine developers would like to start making ROMs that address this major drawback of using a S3:
http://code.google.com/p/a2dp-connect/
crabapples said:
I haven't gotten a chance to try this yet but I probably will tomorrow.
Tasker forum post indicating the problem is well known, prevalent and hardly any fixes exist:
https://groups.google.com/forum/?fromgroups=#!searchin/tasker/bluetooth$20audio/tasker/TLsjT9Exle8/ZLlgvEn5vUUJ
An app that forces the connection amongst other things:
https://play.google.com/store/apps/details?id=a2dp.Vol
A Tasker plugin leveraging the force connect code which happens to be GPL'd in case any of our fine developers would like to start making ROMs that address this major drawback of using a S3:
http://code.google.com/p/a2dp-connect/
Click to expand...
Click to collapse
I haven't had any trouble with bluetooth devices reconnecting to my phone as soon as I power them on. I'm running cyanogenmod 10 rom.
Also you can get free trial of tasker from here tasker.dinglisch.net/download.html
zxsix said:
I haven't had any trouble with bluetooth devices reconnecting to my phone as soon as I power them on. I'm running cyanogenmod 10 rom.
Click to expand...
Click to collapse
It seems the issue may be primarily with BT Audio Gateways. I don't have this issue with my laptop at all and I'm imagining car head units rarely see this problem.
That said A2DP Volume App fixed this issue for me. Once configured I did have to manually set the device to use media audio one last time before A2DP Volume started doing it for me. I configured NFC Task Launcher to kill wifi, enable BT and launch A2DP volume when it contacts the tag in my car and it works perfectly. Since NFC Task Launcher front ends into Tasker and Tasker has the A2DP force connect plugin available I'm seriously considering getting Tasker for all the other cool features it can do besides scratching this particular itch.
crabapples said:
I've touched on this question before but I may have been using some wrong terminology.
On my S3 I have successfully created a BT pairing with a BT Audio Device use which has a steroe out fed into my car's head unit's Aux In.
So, it is Auto-Paired. That is, when I step into my car and turn on the ignition thus powering up the BT Audio Device the paring is available to be used for Media Audio.
However, in order for my phone to route audio to the BT Audio Device I must enter the phone's BT menu and tell the phone to connect to the Device for Media Audio.
I can either do this through the notification pane to see pairings then tap the pairing to use for Media Audio or I can go through settings->BT and do the same thing.
Either way, it's a huge PITA to do this every single time I get into my car.
There has got to be a way to have the phone automatically route Media Audio through this BT Audio Device upon detection. My previous two phones had nowhere near the ability of my S3 but they had no issues whatsoever with automatically pairing and routing audio to this BT Audio Device.
Is the S3 really this stunted in the BT department? If so, is there an app that fixes this stupidity with grace and non-intrusiveness?
Click to expand...
Click to collapse
You can fix this relatively easy by getting the app Tasker. I use it to do things like automatically start the music player I want when headphones are plugged in, to turning up the brightness automatically when I am getting an incoming call, etc. I am fairly certain you could set up the program to do whatever you want via bluetooth if you fiddle with it.
Gluck!
mdt73 said:
You can fix this relatively easy by getting the app Tasker. I use it to do things like automatically start the music player I want when headphones are plugged in, to turning up the brightness automatically when I am getting an incoming call, etc. I am fairly certain you could set up the program to do whatever you want via bluetooth if you fiddle with it.
Gluck!
Click to expand...
Click to collapse
LOL, if you had only read the rest of the thread...
Yeah, Tasker cannot do this OTB but with the A2DP Connect Plugin it can. Or you can just run the A2DP Volume app and do the same for free.
That the A2DP Connect code is GPL it would be super sweet if our developers incorporated the magic into the ROMs so that a base install didn't need apps to do something so simple as automatically route media audio to BT gateways.
This happens to me when I use the wrong settings in my cars head unit. My Toyota gives me the option to pair as a multimedia device, a phone or both. If you set it up as just a multimedia device then you won't have some functionality. Check your head unit manual and try to re-pair. You might have to delete the existing pairing for it to work right.
rfmodeler said:
This happens to me when I use the wrong settings in my cars head unit. My Toyota gives me the option to pair as a multimedia device, a phone or both. If you set it up as just a multimedia device then you won't have some functionality. Check your head unit manual and try to re-pair. You might have to delete the existing pairing for it to work right.
Click to expand...
Click to collapse
Yeah, it's not a head unit, it's an audio gateway that basically is just a BT receiver with a stereo out and no interface so it is what it is with no configuration options. This issue with the S3 appears to be primarily related to these types of devices.
crabapples said:
Yeah, it's not a head unit, it's an audio gateway that basically is just a BT receiver with a stereo out and no interface so it is what it is with no configuration options. This issue with the S3 appears to be primarily related to these types of devices.
Click to expand...
Click to collapse
Oh okay. When I look under the bluetooth menu in CM10 I have a paired connection that I named Car Multi-Media and if I look at its settings I see profiles called Phone audio and Media audio. I'm guessing you just have a Media audio profile. Not sure how to help you there. Sorry.

One click - Connect 2 Specific Bluetooth device for A2DP and Phone app

An amazing One click - Connect 2 Specific Bluetooth device for A2DP and Phone app:
Bluetooth Pair
https://play.google.com/store/apps/details?id=com.gnssoftworks.bluetoothpair
found it very useful for swapping bluetooth headphones between devices WITHOUT turning off Bluetooth entirely or going into the settings menu.
Example Use Case:
I have one Stereo Bluetooth headset with mic (two profiles - phone and A2DP audio)
I have one Android Phone and one Android Tablet.
Phone Profile is always connected to the Android Phone, but the A2DP audio changes depending on which device you want to listen to music from.
Normally, if you want to listen to audio from the Tablet when your headset's A2DP profile is connected to the phone, you'd have to first go to the settings menu of the phone, and disconnect the A2DP, leaving Phone Profile connected. Then go to the settings menu on your tablet and connect the A2DP only.
Then you'd have to do the opposite if you want to listen to audio from the Phone again.
Takes a long time.
With Bluetooth Pair, you can specifically connect or disconnect to a specific device and specific profile (phone / a2dp) by widgets.
So you won't have to turn off the bluetooth completely on one device just to allow your headset to connect another device. Nor do you need to go into settings anymore.
1.) Just tap on the A2DP device specific widget on the phone to disconnect, the A2DP Profile from the phone
2.) go to the Tablet, and tap on the A2DP device specific widget to connect the A2DP profile of the headset to the Tablet
Two taps!
Would you mind sharing a code snippet on how you achieve this? I've been working on a little program that I intend to use around the house and this is the missing piece that I can't figure out. Basically, I have some NFC tags spread around the house and a receiver app that triggers various actions. One of them enables bluetooth on my device (if off), turns on my home audio receiver (over telnet), connects to the receiver's A2DP device (this is the missing piece), and launches a music app.
I've seen examples where this works using an AIDL method, but from what I've gathered this no longer works under Android 4.2. Does your app work on 4.2? Any hints you can provide?
Thanks!
Brian
I'm not the writer of this app.
You could try contacting them via the email listed on Google Play.
BTW, while you're making your app, please dedicate a thread to it on XDA so we can all beta test and buy it later!
klau1 said:
I'm not the writer of this app.
You could try contacting them via the email listed on Google Play.
BTW, while you're making your app, please dedicate a thread to it on XDA so we can all beta test and buy it later!
Click to expand...
Click to collapse
Oh, OK. I just assumed this was your app.
After reading the Play Store description more carefully, I don't think this app actually does what I'm trying to do (programmatically establish an A2DP connection). It appears this app enables / disables certain profiles but the actual connection is still handled by the OS.
As far as the app I'm making, I was intending it to just be something for personal use. I'm planning on keeping it very lightweight and tailored specifically to my needs. For it to be used by anyone else they would have to have the same brand of A/V receiver as me (Pioneer) that supports the same telnet commands. Most of the rest of the functionality of the app can be duplicated by using some of the existing NFC apps like NFC Task Launcher. If I ever develop it into something interesting that could be used by a wider audience I probably will post it on XDA for feedback though.

[TUTORIAL] How to use Gear 2 (Neo) in harmony with other Bluetooth devices

When I bought Gear 2 Neo a week and a half ago, I immediately faced the following issue: how the hell I keep using my Bluetooth earpiece for conducting phone calls? As cool as it looks talking to the Gear, it's not as convenient as wearing an earpiece, and I've been using those for the last 12 years. This new annoyance combined with an old one: when I'm in the car, I want my phone to automatically switch to the car in-built Bluetooth audio, both for phone calls and for media. I don't want to do this manually! And now, with the Gear, just think of the possibility of talking to the watch while driving the car!
Now, the Samsung phone owners have the luxury of being able to switch to the earpiece after picking up the call on the Gear. Not ideal, but workable. Still puzzles me though if you're able to choose a specific Bluetooth phone audio device if you have more than one (e.g. as with the earpiece and the car example). But we, the non-Samsung owners, don't even have this option. So finding a solution was due!
So, here are my use cases:
When I'm not in the car, I'd like the phone to be connected to the Gear all the time while not in the call. This makes sure I get all the notifications etc.
When not in the car and I'm engaged in a call, I'd like Bluetooth phone audio to switch to my earpiece as soon as possible. This automatically disconnects the Gear, meaning I'm no longer able to receive notifications on it. But this is not an issue, as, when I'm on the phone, I prefer not to be distracted anyway. At the end of the call I want Bluetooth audio to reconnect back to the Gear.
When I'm in the car, I'd like my phone to connect to the built-in Bluetooth phone and audio. I would like to stay it like this for as long as my car audio system is on. This means I won't receive any notifications on the Gear, but I reckon this is rather good while driving. When my car audio is off, I'd like the phone to automatically reconnect back to the Gear.
There are two pieces of software that helped me with achieving this:
Tasker. It's not free, but is worth every cent you spend on it. What's more, you can download a 7-day free trial to play with this guide before you commit to buying it.
Secure settings. All the functionality you need for this guide is included in the free version.
My triggers are:
Phone ringing or off hook and not in the car: connect to the earpiece
Phone idle and not in the car: connect to the Gear
Car application is launched (happens automatically when I plug my HTC One M8 into its car holder): toggle car mode on, which, in turn, connects to the car Bluetooth
Power disconnected (which is what happens when I turn car engine off or pull the phone from the car holder) and the car mode was on: toggle car mode off
Car mode switched off: connect to the Gear
Device boot: connect to the Gear
Now, you can import the attached file into Tasker on your phone and give it a go. You will need to go and replace the device MAC addresses and names with YOUR devices first (in Secure Settings configuration for each and every relevant task).
If you don't have in-car Bluetooth, just disable the corresponding profiles.
Now, there are some things that need improvement:
Right now I can't answer the calls on the Gear even if I want (e.g. if I forgot my earpiece at home or if it's out of battery). The reason for this is the way Secure Settings plugin performs BT Connect action: it disconnects the currently connected device first and only then tries connecting the other device. Also, there is no way to figure out if this connection was successful or not. I'm thinking of implementing a special toggle that will disable automatic earpiece connection on user request.
One scenario that is not properly implemented yet is switching from in-car BT to the earpiece while in the call (e.g. when you arrive at your destination while talking on the phone and want to live the car without disconnecting the call). Right now this requires manual intervention.
Unfortunately, Bluetooth connectivity of many devices is still quite buggy. I often find that, despite the fact the phone shows it's connected to the device, the audio is not going through. Or the device doesn't think it's connected (both happen quite often with my in-car BT). Usually, what helps in this situations is resetting Bluetooth on the phone or on the device or on both. I'm thinking of adding BT off/on action before any device switch just to improve reliability. However, sometimes the device needs to be reset, which may be easy (e.g. turning the earpiece off and on) or not (you can't turn the in-car BT off without stopping the engine).
That's all for now. Feedback is appreciated!
Great add thank you!
Y
Sent from my SAMSUNG-SM-N900A using XDA-FORUM, powered by appyet.com
I'm having difficulty opening your file below. Do you open it using tasked, open via file explorer and edit or open via service manager. I also have the m8 and appreciate all the work you've done. I'm fairly new to tasked so figured it would be easier to change your file and then load it.
kartch said:
I'm having difficulty opening your file below. Do you open it using tasked, open via file explorer and edit or open via service manager. I also have the m8 and appreciate all the work you've done. I'm fairly new to tasked so figured it would be easier to change your file and then load it.
Click to expand...
Click to collapse
I have appradio 2. Is there a way to modify this to always disconnect the gear and connect the car radio when I plug in USB from the radio?
You can also accomplish all this with LLama profiles which is a free application
I ended up making my own. Was better as now I have some working knowledge of tasker and secure settings. I dont have Bluetooth in my car so was a little easier.
One thing I did add was a 5 second wait/delay so I can still look at who is calling on the watch, decide if i want to answer or reject from the watch and then if I do answer it automatically disconnects the Gear and allows you to talk through the phone or earpiece.
Thats my only addition as it maintains some function of the watch to allow screening of calls without pulling phone from pocket.
There is a bluetooth setting if you'll only use it for media or phone calls or both )
Just sayin
Proud to Be PINOY
Follow us on twitter @BuhayKolehiyo and @pinoulyKaKung
Sent from my Galaxy Note 3
mjpineda94 said:
There is a bluetooth setting if you'll only use it for media or phone calls or both )
Just sayin
Proud to Be PINOY
Follow us on twitter @BuhayKolehiyo and @pinoulyKaKung
Sent from my Galaxy Note 3
Click to expand...
Click to collapse
How exactly this helps (or is even related to) the issue at hand?
mpogr said:
How exactly this helps (or is even related to) the issue at hand?
Click to expand...
Click to collapse
because instead of disconnecting and reconnecting your watch you can leave it on and choose another device for voice calls and or notifications
mjpineda94 said:
because instead of disconnecting and reconnecting your watch you can leave it on and choose another device for voice calls and or notifications
Click to expand...
Click to collapse
The problem is the phone can have only one device connected to it using phone headset profile and it won't use any other profile (e.g. multimedia) for making calls.
Sent from my GT-I9505 using Tapatalk
Thanks ! Help me alot!
Nc
I need some resolve to me after the call is automatically disconnected BT Handset Gear2 but have remained constantly connected. Do with Timo anyone have experience? Thank you.
I solved this by using an nfc tag as a switcher! I bought an Nfc tag for just 25cents and I wrote on it with the free app Trigger... When I get in the car I swipe the phone on the nfc tag and it connects to the car BT and when I swipe the phone again it switches back to the gear!
Inviato dal mio GT-I9300
mjpineda94 said:
There is a bluetooth setting if you'll only use it for media or phone calls or both )
Just sayin
Proud to Be PINOY
Follow us on twitter @BuhayKolehiyo and @pinoulyKaKung
Sent from my Galaxy Note 3
Click to expand...
Click to collapse
How do you get to that setting? The only option (I have it connected to an M8) is phone audio
longshot201 said:
How do you get to that setting? The only option (I have it connected to an M8) is phone audio
Click to expand...
Click to collapse
It doesnt work
you need NFC , Task or Llama
NRGZ28 said:
You can also accomplish all this with LLama profiles which is a free application
Click to expand...
Click to collapse
[EDIT]
Hi,
I'm trying with Llama, can you give me some help?
I add a new condition "ringing", but I don't understand the related action. Per my understanding I need to disconnect the GEAR, but I cannot find the specific action.
Ok, I understand that is needed Secure Setttings, but I still not able to do what I need: when the action is executed, I need to disconnect gear...
Ok, now everything is OK.
Just to clarify for who is not able to import che xml for Tasker or just want to use Llama that is free.
It is necessary to install "Secure Settings" and to create a Local Plugin Action, involving Secure Settings.
In Secure Settings, selecting the BT connect/disconnect action, it is possible to select from a list of paired device on which of them perform the "connect/disconnect" action
Thanks a lot.

Categories

Resources