[Q] One click connect to *specific* Bluetooth device? [NFC Automation] - Android Q&A, Help & Troubleshooting

Hi All,
I have an NFC enabled Samsung Galaxy Nexus and have placed NFC tags in specific places (car, living room, home theater, bedroom, etc.) so that I when I set my phone on the NFC tag I can automatically play music over Bluetooth in that location.
I am trying to completely automate connecting to a *specific* Bluetooth device. (I am not looking to simply toggle Bluetooth on or off, or select the desired Bluetooth device from a menu.) I am currently using "NFC Task Launcher" to accomplish the majority of this, but as far as Bluetooth is concerned, the most I've been able to automate so far is to simply Bluetooth on or off. (I also tried "Tasker" but the functionality I am looking for is missing from this app as well.) I have not found a way to read an NFC tag and automatically connect to a specific Bluetooth device based on which tag is read, nor have I even found a "one click" app / widget that connects to a specific Bluetooth device. (If such a "one click" app / widget exists, I could automate the launching of that app to make the connection.).
(Also having the Bluetooth device in each location initiate the connection isn't a viable solution, I need for the phone to iniatiate the connection.)
Does anyone have any suggestions? Thanks in advance!

Ran across this looking for the same answer. Surprised no one has responded in over a month here.
Did you have any luck finding a workaround for specific BT device connections?

Hi,
I am the developer of MacroDroid an automation application for Android (that supports NFC tags).
This is a feature one of my users has just requested, so I'm just starting to look into the feasibility of adding it. (I came across this post during my initial research).
I will report back here on what I find and if all goes to plan I'll get the feature added to MacroDroid ASAP.
In the meantime, I'd appreciate ALL feedback (positive and negative) with regards to MacroDroid as I hope to make it as powerful and flexible as possible. It's available on Google Play here:
https://play.google.com/store/apps/details?id=com.arlosoft.macrodroid&hl=en
Cheers,
Jamie

Just a quick follow up to my last post.
I believe it is possible to implement functionality to connect to a specific device. I currently don't have an appropriate device to test this, but I have one on order. As soon as I receive it, I'll have a go at adding this to MacroDroid.
In the meantime the following app on the market:
https://play.google.com/store/apps/details?id=a2dp.Vol&hl=en
Has the capability to connect to a second Bluetooth device when a Bluetooth connection is established. This may or may not help depending on what you are doing.

Any update on this? I'm also in the same boat. My car doesn't automatically connect anymore, never really did, I think its Bluetooth > 3.x on phone( 4.0 right now, but same on older past devices on S3 ) and the stereo bluetooth is older version( can't remember exactly. )
Anyways, thanks dev for posting about the other app, plan on trying it out tomorrow. In the meantime have you made any progress on your app for this functionality? I'd rather keep everything( all settings ) in one app if I can. Don't think Tasker allows this still, not sure on locale but I doubt it also.
Eagerly awaiting an update

A few more options
Did a little more searching just in case anything new has been released recently - came up with a few new options.. None seem to suit my need (trigger connection within Tasker via a plugin or directly opening an app), but posting here since they may help others.. I haven't tried these - just going on app descriptions.
So, in addition to A2DP Volume as suggested by UndeadCretin, which would be the best option if you want the connection to a A2DP device when another BT device connects, there's also Car Music Connector (https://play.google.com/store/apps/details?id=com.cleansoft.carmusic) which would seem to fit the bill for most people perfectly. Free, and "Connects you device to Bluetooth stereo in one widget click or NFC tap." Downside would seem to be that it would need to be set as default NFC app for one tap NFC triggering.
If just a widget is needed, Bluetooth Autoconnect (https://play.google.com/store/apps/details?id=com.btautoconnect), which is a paid app - although Car Music Connector also has a widget so is probably a better (and free!) choice.
Edit: Scratch that.. Car Music Connector doesn't prompt for a device to connect to.. I only have 1 A2DP device paired, and it wont connect to it (just times out) - maybe someone else will have better luck.
Bluetooth Autoconnect seems like it should work, however it enables/disables bluetooth at the same time - so if you already have bluetooth turned on, it turns it off. <sigh>
I'm unable to get it to connect to the either of 2 A2DP devices though - emailed the Dev hoping that it's just something funky with my device (Galaxy S3) that can be worked around.

Interested in this as well.

Firstly sorry for the long delay in replying!
I have now added the ability in MacroDroid to connect to a specific Bluetooth audio device. I have it working on my 2.3 and 4.0.4 and 4.1 devices but I only have a single audio device to test against. Some users have reported that it's not working for them, so if anyone does try this I would appreciate any feedback if it works or doesn't. If it's not working for you could you please tell me the device, OS version and device you are trying to connect to. Feedback here is fine, or mail me at: [email protected]
Best Regards,
Jamie

UndeadCretin said:
I have now added the ability in MacroDroid to connect to a specific Bluetooth audio device.
Click to expand...
Click to collapse
Awesome to hear.. I'll give it a test run when I get a chance and get back to you with results.. Just a query - what's the system resource usage of MacroDroid? I currently use Tasker, and am more than happy to buy and use MacroDroid for this one single function if it works, but don't really want them both running in the background at the same time if they're using up resources.. Can MacroDroid be setup to only run when called (i.e. having a shortcut trigger it, or even better via a Locale plugin?) I know that this is probably wanting a little too much
For others, Bluetooth Auto Connect (https://play.google.com/store/apps/details?id=org.myklos.btautoconnect) has had a recent update of "New: Tasker/Local plugin - new Profile action added - Connect / Disconnect actions supported" which sounds promising.
I never got the app to work previously (it just never connected), but others may have better luck. I haven't tried it since the update.

Kaibosh said:
Awesome to hear.. I'll give it a test run when I get a chance and get back to you with results.. Just a query - what's the system resource usage of MacroDroid? I currently use Tasker, and am more than happy to buy and use MacroDroid for this one single function if it works, but don't really want them both running in the background at the same time if they're using up resources.. Can MacroDroid be setup to only run when called (i.e. having a shortcut trigger it, or even better via a Locale plugin?) I know that this is probably wanting a little too much
For others, Bluetooth Auto Connect (https://play.google.com/store/apps/details?id=org.myklos.btautoconnect) has had a recent update of "New: Tasker/Local plugin - new Profile action added - Connect / Disconnect actions supported" which sounds promising.
I never got the app to work previously (it just never connected), but others may have better luck. I haven't tried it since the update.
Click to expand...
Click to collapse
The resource usage of MacroDroid should be very low as it is effectively dormant in most cases. MacroDroid does run as a foreground service so it displays a persistent icon in the notification bar. If this annoys you there is an option in settings to turn off the foreground service. In most cases it will still work but YMMV. Anyway you can get the basic functionality for free, so you can give it a try and see how it works for you.
Regards,
Jamie

I have just submitted an updated (V1.3.8) that will hopefully solve the issue some users were seeing with the Bluetooth audio connection. I appreciate any feedback if it works (or not) for you....

Car Music Connector
Hello,
In addition to A2DP profile Car Music Connector waits for Headset profile to be connected by default. This is more reliable for most car bluetooth enabled stereos. If you are using it with A2DP only device you need to disable "Wait for Headset Bluetooth connection" in settings.
Hope that helps.
Alexander Shakhov.
Car Music Connector author.

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!

klau1 said:
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!
Click to expand...
Click to collapse
Awesome! Gonna download it now and try it in the morning... but ya still get the thanks regardless of how it works for breathing life into this thread

Related

Shortcut to Bluetooth device picker?

I recently installed a BT-enabled stereo into my wife's car. We quickly discovered it's pretty annoying to have to navigate through Settings -> Wireless -> Bluetooth -> FZ709 just to connect the phone to the stereo. And for reasons I haven't quite figured out, if you activate BT with the slide-down menu (I'm on Froyo via Bionix-V), it only displays the device picker the first time.
I know I can create a shortcut to the BT settings... but does anyone know of an app or widget that lets me create a shortcut directly to a specific BT device?
Optimally I could simply click a widget to enable BT and connect to the device, and click it again to disable BT.
Couldn't find anything like this in the Market, unfortunately.
I would love to see something to simplify the process as well
Sent from my SGH-T959 using XDA App
I just recently installed a bluetooth stereo in my car as well. After initial setup, I gave my stereo full access to my media and phone audio and I just leave bluetooth on all day. I don't find that it eats much battery unless it is actually being used. Whenever I get in my car it just automatically connects without me having to do anything. I now have a kenwood excelon if that makes any difference and before this I had a pioneer premier and that worked fine as well.
You might double check what your settings are for that paired device under options in your bluetooth settings. If you are not sure where your options are under bluetooth settings just click and hold the paired device and you'll get a pop up with options in there.
Sent from my SGH-T959 using Tapatalk
The only options I see are Connect, and to use it for Phone and/or Audio connectivity.
You know, I've always been such a battery miser, I haven't thought to actually see what Bluetooth uses. Now that I'm running Bionix V and battery life is as good as old phones used to be, I think I'll check it out.

Widget to switch bluetooth devices?

I have a Jabra Clipper audio player to play my MP3's & streaming internet radio to my car stereo via 3.5mm jack. I also have my Moto BT headset that I use.
When I get a call the music is interrupted and I can answer the call with the Jabra Clipper and I can hear the call audio through the car speakers. The problem is my microphone on my phone is too far away on my car dock and people can't hear me.
So after answering the call I would have to go to settings, wireless, bluetooth and disconnect the Jabra and connect my Moto headset before I can take the call.
This is a pain and takes too long, is there a widget to swap paired BT devices? I cannot find anything in the marketplace.
Maybe a Tasker profile? I have Tasker but I haven't gotten any profiles to work yet.
I have a Droid X running Liberty 1.5.
Thanks.
I don't know if this will help, but can you not have both items paired and connected at the same time? My car has bluetooth for my phone for talk only, and I just added a Tunelink device to stream my music by bluetooth in the car. I've noticed when I get in the car that both will be paired, but only the car will be connected. So I have added a bluetooth widget to my homescreen, when I get in the car I will click on the widget that opens up the bluetooth settings and click on the Tunelink to connect it, from then on out both items are connected AND paired and both will work with no problems.
I initially had the HTC settings > Bluetooth shortcut, but then when Widgetsoid added the capability to choose bluetooth settings I changed to that.
http://www.appbrain.com/app/widgetsoid2-x/com.jim2
Nice! I have a Jabra Clipper too! I say that because I have not seen anyone else with one yet lol.
Ever since I switched to CM7 I have been able to 1-touch enable/disable Bluetooth and Wifi among 10 other optional, additional buttons via the status bar. I hope this bar never goes away in future updates! Anywho you could check that out for managing your bluetooth connection quickly and efficiently.
All I can say in addition to that is clicking on individual bluetooth devices in the menu allows you to disable specifically phone / media audio. You could try disabling one or the other for one of your devices so that they both work independently. I'm not really sure how else to help you because of the unique situation.
Your best bet is to make your setup less complicated, by not using one or the other device, but I saved that one for last because it isn't what you're looking to accomplish.
PetRiLJoe said:
Nice! I have a Jabra Clipper too! I say that because I have not seen anyone else with one yet lol.
Ever since I switched to CM7 I have been able to 1-touch enable/disable Bluetooth and Wifi among 10 other optional, additional buttons via the status bar. I hope this bar never goes away in future updates! Anywho you could check that out for managing your bluetooth connection quickly and efficiently.
All I can say in addition to that is clicking on individual bluetooth devices in the menu allows you to disable specifically phone / media audio. You could try disabling one or the other for one of your devices so that they both work independently. I'm not really sure how else to help you because of the unique situation.
Your best bet is to make your setup less complicated, by not using one or the other device, but I saved that one for last because it isn't what you're looking to accomplish.
Click to expand...
Click to collapse
Thanks for your reply, what is CM7?
scramer said:
I don't know if this will help, but can you not have both items paired and connected at the same time? My car has bluetooth for my phone for talk only, and I just added a Tunelink device to stream my music by bluetooth in the car. I've noticed when I get in the car that both will be paired, but only the car will be connected. So I have added a bluetooth widget to my homescreen, when I get in the car I will click on the widget that opens up the bluetooth settings and click on the Tunelink to connect it, from then on out both items are connected AND paired and both will work with no problems.
I initially had the HTC settings > Bluetooth shortcut, but then when Widgetsoid added the capability to choose bluetooth settings I changed to that.
http://www.appbrain.com/app/widgetsoid2-x/com.jim2
Click to expand...
Click to collapse
I use Widgetsoid but I haven't tried 2, I set up a shortcut to BT settings on my widget so far. I'll try the new version and see if it works out. Thanks.
ryant35 said:
I use Widgetsoid but I haven't tried 2, I set up a shortcut to BT settings on my widget so far. I'll try the new version and see if it works out. Thanks.
Click to expand...
Click to collapse
Here is the link: http://www.appbrain.com/app/widgetsoid2-x/com.jim2
Prior to the upgrade last week, the widget would only turn bluetooth on or off. With the update last week it added the option to have it open up the bluetooth (or wifi) options. This isn't automatic, you have to choose for it to do this in the options.
I don't know maybe the phone won't automatically connect with two items at once. It's a hassle to connect each time, but after the initial connection everything runs smoothly.
I downloaded Widetoid 2 and loaded it, now I have an BT settings icon on my switcher.
I managed to figure it out without he use of a widget, under my bluetooth settings I selected my Jabra Clipper and unchecked phone audio. Now I can connect my Clipper as media audio and my BT headset at phone audio at the same time. Now when I get a call the audio switches from the Clipper to the BT headset.
Thanks for your help.
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!
You saved me From buying a new stereo!
klau1 said:
An amazing One click - Connect 2 Specific Bluetooth device for A2DP and Phone app:
Bluetooth Pair
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!
Click to expand...
Click to collapse
Thanks a ton! This $1.50 app saved me from having to purchase a new stereo!
Just to let you know, this solved the exact problem I was having, over five years later! Thanks!
ryant35 said:
I downloaded Widetoid 2 and loaded it, now I have an BT settings icon on my switcher.
I managed to figure it out without he use of a widget, under my bluetooth settings I selected my Jabra Clipper and unchecked phone audio. Now I can connect my Clipper as media audio and my BT headset at phone audio at the same time. Now when I get a call the audio switches from the Clipper to the BT headset.
Thanks for your help.
Click to expand...
Click to collapse
Headphone Connect - One Click Audio is a really simple app that let's you connect / disconnect to your desired bluetooth headset.
You find it in the play store if you search for "Headphone connect - one click audio"
I realize this is an old post, but I recently released an app called ShortTooth: create customized single-click shortcuts to connect to any paired Bluetooth device.
I use it to disconnect from my home stereo when I get into the car (parked close enough to still be paired), and reconnect to my home stereo when I get back.
You could use it to create two shortcuts:
* Toggle Jabra
* Toggle Moto
Or you can create two rows:
* Connect Jabra | Discconnect Jabra
* Connect Moto | Discconnect Moto
It has a free 14-day trial.

[Q] Bluetooth auto connect

I can't see any option anywhere in my SGS2 to set a BT paired device as "authorized". Every time I enter in my car I've to manually select the BT device and start manually the connection.
I searched in the forum but didn't find answers.
I also tried to look at the filesystem and I found auto_pairing.conf file in which there are a lot of BT manufacturer brands listed in sections like "black list", "white list", .... Is it possible I need to manually modify this file to include my BT manufacturer in the white list section? It sounds really strange!
Is there any other way?
I'd love to know that as well.
I atlculay lvoe my sumnasg glxaay s2 wtih VliaRionlm mroe tahn my xobx
Update
I manually modified auto_pairing.conf file adding my car BT manufacturer without any success (I added it in white list with the name already mentioned in the file, so I think that's not a problem of brand name).
My SGS2 continue to ask me to manually select the device to connect to, even if only one BT device is available (car handsfree).
I have the same problem, which i didn't have with my Nexus One running Cynogenmod ROM. I keep my Bluetooth on all the time or most of the time and i would like (like i had in nexus one) when i turn on my car (with Sony MEX-BT3700U car stereo with Bluetooth) that the phone auto-connects with the stereo in a minute or less (or with my plantronics headset when i turn it on), but no, every time i have to go into bluetooth settings and connect on the paired device and then it's connected.
I heard about few application that could help but it would be nice to have it as native function on the phone. I haven't tried these apps yet but if anyone want's to try they can be downloaded from the market, firs is free, the second is not.
https://market.android.com/details?id=a2dp.Vol&feature=search_result
https://market.android.com/details?id=com.btautoconnect&feature=search_result
If anyone can help it would be greatly appreciated
I don't have this problem at all, on any ROM I've tried stock or not. Is your stereo also set up to auto-connect? And is it your phone or your stereo that's refusing the auto connection?
mudferret said:
I don't have this problem at all, on any ROM I've tried stock or not. Is your stereo also set up to auto-connect? And is it your phone or your stereo that's refusing the auto connection?
Click to expand...
Click to collapse
Stereo doesn't have any options, same as Plantronics headset (only ON or OFF), that means that with my old nexus one running CM (or Nokia n95 8GB) when the bluetooth is switched ON and i come near stereo or headset they connect automatically in about 30 seconds max, with my SGS 2 that doesn't happen, i tried everything but it wont auto-connect until i initiate the connection from phone manually.
I have to resolve this because it's killing me !
jartukovic said:
Stereo doesn't have any options
Click to expand...
Click to collapse
I wonder if that's the issue; IIRC it's my stereo that I've told to connect automatically rather than my phone. I'll verify on my commute home today.
Mine auto connects to my JVC car head unit, but doesn't to my Belkin Tunestage. No idea why. As it happens, this suits me but it'd be nice to be able to control it.
And the commute begins. The auto connection is an option on my JVC deck, no such option on the phone.
Sent from my GT-I9100 using XDA App
mudferret said:
I wonder if that's the issue; IIRC it's my stereo that I've told to connect automatically rather than my phone. I'll verify on my commute home today.
Click to expand...
Click to collapse
The stereo is recognized same as Plantronics and that is as a head set, but it doesn't want to automatically connect to either of them, every time i have to initiate the connection. There is one way to connect it (partially automatically ) but that's not the solution - i have to turn on the bluetooth on my phone before starting my car, then when phone is in searching mode if the car is started (stereo turned on) then it will connect automatically, if the search mode (that is active for a short time after turning the bluetooth) ended before i start the car (for instance if i keep my bluetooth on all the time on my phone) then it wont connect automatically.
Am i any clearer about my problem ?
I hear what you're saying but it appears that auto connection is initiated by my stereo. If I turn auto connect off on my stereo there is no connection until I tell my phone to connect. I don't see anything on the gsii settings to have the phone auto initiate the connection. I have a recent JVC deck fwiw.
Sent from my GT-I9100 using XDA App
I will check one more time is there any bluetooth settings on my car stereo, but i'm 90% sure that it doesn't have, because this is the first phone that doesn't connect automatically.
I have had similar issues with mine, it will pair with my Kenwood DNX520VBT but wont auto connect.
however i now have a workaround
Turn bluetooth on your GS2 first, then turn on you Radio. once my Radio boots up it initiates the connection and auto connect works.
if i turn on the bluetooth on my GS2 after my radio it never works.
ive got a sony bt3700 stereo, it connected perfectly with my samsung wave, i just upgraded to a galaxy s and i have to do it manually every time so its not the stereo.
Same thing happened to me, old nexus one with CM7 is connecting ok but i have to connect SGS2 manually or make sure that my bluetooth is ON on my phone before i start the car.
I may have the answer......
Hi,
I have a sort of work around.
My Pioneer head unit refuses to auto connect to my SGS2 and I have to do it manually (I connect from the radio in 4 clicks but thats not the point). This was driving me nuts as previous handsets I owned connected within 5 seconds of being in the car.
I then discovered ROMS and went for the Criskelo ROM and it put me on Android Version 2.3.6 (Not sure if that made a difference or its actually the ROM).
Now with that sorted I found that I have an extra function in my bluetooth settings. When I make the device visible I can then choose the visible time-out length. If I set this to NEVER then I have no problems connecting to the headunit everytime I get in my car.
The only problem I have with this is that I pop my phone into Airplane Mode each night and because that disables the bluetooth it loses the time-out setting so I have to put the time-out back to never each morning.
With setting the time-out to never I'm not sure what battery drain is like because I'm constantly on my phone and my battery depletes rapidly anyway but it seems like a fix for now.
I hope this makes sense and helps people out until a proper fix becomes available.
Cheers,
DJ Sploits
Hi All,
Sorry for bumping an old-ish thread, but it seemed the most appropriate thread, and better than creating a new one of the same topic!
This is what I believe to be true:
*IF* Bluetooth is enabled on the GS2 (and the phone has previously been paired with the car headunit) then when the car is turned on, it will auto-connect to the GS2
*IF* Bluetooth is NOT enabled on the GS2 (and the phone has previously been paired with the car headunit) then when the car is turned on, it will NOT connect to the GS2 (understandably!).
*IF* the phone has previously been paired with the car headunit, and the bluetooth on the GS2 is enabled *AFTER* the car has been started, it does NOT Auto-Connect.
From this, I assume that when the car is powered on, it searches for previously paired handsets in order of most recently connected first. If it finds one, then it WILL connect.
Now:
If I leave Bluetooth enabled on my phone, the battery is significantly depleted my mid-afternoon.
I've started using an app which uses the "rough location" (not GPS) to monitor where the phone is located. If it deemed to have moved in X period of time, then it enables bluetooth.
This is great, and works a charm ... BUT it does mean that bluetooth stack on the GS2 is enabled AFTER the car has been moving for a period of time, and thus does NOT auto-connect.
What I've been searching for is:
"When BT stack is enabled on GS2, can it look for previously paired devices and initiate the connection itself?" (Rather than the car connecting to it?) Is there a script or app to do this?
Hi WTFH,
I think it might be more headunit specific. I always have my bluetooth on but it wont connect automatically to my headunit unless I have it set to constantly discoverable (on the handset).
I also use a power saving program called Green Power Premium which will cut bluetooth/data/wifi after a certain amount of time when the phone is in a sleep state. Its great fro saving power as my phone isnt constantly looking for a wifi signal (I don';t use it to control my bluetooth though as I need it on for my car).
Hey DJ_sploits,
Thanks for that ... Yes, I understand that some headsets do not auto-connect to the GS2 if the phone is NOT visible.
But what does seem to be constant is that the GS2 will not auto-connect to any of the headsets if the bluetooth stack on the GS2 is enabled AFTER the headset has come online and available.
One workaround I'm thinking of is:
Enabling a profile which says "When connected to a power source (I'll have to use the power adaptor) then enable bluetooth". Connecting my phone to the power first before starting the car should enable the BT stack before the headset tries to connect.
In fact I could extend this to say "Only enable bluetooth when using power adaptor, and not connected to wifi".
It's still a pain to do this though, as I tend to just jump into the car and don't want to faff about with connecting this and that.
The only other work around I use is to set the visiblity to constant (depending on what android software version you are on). My headunit always picks the phone up if I have it setup like this. the only thing with that is it will eat the battery even more (which is annoying considering there are other phones out there that constantly have their bluetooth on and you never see the battery getting hammered).
The only flaw I can see in your method is the fact you need a power source to knock on the bluetooth. Great for powersaving but it would then mean you would have to remember to connect it to a car charger everytime you got in the car (not too bad if you have it constantly plugged in to the cigarette lighter) and as you set this can be a bit of a faff.
The only way I can see in sorting this is using a power saving app but having your visibilty constantly on for the bluetooth and then we just hope it doesnt eat the battery too much (not to bad for me as I have a charger at work but could be a pain for others). The only problem with this (apart from the battery issue) is that if you knock the bluetooth off or knock the phone to airplane mode (as I do at nights) then when you knock the bluetooth back on it forgets that you want it to be constantly visible so you have to go through the settings and check the box

[Q] Bluetooth Autoconnect

I'm guessing the answer to my question is likely to setup a Tasker profile, but I thought I'd ask anyway. Does anyone know of a way to get Bluetooth on my OG to autoconnect to a device it's already paired to?
For example, when I get in my car and want to connect to my stereo, I turn on Bluetooth, then have to go to my paired devices and manually connect to the stereo. I'd much rather just turn on Bluetooth and have the phone autoconnect to the stereo.
I'll likely soon set up an NFC tag for my car, so I should be able to turn on Bluetooth and connect to the stereo with that, but wanted to know if there was another solution in the meantime.
Any ideas?
Digil said:
I'm guessing the answer to my question is likely to setup a Tasker profile, but I thought I'd ask anyway. Does anyone know of a way to get Bluetooth on my OG to autoconnect to a device it's already paired to?
For example, when I get in my car and want to connect to my stereo, I turn on Bluetooth, then have to go to my paired devices and manually connect to the stereo. I'd much rather just turn on Bluetooth and have the phone autoconnect to the stereo.
I'll likely soon set up an NFC tag for my car, so I should be able to turn on Bluetooth and connect to the stereo with that, but wanted to know if there was another solution in the meantime.
Any ideas?
Click to expand...
Click to collapse
As long as I turn on Bluetooth before I start my car, mine auto-connects to my Hyundai Sonata just fine...
Sent from my LG-E970 using xda app-developers app
My phone auto connects to my car too. Even if I forget to turn it on before I start my car and toggle it on after the car has already started, they will find each other and auto connect. They do not connect instantly though (maybe the BT scan interval is a little bit longer). Maybe you just have to wait a bit?
I have Llama installed and have a profile setup so that when it disconnects from a known Wifi (leave home/work/etc.), the phone will turn on BT automatically and try to connect to the car. Another profile is set up so that once the BT does connect to the car, it will turn off Wifi on the phone and also turn up volume and vibrate "on".
Hmmm, thanks for the replies. I'm wondering if my issue is that I've only turned Bluetooth on after the car was running, not before. If anything, I'll just set up a Llama or Tasker profile. Thanks again!
Digil said:
Hmmm, thanks for the replies. I'm wondering if my issue is that I've only turned Bluetooth on after the car was running, not before. If anything, I'll just set up a Llama or Tasker profile. Thanks again!
Click to expand...
Click to collapse
Yeah, if I turn on bt after I start the car then it won't auto-connect.
Sent from my LG-E970 using xda app-developers app
Just a heads up to anyone interested. Tasker doesn't have an action to autoconnect to paired Bluetooth devices. However, there is an app available in the Play Store solely for this functionality:
https://play.google.com/store/apps/...sMSwyLDEsIm9yZy5teWtsb3MuYnRhdXRvY29ubmVjdCJd
This app is also a Tasker plugin, so you can use it in conjunction with any Tasker profile. Good stuff.
Digil said:
I'm guessing the answer to my question is likely to setup a Tasker profile, but I thought I'd ask anyway. Does anyone know of a way to get Bluetooth on my OG to autoconnect to a device it's already paired to?
For example, when I get in my car and want to connect to my stereo, I turn on Bluetooth, then have to go to my paired devices and manually connect to the stereo. I'd much rather just turn on Bluetooth and have the phone autoconnect to the stereo.
I'll likely soon set up an NFC tag for my car, so I should be able to turn on Bluetooth and connect to the stereo with that, but wanted to know if there was another solution in the meantime.
Any ideas?
Click to expand...
Click to collapse
I have a very similar issue. I have two bluetooth devices in my car. My handsfree system and a stereo adapter. The phone autoconnects to the handsfree system but I have to manually click on the stereo adapter every time to get it to connect. No ordering of on/off etc seems to alleviate this. Any ideas?
themoe said:
I have a very similar issue. I have two bluetooth devices in my car. My handsfree system and a stereo adapter. The phone autoconnects to the handsfree system but I have to manually click on the stereo adapter every time to get it to connect. No ordering of on/off etc seems to alleviate this. Any ideas?
Click to expand...
Click to collapse
The app I mention above has an option to autoconnect to all paired devices. This might be what you're looking for.
Digil said:
The app I mention above has an option to autoconnect to all paired devices. This might be what you're looking for.
Click to expand...
Click to collapse
Yea, already gave that a shot. Tried just the app, then tried a tasker profile that would try to connect to the A2DP device if the handsfree device was connected too. Neither worked. Gonna try another couple apps to see where it gets me; if not I'll just live with having to always click it in the settings menu until an AOSP rom comes along that I would be willing to run (not quite annoyed enough at the LG software to give up an SD card/8gigs and hardware keys)
themoe said:
Yea, already gave that a shot. Tried just the app, then tried a tasker profile that would try to connect to the A2DP device if the handsfree device was connected too. Neither worked. Gonna try another couple apps to see where it gets me; if not I'll just live with having to always click it in the settings menu until an AOSP rom comes along that I would be willing to run (not quite annoyed enough at the LG software to give up an SD card/8gigs and hardware keys)
Click to expand...
Click to collapse
Try this app. Have been using it for a long time now. I have the same problem as you. You can set it up to automatically connect to a second device ( your music adapter), right after it connects to the first one ( your car). There are also more useful settings there.
https://play.google.com/store/apps/...nav_result#?t=W251bGwsMSwxLDMsImEyZHAuVm9sIl0.

AOKP 4.2.2 - Bluetooth Pairing

Hi all. Has anyone tried to pair with a car?
I'm trying to pair with a Kia Sorento. It's looks like it pairs OK and then shows connected but the car doesn't acknowledge that it is connected.
I'll continue to test but wanted to know if anyone else had success. I'll try with other bluetooth devices as well. Please post your experiences with Bluetooth.
Thanks for the ROM update and thanks for your responses.
Well, I've successfully paired and used several different bluetooth devices. Didn't think I had this many:
- bluetooth mouse
- bluetooth keyboard with built-in trackpad
- OBD II reader
- Music headset
I have a phone headset and my car. It looks like both of these pair but don't connect properly. The headset is for phone profile only. After pairing, clicking on it does nothing. Doesn't even try to pair. For my car, it pairs and I'm able to enter the pass-phrase/key but then it doesn't connect.
It looks like there is an issue connecting to devices that use the phone profile. When looking at the settings for the paired items, there is a profile for phone audio. It has a checkbox which is not checked and is disabled...cannot check it.
I'll post screen captures when I get a chance.
Thank you
It looks like the HFP (hands free protocol) is needed for using a headset on a mobile phone as in the case of a earpiece or to use a car as a hands free for a mobile phone as well.
It looks like Blues does not support HFP. There is mention of an oFono project that works with Blues to support HFP but no mention of Android support. I also found some mention of Blues adding that support. Maybe it's available and needs to be configured. Didn't dig too far into it and I'm not that familiar with these technologies.
Hopefully, one of the devs can follow up on this or another group has done it or figured out how to do it.
I'll keep looking and will post if/when I find anything.
FYI, Bluez just released a new version April 12th.
I found some configuration files in /system/etc/Bluetooth
The audio.conf file has several settings referring to headset and hfp. I tried some variations but no luck. Good news is that it looks like Bluez supports headset and hfp out of the box/built-in.
More testing needed.
I also read that after changing settings you will have to unpair and repair your device to pick up the change.
I wonder what the stock files have?
It looks like, ideally, there are other profiles that should be there to have a good experience. PBAP, phone book access protocol, is needed for transferring contacts, for example.
it fix on next release, but have reboot afte call =(
zyr3x said:
it fix on next release, but have reboot afte call =(
Click to expand...
Click to collapse
So my reboot after a call is related to bluetooth headset. Right?
Any ideas about overcoming this?

Categories

Resources