Tasker not detecting bluetooth in CM9 - Sony Xperia P, U, Sola, Go

Does anyone else use Tasker in CM9? For some reason t's not running any tasks that depend on bluetooth connection. I have one for when my car stereo connects but it never runs. I tested by making one that should run when ANY bluetooth device connects but that also doesn't run.
Any ideas?

Related

[Q] Wi-fi vs Bluetooth

I'm having problems using bluetooth and Wifi at the same time. Anyone else had issues with this? I'm running MiniCm7 by nobodyAtall.
Bluetooth to both stereo and mono headsets works fine (need to use super mono plus for the single earpiece), and wifi works fine. But I get problems trying to use both together. It does work sometimes (so I know it is possible) but normally starting one service will stop the other functioning correctly. A shame because wifi + skype + bluetooth is a nice combination; as is streaming spotify mobile to bluetooth
Any ideas?

[Q] One click connect to *specific* Bluetooth device? [NFC Automation]

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

Android-to-Android Bluetooth Profiles

Hi everyone,
I am an owner of the GSIII I747M and the ASUS Transformer, both running ICS. I recently had this idea (fantasy?) where I mount the Transformer in my car, hook it up to the car speakers and basically use it as my in-car infotainment system instead of the headunit that's in there. Nothing wrong with my in-car headunit (except the fact that I can't get bluetooth to work with my GSIII), but the tablet will give me tons more features. When I enter the car, I want the tablet to automatically tether to my phone via wi-fi and via bluetooth. Wi-fi is for internet access and it works just fine. The bluetooth is for the hands-free profile, so that when I receive a call, the music/navigation/whatever gets interrupted and I can take the call. I also want to be able to dial from the tablet.
When I connect the two devices via bluetooth, I don't have a hands-free profile; indeed I have no useful profiles at all. My question is simple: is there an app for that? Any suggestions? Has anyone done this? Thanks!

[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.

[Q] HOX+ Bluetooth Phone issues

I have my HOX+ connected to the car via bluetooth. The music streams brilliantly. No issues there at all.
What I do have major issues is with Phone calls. Making outgoing calls is impossible it refuses to conenct to the bluetooth speaker even if you manually select the option, it just goes to internal speaker. If you select external speaker it goes ok but just wont connect to the car sound system at all.
In comming calls are iffy. Some times they pipe through the speaker but not all the time.
I know there are issues with HTC and bluetooth in general just looking for some ideas on how to try and fix the issue.
I have viper rom and elite kernel.
I was even thinking about buying this to see if it would help!
HTCs bluetooth stack has known issues with certain kinds of HSP devices.
The problem is that since the BT stack is propertary and closed source
it is hardly possible to change anything there compared to AOSP roms
where this is open source
So even if I guess you wont like the idea I can only suggest that
you try an AOSP rom if this is really important for you.
There is still not a 100% guarantee but chances are better that it works
About which kind of car BT device are we actually talking?
Even with the AOSP BT stack there are certain devices that have problems
espcially some kind of car manufature propertary solutions.
I use a Kenwood BT capable receiver and it works without problems
The device you linked may not help you because from the description
this is only for A2DP which doesnt include BT phone audio (HSP profile)
...
- this dongle is compatible with all devices with BT A2DP profile
...
Hmm ok so it sounds like the dongle shouldn't work as expected then ok! Just dont want to spend nearly £50 and find it doesn't work any better.
I have a Kia Pro Cee'd 2 with standard inbuilt car stero / bluetooth. I think it is the fact that it works sometimes bothers me more than if it didnt work at all!
I did try osap for a bit and had similar problems but will try again and see if I can get a good connection!
In the car I have buetooth connection, usb charging port and aux connection that is compatable with iphones. I actually get an iphone connection cable with the car!
Most of the bluetooth boxes I have seen only seem to have A2DP and AVRCP
connection profiles so I dont think these would work either.
Ghost said:
I have a Kia Pro Cee'd 2 with standard inbuilt car stero / bluetooth. I think it is the fact that it works sometimes bothers me more than if it didnt work at all!
I did try osap for a bit and had similar problems but will try again and see if I can get a good connection!
Click to expand...
Click to collapse
well then this seems one of those sh.. devices
if you already have tried a recent 4.2.2 AOSP rom and it failed
then it prolly will still not work
Allthough there has been a patch in bluedroid lately regarding connection issues
https://github.com/maxwen/bluedroid/commit/e6eaba415b3d9cb0043a590cc01a1e7d79fed5ca
I have no idea if this may help but you can try

Categories

Resources