[Q] Condition setting - Android Q&A, Help & Troubleshooting

Hi,
Can someone help with condition setting.
I have a bluetooth media controller. Satchi Media Buttons http://www.satechi.net/index.php/satechi-bluetooth-button-series-media-button
It is connects to my phone via bluetooth as an external keyboard.
Is there a way of a setting a condition to only read input from the media buttons if 3.5mm jack is connected?
I occasionally leave my jack unconnected and press play on it and music starts blasting at work :victory: ..... bad times!!!
Can I do this via Tasker?

Related

[Q] Sync HD2 with car so can press previous/next on the radio to change songs?

Can it be done?
When I connect via aux cable with my car nothing happens when I press previous/next on the car radio.
Thanks
Probably bc the standard 3.5mm headphone jack is only for transmitting audio, not to control anything.
This should be possible if you have a radio with USB input for flash drives or ipods but not over an aux cable. Perhaps you could try to find an aux cable with the track forward/reverse built in to the cable? I know I've seen headphones with it but not sure about the cable alone..
Sent from my HTC Glacier using XDA App
I had an aux in fitted in my car and was told the next/previous would work. When it didnt they said it would only work on a ipod. Interesting comment about the cable - anyone able to confirm whether the headphones lead is different?
To be honest, with the swipe action on the music player, this doesnt really bother me as its easy to do this whilst driving. However, I'd like to switch to another music app given the random function doesnt work properly....
I definitely know where youre coming from, I've always used an ipod for music, but want to use my mt4g now (or try to).
I messed around today and here's what I've came up with:
with the aux cable (standard 3.5mm headphone cable) you only have control of the tracks on the device, not with the radio's controls. you might be able to find cable with seek buttons built in (like some headphones) to make it easier but I've never actually seen one.
If your radio has a usb input on it you can connect your phone via usb, mount the sd card (as if using mass storage on a comp) and your radio should detect and read it as a flash drive. going this route your phone will charge, but you'll ONLY be able to control tracks from the radio head unit and you wont be able to listen to Slacker Radio or Pandora or other similar apps via usb. another plus is that the processing is done by the headunit, thus you could use your headunits random function.
The last option (that I think is king) is if you have a bluetooth enabled headunit, the HD2 can stream audio over bluetooth (a2dp) to your radio. You could then pair and stream music, Slacker, Pandora, etc and maintain control on the device (I would prefer control on device and radio, but i dont see this happening) wirelessly. One huge plus to me is that you can charge it while keeping fully functionality with only one cable.
I cant find a cable with anything other than volume controls, but I wonder if either of these options would help
micro usb to 3.5mm
http://www.cellphoneshop.net/syn2113.html
3.5mm to usb
http://bensbargains.net/deal/147822/
I've been using a BT Venturi Mini for about a year now and it works perfect. You can change streamed track/ stop start and it has no wires.So no mess, best investment ever. Plus, you can pick up calls/ voicemail via car stereo too.
Sound quality excellent, especially when you increase BT pool bitrate via HD2 tweak.
Perhaps if someone modded the headphones that come with the HD2 so that they go from 3.5 to 3.5 with the controls in the middle of the wire to use ?

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.

Bluetooth Remote Functions

Hello all,
I've got sort of a detailed question, so bear with me as it may be a little TLR.
Basically, I'm thinking of putting a Nexus 7 in my car. I've heard that bluetooth quality is VERY hit or miss, so I'm looking to use the headphone output/line out adapter if I can find it.
Unfortunately, keeping my steering wheel controls is a must. I'm going to add a hidden head unit so I don't lose FM radio, CD capability, and all those other archaic things passengers may request. Just about all of them have bluetooth connections.
So, I'm looking for a bluetooth app that can receive a command from a connected device, and play/pause/forward/back a song, even if the audio is not being transmitted via bluetooth.
So (excusing the various adapters I buy), the chain would look like this:
Steering Wheel Control (Next Track) -> Head Unit connected via BT to tablet (audio coming in via headphone plug on N7) -> N7 App intercepts command -> Music app goes to next track.
This has to be possible, right?
Thanks!
EDIT: I found an app called Headset Button Controller on the play store. I think this describes what I want, but I want it to receive the commands via bluetooth, not via a headset controller. Thanks again!

Bluetooth remote

I've hunted through the forums and on Google for an answer but I'm drawing blanks!
What I'd like is a remote to control my phone whilst listening to music. More specifically whilst in the car.
I find it quite fiddly to double tap the screen and then skip tracks whilst driving.
Is there a solution?
LG-G2 / Android 4.2.2
http://www.amazon.com/Satechi-MediaRemote-Bluetooth-Multi-Media-Control/dp/B00824948U
Valiceemo said:
I've hunted through the forums and on Google for an answer but I'm drawing blanks!
What I'd like is a remote to control my phone whilst listening to music. More specifically whilst in the car.
I find it quite fiddly to double tap the screen and then skip tracks whilst driving.
Is there a solution?
LG-G2 / Android 4.2.2
Click to expand...
Click to collapse
One solution is to use tasker to disable screen turnoff while connected to your car bluetooth and charging (assuming you have a car charger). Then use something like Unity Music Media Keys (universal control widget that you can supersize, works with pretty much every major music service) for easy skipping.
Or they make aux cables (if you are not using bluetooth) that basically add android remote (volume and skip) functionality and then have a female end (so you can plug into your car normally).
empiremaster23 said:
One solution is to use tasker to disable screen turnoff while connected to your car bluetooth and charging (assuming you have a car charger). Then use something like Unity Music Media Keys (universal control widget that you can supersize, works with pretty much every major music service) for easy skipping.
Or they make aux cables (if you are not using bluetooth) that basically add android remote (volume and skip) functionality and then have a female end (so you can plug into your car normally).
Click to expand...
Click to collapse
Thanks.
I've had a look in play store and can't find the unity music media keys
LG-G2 / Android 4.2.2

Lollipop 5.1.1 Bluetooth headset control

Sorry if this is not the right category, I have been looking to find one better suited to post this subject but couldn't find one.
As stated above, I'm having issues with controlling music from my Bluetooth headset. I've already done some troubleshooting but am currently at a loss and hope to find some help here.
Let me first describe the problem first:
When I connect my Bluetooth headset (Philips SHB7150) to my Xperia Z3 tablet compact I can not control my music. If I start playing music from the app, it plays fine through the headset but I don't have control. This used to work before, unfortunately I can't pinpoint when the issue started but it's possible it happened after upgrading from Lollipop 5.0.2 to 5.1.1.
Now on to my troubleshooting results:
- When I turn off the BT headset and turn it back on, it connects to the tablet without hassle but I have no music controls.
- When I turn off the tablet and turn it back on, it connects to the BT headset without hassle but I have no music controls.
- When I pair the headset again using NFC, it connects to the tablet and I have music control :good:
- When I turn off BT on the tablet and turn it back on it connects to the BT headset and I have music control :good:
- When I connect the BT headset to the tablet and go into BT settings, open the settings for the BT headset + uncheck 'media' + confirm + check 'media' + confirm and I have music control :good:
- When the tablet connects to BT in my car, it starts playing after the play command from the receiver. :good:
- In these last 4 cases, the solution is only good until next time the BT headset is turned off and connects again. Then there is no music control until I repeat one of those 4 steps.
Things I have tried:
- Use another application to play my music (stock Xperia music app, Google music, Rocket Player, Shuttle+, ... are all experiencing the same issue. So I don't think it is due to the music playing software
- Tried an application (headset button controller) to try and change the button behaviour but it does not receive the command from the headset (no beep)
- Connect my BT headset to another device (Sony Xperia S, MacBook Air) and it works fine (both after pairing and after turning BT headset off and on again)
- Factory reset my tablet using Sony Bridge for Mac -included wipe of internal data-, still the same issue.
- I tried to find some ADB command to reset everything BT, but all I could accomplish was using the command to start BT (due to lack of knowledge on ADB commands)
- I deleted all app data and cache for 'Bluetooth sharing' in application manager + restarted and connected again (no success)
- I re-paired the headset once more but this time without adding it as a smart-lock unlocking device but had no luck controlling music when I connected it again
To conclude:
The headset is working fine with other devices, I can't pinpoint if this is a software/hardware issue because it appears to be only for this BT headset/laptop combination and with all music software AND continues after factory reset...
Other BT devices (=car stereo, I don't have another BT headset to test with) are working fine to control music on my tablet
Restarting BT on the tablet or re-autoring the use of media in BT settings on the tablet permanently resolves the issue until the next time the headset is connected.
So it looks like either something hijacks my device as soon as it connects to the tablet OR the media-authorization gets revoked in the BT settings for that device. Perhaps I'm saying stupid things, but I'm really hoping that you, the more knowledgeable Android developer/enthousiast/... would be able to make more sense and to give me a hand in order to fix this issue.
I currently am dependent on my tablet for playing music during my daily train commutes since my beloved Xperia Z1 Compact is in for warranty repairs
ANY help would be appreciated !

Categories

Resources