Related
Dear XDA folks,
a bit of a story about what the problem is exactly, and how I want to fix it:
I'm a happy owner of an HTC desire with froyo on it, which works like a charm.
There's one small problem though, my car stereo seems to be a bit picky when connecting.
My bluetooth is on, I start the car, and the phone tells me it has connected to a headset, the stereo tells me nothing is connected.
Same happens with the A2DP function, phone says it is connected, stereo doesn't detect it.
After a bit of messing around with it, I found a way to work around this, after connecting, disable and enable the bluetooth profiles (called media and handsfree in android) once, and they both work like a charm.
----
What I want to do, is make an app which checks if the device is connected to the stereo (which shouldn't be much of a problem), and then switch both of the audio profiles off for a moment (one at a time) and then back on.
Problem is, how do I switch them from my app? I've been looking at the documentation for hours, but I can't seem to find out.
The bluetoothchat sample is a great start to build a BT program I think, but I'm pretty much stuck here.
Is there someone who can point me in the right direction?
Thanks in advance
Nobody? I succeeded with making an app that displays the paired devices (after a bit of borowing from the BTchat sample), so that pointed me in the right direction.
Still, I'm stuck with the problem of switching the profiles/services on and off, and I'm sure one of you can help me
Thanks
Hey I'm no expert but you may want to check out the app called tasker in the market, you could look into the app's codes cause from what I experienced, I see a state there that says 'if bluetooth connected...' Then you can add an event to trigger after that.it's an awesome automater app. Base the codes from there.
Sent from my FroyoEris using XDA App
xr4v3nx said:
Hey I'm no expert but you may want to check out the app called tasker in the market, you could look into the app's codes cause from what I experienced, I see a state there that says 'if bluetooth connected...' Then you can add an event to trigger after that.it's an awesome automater app. Base the codes from there.
Sent from my FroyoEris using XDA App
Click to expand...
Click to collapse
Great thanks for the idea, will try that right away.
Will let you know how it turned out.
-edit-
DARN can't find options to enable/disable a2dp and handsfree in tasker, maybe I'm missing it, but so far I don't think it is there.
Thanks for the suggestion though
Help?! Can't believe noone knows how to do this?
Heeeeeeelp! Still stuck with it
Hi guys,
I have a very strange problem with my beloved note. After I get in the car and drive off I remember that I have to turn bluetooth on so it can connect to the hands free system. The thing is that it doesn't connect automatically, I have to go into the settings and tap the BT name in order to connect it. If on the other hand if I have BT already enabled on the phone before starting the car, it conmects automatically. With the first version of GB the Note had in November I didn't have this issue, but after the first update it started not to work. Now I am on official unrooted ICS 4.0.3. Never had this problem with any other phone.... Any help would be highly appreciated.
Thanks.
Sent from my GT-N7000 using XDA
Anyone?
Sent from my GT-N7000 using XDA
n.vasiliu said:
Hi guys,
I have a very strange problem with my beloved note. After I get in the car and drive off I remember that I have to turn bluetooth on so it can connect to the hands free system. The thing is that it doesn't connect automatically, I have to go into the settings and tap the BT name in order to connect it. If on the other hand if I have BT already enabled on the phone before starting the car, it conmects automatically. With the first version of GB the Note had in November I didn't have this issue, but after the first update it started not to work. Now I am on official unrooted ICS 4.0.3. Never had this problem with any other phone.... Any help would be highly appreciated.
Click to expand...
Click to collapse
You can try Automatic Bluetooth Toggle PRO (I think there is trial version on Google Play). I don't know if it will help you. If not then I'm sorry you will probably have to go back to GB. I'm still on GB as I was also having issues with bluetooth on stock ICS (CM9-based ROMs worked well though).
Thanks a lot. GB had the same annoying problem though :-(... so it's not that....
Sent from my GT-N7000 using xda app-developers app
Hi,
Did you allow the pairing automatically between the devices?
When you pair at installation, it isn't permanently (= automatic) yet. When you get in your car and pair for a second time, normally your phone asks you if you allow your hands free system to access your phone; at that moment you have to tick "don't ask me again" and "yes" for automatic paring.
You might want to disassociate the two and try a new setup (pairing).
To disassociate, stop the system in your car (that cuts the BT connection between the two), disassociate on the phone (push and hold your hands free system in the BT section of the phone and chose disassociate), reboot your phone (so it forgets your cars BT system) and start pairing all over again.
I would provoke the second connection so you get the "automatic" question to make it work.
Good luck :good:
I have the same problem with the original ICS rom.
Flashing a custom ICS rom fixes this problem.
I tried kingdroid (worked ok)
I tried Cyanogen (phone ok, no media audio over BT but connection OK).
I had a similar problem after upgrade with stock ICS through software update. I couldn't pair Note with Mercedes bluetooth. Galaxy Note recognized Mercedes BT & vice versa, but connection was impossible. I read every forum on internet but no help. Everybody was blaming Samsung and ICS. Some suggested resseting Note to factory default, others downloading bluetooth app etc.
Until...I finally figured out that something was confusing my car's BT, so I resseted car system, and the problem was solved.
Sent from my GT-N7000 using xda app-developers app
These is a twist with "old" BT systems and ICS: Old BT systems want you to insert a pin code, ICS wants you to to confirm a code that the BT system sends and that ICS shows on the screen.
It's obvious that that ICS on an old system can be a hassle.
A work around is to put the car in discover mode (so it shows the pin code) and then send a contact (or a picture) from the phone to the car system. As the car replies, your phone will show the possibility to insert the PIN Code.
After that your system should work.
At second connection make the pairing automatic (as I described above) and you're happy.
(This is not my discovery, I found this solution on the SE XPeria Ray forum as I had problems with my wifes phone )
Thaks a lot. I will try as soon as I get the chance and will let you guys know.
Sent from my GT-N7000 using xda app-developers app
So with the workaround mentioned above - it doesn't work. When turning on bt on the phone it won't automatically connect to the car.
Sent from my GT-N7000 using xda app-developers app
Try A2DP Volume on the market.
I have the same problem as you. I used a leaked ics rom on my galaxy s2 and also had the same problem we now have on our ics galaxy notes. My car's head unit is a 3 year old eclipse cd5030. For the last month ive just been manually pairing it every time. PITA. Ill try the workaround suggested earlier in this thread and let you know. Otherwise i think cyanogen mod rom may work.
Sent from my GT-N7000 using Tapatalk 2
Let me know. I am.not going through the trouble of putting anoyher ROM on the phone.just for that
Sent from my GT-N7000 using xda app-developers app
n.vasiliu said:
Let me know. I am.not going through the trouble of putting anoyher ROM on the phone.just for that
Sent from my GT-N7000 using xda app-developers app
Click to expand...
Click to collapse
I had similar issues with Parrot 9200 kit in my car. Paired automatically under GB but on stock ICS wouldn't pair unprompted. Sometimes it would but only after minutes.
I'm on Paranoid Android 0.4 now which is CM9 based. It's better but often still slow to pair unprompted. Main improvement for me is that the phone doesn't carry on playing music through its own speaker, like it did on stock ICS, when I turn off the engine.
There is an app on the market called "Auto Connect 2.0", but it is only available for ICS and above Android versions
atiesfo the
i have same problem with my note, but with my Galaxy S1 works fine, when i upgrade the android to 4.0.4 solves the problem.
Is there anyway to disable the autoplaying of music on my phone when it connects to the car bluetooth sound system? I like streaming music.... just not every time I get into the damn car!
loving the S4 otherwise!
Interesting. Mine does not do this.
Firedcylinder said:
Interesting. Mine does not do this.
Click to expand...
Click to collapse
Hmmm maybe its not the phone and its the Handsfree in the honda civic commanding it to play?
Hmm I'm actually interested in this as well. My old One X used to auto connect and auto play when I got in the car, but the S4 doesn't. It only auto connects to the phone, not A2DP like I want it to...
Sent from my SAMSUNG-SGH-I337 using xda app-developers app
buddmann31 said:
Hmm I'm actually interested in this as well. My old One X used to auto connect and auto play when I got in the car, but the S4 doesn't. It only auto connects to the phone, not A2DP like I want it to...
Sent from my SAMSUNG-SGH-I337 using xda app-developers app
Click to expand...
Click to collapse
Mine does do this though. It's annoying as $? #$. I have to go into settings and and manually connect media audio 99% of the time. It never does start playing automatically though.
Mine initially would do the autoplay but after I reset all the Bluetooth pairings for my car stereo the S4 then only paired phone audio and I also have to go in to manually pair media audio. Looks like I got the best of both worlds! My Galaxy Nexus and Tab 7.7 didn't do this, and neither did my iPhone. Annoying.
I actually had the same problems with my S2. I removed the android music player and used winamp to get around the autoplay annoyance. but on the S4 i actually like the stock player....I didn't want to remove it. It sounds like it seems to be dependant on the bluetooth device that its paired to. I was hoping for a missed setting... grrrr
Firedcylinder said:
Mine does do this though. It's annoying as $? #$. I have to go into settings and and manually connect media audio 99% of the time. It never does start playing automatically though.
Click to expand...
Click to collapse
I have the same problem. Hopefully an update will take care of it.
Sent from my SAMSUNG-SGH-I337 using xda app-developers app
Please read forum rules before posting
Questions and help issues go in Q&A
Thread moved
Thank you for your cooperation
Friendly Neighborhood Moderator
My phone is rooted, how would I disable this autoplay feature in android? There's got to be a file somewhere I can edit to fix this..
Its very annoying to always have poweramp auto play when I connect to bluetooth. (And Poweramp is set to NOT respond to bluetooth)
Has anyone figured out the root cause of this autoplay silliness?
hey guys, I had this issue as well, even tho on the phone side I "forgot" my car, my car still requested my phone every time I turned it on. but actually, nearly every stereo has some Bluetooth settings. my car didn't have an option to forget my phone, but it did have an option to switch "auto connect" off. look thru your stereos menu, you're likely to find what you're looking for.
Sent from my Galaxy Nexus using xda app-developers app
This issue only seems to occur with my car, a 2013 WRX. I connected fine and typically every subsequent time I get in the car and start up as long as Bluetooth is on my phone will automatically connect. This was the case with my Gnex and the moto x. The G2 connects the first time fine but then the next time it won't connect, almost as if it's a different phone. The cars Bluetooth is pretty basic so it will only save one device so I end up having to delete it and start over.
The phone auto connects to other devices like my obd dongle and my outdoor speakers just not the car. And it worked in the car with other phones so I'm stumped. Anyone have any ideas?
Sent from my VS980 4G using xda app-developers app
Mine auto connects everytime n 2 different vehicles. Doubt its the phone...
Sent from my LG-D800 using XDA Premium HD app
same problem
I have the same problem with my 2011 WRX. G2 will connect fine the first time but every time after that i need to manually connect and that will only work every 3rd time.Very annoying.
zac413 said:
This issue only seems to occur with my car, a 2013 WRX. I connected fine and typically every subsequent time I get in the car and start up as long as Bluetooth is on my phone will automatically connect. This was the case with my Gnex and the moto x. The G2 connects the first time fine but then the next time it won't connect, almost as if it's a different phone. The cars Bluetooth is pretty basic so it will only save one device so I end up having to delete it and start over.
The phone auto connects to other devices like my obd dongle and my outdoor speakers just not the car. And it worked in the car with other phones so I'm stumped. Anyone have any ideas?
Sent from my VS980 4G using xda app-developers app
Click to expand...
Click to collapse
Have you tried letting it go for a while? I noticed its very slow to reconnect in my car (Infiniti), but it does eventually reconnect.
I havent tested it yet, but I noticed if the screen is on during reconnect, I get a message box saying the car is accessing the phonebook....Im wondering if it pulling the phonebook every time is slowing down the reconnection process.
Found a Solution
Found a solution, want to thank 2011_ST over at forums.androidcentral.com for pointing me in the right direction. The WRX head unit is very weird. The paired devices it shows you when you use the buttons to see all devices is different from the paired devices it tells you when you use the voice navigation to pair and delete devices. I had to use the voice navigation to delete my last 2 phones, than pair the LG G2. Problem solved, phone connects in the first 10 seconds after car starts.
Could you elaborate a little on where you see the different devices?
Since this I've actually gotten a new G2 due to issues with calls not coming through with the first. Still having the same issue. I cleared everything out today and started navigation and tried connecting after that started but I don't see a difference. After turning the car off and back on it doesn't reconnect. It saves the car in my BT settings and if I go in and uncheck and recheck phone and media audio it then reconnects without repairing but it will not auto connect.
For others the WRX Bluetooth I'd very basic, no contacts syncing or anything like that so I know this isn't the issue.
Thanks
Sent from my VS980 4G using xda app-developers app
I am coming from a long history of HTC use and so I apologise if this question has an obvious answer.
Previously, if I wanted to connect to my bluetooth in the car (previously paired with), I would just hit the bluetooth button in quick settings to turn it on and that was it, just like connecting to wifi.
If I do this on my S7E, I then get another screen popping up that tells me my device is visible to others and lists previously paired devices for me to select from, and then I have push the back button to leave that screen?
Is there a simpler way as I used to do on my HTC?
cheers
C.
PS - I am sure this will be the first of a number of questions as I get used to TouchWiz and Marshmallow......Sorry.....
crazyC said:
Previously, if I wanted to connect to my bluetooth in the car (previously paired with), I would just hit the bluetooth button in quick settings to turn it on and that was it, just like connecting to wifi.
Click to expand...
Click to collapse
Have you ever *paired* your new phone with your car?
I've only had two cars with BT in them, but in both cases the car and phone had to be paired before they would work together.
Once that was done then it would work as you expect.
Specifics of getting your *car* into pairing mode I can't help with, but once you do that you should be able to select it while scanning from the phone (as you've seen already the phone will list devices it finds) and you can finish walking through the pairing.
C0derbear said:
Have you ever *paired* your new phone with your car?
I've only had two cars with BT in them, but in both cases the car and phone had to be paired before they would work together.
Once that was done then it would work as you expect.
Specifics of getting your *car* into pairing mode I can't help with, but once you do that you should be able to select it while scanning from the phone (as you've seen already the phone will list devices it finds) and you can finish walking through the pairing.
Click to expand...
Click to collapse
Oh yes, it was paired with the bluetooth fine (its actually a visor BT device, not the car itself), and when I turn on the BT it shows up on the list of previously paired devices)
Don't have to make it a trusted device for it to auto-pair?
Why turn Bluetooth off at all?
Just leave it on.
Regards,
Dave
Sent from my Nexus 6P using Tapatalk
neezy13 said:
Don't have to make it a trusted device for it to auto-pair?
Click to expand...
Click to collapse
Nope, just had to be paired.
Trusted Device brings in the Smart Lock stuff, which enables the option of having your phone NOT authenticate you (pattern/pin/finger/passwd) when connected.
For example, I have my car bluetooth set as a trusted device so that when I'm driving I don't get any identity challenge to use the phone (like for navigation), the screen will just come on as requested.
Smart lock is blocked by my exchange administrator as I get my work emails on my phone.
I turn the Bluetooth on the phone off because I don't turn the one in the car off and it's just outside the house and will stay connected.
Sent from my S7 Edge