Bluetooth audio streaming for cars without built-in A2DP - Xperia Z5 Accessories

Update: Sony has modified the API in the Music App, which broke the play list changer and shuffle on/off function. This is fixed in the current version
This is a guide for backfitting A2DP audio streaming on cars without built-in A2DP.
It took me quite a while to get the perfect setup and I would like to give you some ideas for your solution.
My car stereo came with a SD slot, which is quite nice. But the downside is that you have to take card always out if you want to update it and not all audio formats are supported (e.g. no FLAC support)
So I was looking for a backfit.
If you have a line-in then there are plenty of A2DP backfits available. The important point is that it supports APTX, which is a huge improvement of sound quality compared to other codecs.
My choice was the Kinivo BTC 455, which works perfectly well at a very reasonable price (approx. 35EUR).
At first I had some stuttering, but that was just interference between WLAN and Bluetooth. All you have to do is to create a rule in Sony Smart connect, to switch off WLAN upon connect to the BT Audio and the issue is gone.
My Bluetooth receiver is now inside the arm rest as I had there the line-in and the power connector. Now the challenge was, how can I skip songs, change playlist aso., without touching the phone. This is forbidden in most countries and there are high fines. So the next thing I got was a Bluetooth media switch. My choice was the Satechi media button, as it is has a very nice design and looks almost as it would belong to the car.
Next and previous song worked instantly, but I wanted more. Volume up and down is useless, as I have it already on my stereo and even on my steering wheel. So reconfigured the buttons to be fast forward and backward instead. All you have to do is to place a corresponding keymap file in /system/usr/keylayout (root required). You can find the one I used attached to this post. Just flash it with TWRP.
As I did not find any app for switching the playlists I wrote my own, which is also attached to this post. Basically it does the following:
Auto activates on A2DP connection or headset plugged in
To start it manually just start it from the launcher. In the notification there is a button to stop it manually.
The current song is displayed on top whenever you switch to another song
Prevoius key:
Previous song, on hold fast backward (press play to exit)
Next button:
Next song, on hold fast forward (press play to exit)
Volume up (remapped to fast forward key):
Switch playlist (only Sony player)
Volume down (remapped to fast backward):
Toggle shuffle play (only Sony Player), on hold skip to next album (skips songs until the album name changes)
Play/stop
Play/stop, on hold display the current song, on double click (for headset) skip to next song
With all this you have the comfort of a built-in solution with the advantage of using your phone, which can be easily updated and supports almost all audio formats.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Related

Bluetooth Hi Fi Speakers?

I love my XDA II.........it protects me from stealth charges, tells me where to go, gives me email/sms/phone etc, plus it's great for MP3's.
I want to use it as a Hi Fi around the house though as well...... is there any solution such as big powerful Bluetooth speakers that I can drop into the kitchen or any room I think suits?
Just an idea.....
Oh...also the ring tone on the alarm clock isn't good enough to wake me up......so any ideas here are appreciated too....!!
Many thanks
David
i agree with the alarm thingie..
heres what i did.. got an mp3 with really load music ( which i like ) opened a sound edit program like cool edit pro etc then increase the decibels.. it works like a charm
http://www.bluetake.com/products/BT460EX.htm
Alarm Clock
Hi guys,
For the alarm clock:
pTravelAlarm is the best I have found (I am not an early bird!)
http://www.burroak.on.ca/pta.html <<< for features
Available from Handango - can't remember where I got mine from though as I didn't pay that much!
You can use your own music files for the alarm sounds (just dump the file in the correct directory)
Chris (UK)
SMALL HiFi headset.
http://www.itechdynamic.com/html/mainpage.htm
Hi guys, just something along the lines of what is being discussed in this thread, concerning music around the house - I wanted to stream music off my home network using my XDA2s's WiFi connection....and then wirelessly send it to some bluetooth receiver with a line out socket....connected to an amp + speakers....thus i would be able to CONTROL the sound using the XDA and PLAY it on my existing sound system, instead of getting seperate speakers...
Has anyone had success in implementing something like this? In principle this seems relatively simple, I guess if there is any bluetooth headset on the market with a line out facility it could also be used for this purpose...
What do u folks think?? Has anyone tried this out or know of any such bluetooth music receivers that can synch with the XDA2s??
shockwave said:
Hi guys, just something along the lines of what is being discussed in this thread, concerning music around the house - I wanted to stream music off my home network using my XDA2s's WiFi connection....
8><..........
Click to expand...
Click to collapse
Remember seeing an application somewhere that allowed you to use your XDA as a remote control for your PC, to control a media player, via wi-fi.... can't remember where it was though........
This is the route I will be going to control my Windows MCE via Wlan.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
It's like 30 USD I think
http://store.niveusmedia.com/s.nl/c.304836/sc.2/category.2/it.I/id.5/.f
HOpe that helps..
Bluetooth Stereo Speakers
Here:-
http://www.globalsources.com/gsol/I.../p/2000000003844/3000000173961/1000527955.htm
Cool................
I was after something like this a year ago..!!!! :wink:

AVRCP media control module (no A2DP needed, just want to remotely control media)

Hey guys,
Not sure if this exists, or if someone could point me to a product which does what I'm looking for. Basically, I want a device that will connect via Bluetooth to my HTC Uni, and use the remote control functions of AVRCP to allow me to pause/play/next/prev/etc. via this little remote control. I do NOT need the device to do A2DP, as I already hard-wire in the speakers.
I know there may not be much of a need, but I want this functionality for when I go snowboarding, and I keep my HTC Uni in my jacket pocket (in an aluminum case of course!). I already have headphones in my touque/hat, so they would be connected directly to my Uni, then I wanted a device that I could strap to my wrist or jacket which I could hit "next/prev track, etc."
I am thinking that without the A2DP streaming music, I might be able to save on battery, as the device would only be a "Bluetooth AVRCP Media Remote". I tried searching the net for the past 4 hours, but came up with nothing.
The only device that almost caught my attention was the Motorola S705 Bluetooth Soundpilot, but it has a headphone connection on it (I just want the AVRCP remote control functionality).
Now maybe I am dreaming, since I've never actually played with an A2DP/AVRCP device before, so I'm not even sure if the headset port on my Uni would become deactivated if an A2DP/AVRCP device were to connect with the phone.
EDIT: I've actually found a picture of the setup that I'm talking about from the official Bluetooth page:
(it's the 2nd pic, note the fine print: "* the audio stream is not handled in this profile"...what i need!)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
from: http://bluetooth.com/Bluetooth/Technology/Works/AVRCP.htm
Any insight, suggestions, ideas are greatly appreciated, and I thank you in advance!
scar45 said:
(it's the 2nd pic, note the fine print: "* the audio stream is not handled in this profile"...what i need!)
Click to expand...
Click to collapse
It just refers to that you also need to have A2DP support. However, the two may not be separated - unless someone has managed to "hack" this.
If nothing else works, you might want to give a try to UPnP, along with a remote controllable player like Conduits Pocket Player. Note that it doesn't use AVRCP but UPnP and might only work via Wi-Fi (I haven't tested it over BT PAN).
See my UPnP Bible for more info.
Thanks for your reply Menneisyys,
Now I understand a bit more about how those technologies work, and although I wasn't in dire need of such a controller, I appreciate your information.
I do use CorePlayer, and I have heard that it supports AVRCP, but until I can get a controller-only piece of hardware, I probably won't keep looking into this (only to get my hopes up).
Wouldn't it be great though to have a small iPod-like device that could control your phone via BT? Think about the situations where you might have your phone wired to a nice speaker system, but are chilling outside. You wouldn't even have to aim the remote!
I am thinking too far outside of the box now though, and if I only had the means, time and most importantly, knowledge, to create such a device, I would be ALL over it!
Hopefully someone has read into this, and maybe we'll see such a device down the line....for now, it's more waiting time!

Nexus 5 wont control volume on BlueTooth Speakers?

Ok so my title states it pretty well. I have a bunch of bluetooth devices I use, JBL Charge, Car Stereo, JayBird headphones, and every other android device I have had you can control the volume from the device. However with Googles new nexus 5, it seems that feature doesnt work? Now I have to use the bluetooth speaker to change the volume. Any ideas on a fix?
Same here, seems to be a bug. Use an equalizer app to lower the volume
Sent from my Nexus 5 using Tapatalk
Vanhoud said:
Same here, seems to be a bug. Use an equalizer app to lower the volume
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Ok, any recommendations?
Works fine on my Sony MDR 10 rbt headset.. So it does not seem to be an overall n5 bt problem
Mine and my wife's n5 have this problem. Default bt audio output is too loud and is distorted. Sometimes the volume can be controlled by the volume buttons, most of the time not.
I have the default eq like this
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my Nexus 5 using Tapatalk
The problem looks to be app compatibility with 4.4. Pandora doesn't allow any bluetooth volume control, but Slacker which was updated Nov 8th works fine.
I used the volume buttons on my Nexus 4 to turn down the BT audio all the time when I listened to Pandora. It's a system ride function so it shouldn't matter what app is playing audio
Sent from my Nexus 5 using Tapatalk
This is not a Nexus 5 issue. It is Kit Kat issue on all devices that use the default Google Bluedroid Bluetooth stack, meaning Nexus devices and Google Play versions (other devices running a modified stack may not be affected).
Supposedly, it is an extension to Bluetooth AVRCP 1.3 that enables Bluetooth audio devices to directly control Android's system volume. It seems some genius thought two independent volume levels (headphone volume and handset bluetooth level) was too confusing for folks. Clearly they did not think about (or test) that some Bluetooth audio devices with their own volume controls might default to a very high or low level, and control of only the handset's bluetooth level would not provide sufficient range of adjustment.
So once again we have Goofle googing up bluetooth in Android. Please share your disappointment in the following threads so that we might see a fix ASAP. Guessing they are facing law suits for hearing damage if it is not addressed quickly.
http://productforums.google.com/forum/#!msg/nexus/X6Hwt2qMYDo/7qd-JGylQv0J
http://productforums.google.com/forum/#!msg/nexus/dsf7hQPesds/zWhIE27o2KwJ
http://productforums.google.com/forum/#!topic/nexus/uXzs0e3l7rI
http://productforums.google.com/forum/#!msg/nexus/b5h94ggUIac/qkBs9WUIh4oJ

[Guide] How to share audio during a phone call

Hello everyone!
Ive been struggling with this one for a while.. and finally I got a good solution. so lets dive into it.
the big downside for this method to work and its the fact that your PC will be doing the lifting here so it will work only when you can use your PC.
Here's what you will need:
- Any phone with bluetooth capabilities
- A PC with Windows 7 (this is the only one that work for now.... thank Microsoft for that)
- PC bluetooth adapter and installed driver.
- VAC software - Virtual Audio cable installed
- Windows media player (you can copy the settings here to any player)
1. Pair phone and PC using bluetooth (pretty simple)
2. Open VAC control panel, set "cables" to 2, make sure "line" and "mic" are marked, click "set"
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
3. Now go to the speaker Icon on the bottom right of the screen, right click, "recording devices"
4. You will notice theres 2 new devices called "Line1" and "line2". make "Line1" default device.
5. choose the Microphone you would like to talk through in call, right click it, properties, go to "Listen" tab, mark "listen to this device" and from the list choose "line1".
6. Repeat step 4 for "Line2"
7. Go to windows media player, click ALT (in your keyboard) , Tools and Options. under "devices" tab click "speakers" and then "properties". from the list, choose "line2". save and close.
That's it!
now connect your phone and make a call. the call will go through your PC to the microphone connected to it and you can talk normal.
To play an audio so that the other side can hear it, open media player and play it. the sound is being played using digital audio so this is the best quality available.
If you want to hear the audio as well there is another small step:
8. go to "Start", Virtual audio cable, click "Audio repeater [MME]". in the window, under "wave in" choose "line2" and under "wave out" choose your speakers. click "start".
I hope this help as I know there are so many pepole asking for it.
Enjoy!

Question Auto play music in car

Hi,
I've been trying to find a fix for this since October.
I have a P7P and I connect to my cars Bluetooth without issue. It's a 2014 BMW 3 series with pro navigation, the lot.
It connects, I can take and receive calls, stream music etc. Not an issue.
However, the only problem is that music will only start auto playing if I have recently opened up YouTube Music and played something. If I swipe up and close YTM, and reconnect to the car, it won't play.
If I exit the car whilst YTM was playing, and get back into the car in quick succession, it'll start playing automatically.
However, if I don't get back in the car and connect to Bluetooth and leave it a while, it won't auto play.
From the phones side, it is blindingly obvious that it is a background process issue that just doesn't remain active. My previous phone, a Huawei Mate 20 Pro never had an issue with this.
I have tried all battery optimisation options that indicate YTM is unrestricted, but nothing works. It just won't start auto playing music once Bluetooth connects. At the moment it's just fiddly getting into the car, waiting for Bluetooth to connect, then opening YTM and pressing play.
Does anybody have any ideas please?
Thanks.
You might try an automation app like MacroDroid or an old app like Tasker (I think I saw someone state they still have it working and doing things on our P7P/Android 13)...You could set things up, i imagine, that when it connects bluetooth and/or your car's bluetooth, to automatically load YTMusic and/or it press play after it loads...MacroDroid is very versatile...
I have same issue, looking forward for resolving
What is odd also is on pioneer head unit with wireless AA, it autoplays YouTube music no matter what for me. I'm on pixel 7 pro, and just wanted to add input for troubleshooting purposes.
This is handled by app. for example, in poweamp you can turn this on/off and both work flawlessly
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I'm using this app and it handles it for me, opens the app and starts/stop playing.
I use MacroDroid to automatically open Pandora when I connect to my car or motorcycle BT.

Categories

Resources