Smartconnect Applaunch - Xperia Z3 Compact Q&A, Help & Troubleshooting

Has anyone had any luck using Smartconnect to launch an app when the screen is off? Trying to set it so when the phone connects to my bluetooth in my truck it will auto-launch SiriusXM. As soon as I turn on the screen and unlock it launches but not before. Tried with tasker and getting same action so I'm hoping someone knows a setting I'm missing that is blocking. I'm unrooted if that matters.

Related

Bluetooth Headset and lockscreen

Hello,
I was wondering if anyone had any suggestions or recommendations for a problem I have with my GN2,
The problem is that I use a pattern lockscreen with my GN2 and when I use my Motorola 730 bluetooth headset to make outgoing calls, it won't work when the screen is locked. It looks like this is because the phone activates the phone's voice dialer, sVoice, which won't launch when the screen is locked. Is there a workaround for this, or a similar bluetooth headset that will work with a locked screen? I would like to both make and receive calls when driving, without having to put in the diabolical pattern I use to unlock the screen.
Thanks in advance,
-Plaz
I have the same problem with my Galaxy S2 and now this phone when a lockscreen pattern is used.
I have the same problem. Except I'm using a Jawbone Icon and face unlock. From what I can tell it might be because it's trying to open S Voice instead of the normal Google Apps or it's Touch Wiz. Either way When I'm on the road, which is all the time it is super annoying to have to unlock my phone before using the hands free...
Ghost_1 said:
I have the same problem. Except I'm using a Jawbone Icon and face unlock. From what I can tell it might be because it's trying to open S Voice instead of the normal Google Apps or it's Touch Wiz. Either way When I'm on the road, which is all the time it is super annoying to have to unlock my phone before using the hands free...
Click to expand...
Click to collapse
I think I found the solution but I have to test it with my note 2. Download automateit pro from play store and toggle it so that Bluetooth connected will bypass lockscreen and bluetooth disconnected will engage lockscreen. For $1.60 it is worth a try. For some reason it still won't work on my GS 2. From a lockscreen, as soon as I connect the bluetooth, the pattern screenlock is disable and I can operate the phone BUT I still can't activate voice dialing either from the headset or long press search. The voice control app still think the phone is lock. It maybe because I am on custom ROM on my GS 2.
.
Plazmid said:
Hello,
I was wondering if anyone had any suggestions or recommendations for a problem I have with my GN2,
The problem is that I use a pattern lockscreen with my GN2 and when I use my Motorola 730 bluetooth headset to make outgoing calls, it won't work when the screen is locked. It looks like this is because the phone activates the phone's voice dialer, sVoice, which won't launch when the screen is locked. Is there a workaround for this, or a similar bluetooth headset that will work with a locked screen? I would like to both make and receive calls when driving, without having to put in the diabolical pattern I use to unlock the screen.
Thanks in advance,
-Plaz
Click to expand...
Click to collapse
OK I think I found the solution to this locked screen and making outgoing call with bluetooth using S Voice.
When you use a lock screen of some sort besides the swipe, you get this problem. You are fishing, the phone is in the waterproof case, or in your pant pocket, you activate S Voice using your bluetooth and S voice will not come up since the phone is locked and you can't make voice dialing until you unlock the screen.
Solution:
Tap the green phone app, select call settings, Accessory settings for call, look under BT headset settings for outgoing calls, enable Make calls even when device locked.
Now using my LG stereo bluetooth headset, I still can't directly access the S voice when the screen is locked. But, I can long press the call button(on my BT headset) and then it will dial the last number called. Then I quickly hang up, lightly press the call button(on my BT headset), and then S voice will be enable and I can say "Call David Mobile or play music, etc).

Automated In-Car Wifi Hotspot with Tasker

About a year ago I mounted my Nexus 7 2012 Wifi in my car, and came up with some Tasker scripts to have my phone automatically start wifi tethering as soon as I turn the key. I’d like to share with you all how I did it, and answer any questions anybody might have.
I made a video to provide a overview of my setup that can be found here. I can't post links yet so you'll have to copy and paste!
Code:
youtu.be (slash) jkDr9mLY568
Hardware
Nexus 7 Wifi 2012 rooted running stock KitKat with Xposed Framework installed.
Nexus 5 rooted running stock KitKat with Xposed. I’ve also tested this with a GNex and G2 and it worked great with both of those.
Previously I ran CM on both my phone and tablet and it worked fine.
Software
Connectivity:
Tasker
Secure Settings (I use Pro, but I don’t think it’s necessary, correct me if I’m wrong)
Tablet Talk
Tasker/Locale Plugin for Tablet Talk
SSID Selector (Tasker plugin)
All these except for SSID Selector need to be installed on both the phone and tablet.​
Apps:
AutoVoice - allows you to create your own voice commands and have Tasker parse them.
GMD Gesture Control Create custom multitouch gestures.
Waze
Spotify
Waze and Spotify are the only apps I have in focus 99% of the time. I have Torque installed and it works great, but I rarely use it.​
Tasker
Tablet
Profile: Wifi Tether Control
State: Power any
Entry task: Powered On
Wifi Off: This disconnects me from my home network in case I’m using my home wifi
Brightness up if Daytime profile active, turn down otherwise
Tablet Talk Action: Start BT Mode - start Tablet Talk connection to phone, this tells the phone to turn on the hotspot.
Display timeout: 20 min
Wait 4 secs - this gives the phone time to start the hotspot. I’ve found everything works better if there is a pause here.
SSID Selector - only connect to my phones wifi network
Wifi on
Secure Settings: GPS on
Auto-Sync on
Exit task: Unpowered
Stop task if the powered on task is running. This is to prevent a problem I was having where if I turned the car key too slow, it would start this task while the entry task was still running, leaving the car running but the tablet and hotspot off.
Get location and use Pushbullet to send location to phone
Tablet Talk: Disable - this triggers the exit task on the phone that turns the hotspot off
Wifi, GPS, autosync off.
Send intent to close Waze - Waze doesn’t seem to respond well to being killed, so I use an intent to turn it off. If I don’t do this it is a MAJOR battery drain.
Media Utilities Action: Pause - the built in media actions don’t seem to pause Spotify reliably, so I use this plugin
Lock screen and set lockscreen PIN with Secure Settings
Phone
Profile: Car Tethering
Entry task: Start Wifi Tethering
Ringer on
Wifi Tether on
Notify Sound
Exit Task: Stop Wifi Tethering
Wifi Tether Off
Notify Cancel: Tethering on notification
Notify Sound: Tethering off
Wait 5 secs
Turn wifi back on
Notify Cancel
I've attached all the tasks and profiles I use on my tablet. I'll add some explanations for the rest of them later on if anyone is interested. They include things like:
Gathering sunset/sunrise times to automatically adjusting brightness
Switching to Waze if there is no touches detected for x number of seconds
AutoVoice tasks and profiles for searching Spotify, Waze, and Google Maps
I really want to know how to so this
Gathering sunset/sunrise times to automatically adjusting brightness
braddaniels said:
About a year ago I mounted my Nexus 7 2012 Wifi in my car, and came up with some Tasker scripts to have my phone automatically start wifi tethering as soon as I turn the key. I’d like to share with you all how I did it, and answer any questions anybody might have.
Click to expand...
Click to collapse
So I assume your car turns off the charge port (ie: lighter port) when the ignition is off? That certainly makes this sort of thing a little easier, and sounds like your N7 is dedicated to car duties.
I like the idea of switching back to Waze when otherwise idle, I might do that myself. I do all of the rest, including the backlight management using a tiny web service I wrote for myself to get sunrise/sunset times.
My do it on my phone, however, I don't mount the N7 itself. So I use an NFC tag as my "Start car mode" context.
khaytsus said:
So I assume your car turns off the charge port (ie: lighter port) when the ignition is off? That certainly makes this sort of thing a little easier, and sounds like your N7 is dedicated to car duties.
I like the idea of switching back to Waze when otherwise idle, I might do that myself. I do all of the rest, including the backlight management using a tiny web service I wrote for myself to get sunrise/sunset times.
My do it on my phone, however, I don't mount the N7 itself. So I use an NFC tag as my "Start car mode" context.
Click to expand...
Click to collapse
Yes it stays in my car mounted on the dash unless I'm in a bad neighborhood or something. I live in Central Florida, and so far the heat has not been an issue. The battery still works fine even after sitting my dash for a year now. I know that it is a risk though, a friend of mine had a bargain bin Android tablet that blew up in her car a few weeks ago just sitting on the backseat.
Like I mentioned in the video, I just want it to work without thinking about it, I got sick of fumbling with my phone whenever I got into my car, and I didn't use my Nexus 7 that much anyway, so I decided to do this. Yes my lighter ports only work when the ignition is on. I don't think this is necessarily the most ideal way to detect when to turn the car is on though. I'd like for Tasker to implement Bluetooth proximity as a state, that might be useful. I recall seeing it on their todo list, but I'm not holding my breath.
I have an ODBII BT dongle, and I tried using that to detect when the car was on, but I found it to be clumsy and unreliable. I even experimented with the accelerometer to detect the vibration of the car running, but that wouldn't have worked too well.
In case you were wondering about battery drain while it's off, it's negligible. I'm sure if I left it off for a week or so it would probably die, but my 3.1 A charger charges it even with the screen on full brightness. The only time I've had to charge it while the car's not running is when some service doesn't shut down right due to a bug in my Tasker setup. I have had some bad luck with crappy USB cables, so make sure you get the highest quality and shortest length possible to maximize charging.
Thanks
I know this is an old post now, but this is exactly what I've been trying to achieve with my car setup with Note 3 / Galaxy Tab 8.4. Thank you for posting. This should save me a lot of time.
I have bluetooth in my Jeep and will be sending all tablet audio to the Jeep to play. I've had mixed results with it working and with it playing on the tablet so I may need to tweek Bluetooth Auto Connect. If that still wont work well I'll have to AUX cable it.
I just downloaded all your profiles and tasks and will give this a try with my setup. I really like how you have it auto start wifi tethering on the phone and then open Waze. I have an added step of activating Foxfi and then clicking a few boxes before that activates, so I need to figure that one out.
I also installed all your other profiles/tasks, though I don't know what all of them do yet. I'll need to go through them and see which ones apply to how I use my phone. Do you have any of those on your tablet as well, or are the extras just for your phone?
TheBlueDuck said:
I know this is an old post now, but this is exactly what I've been trying to achieve with my car setup with Note 3 / Galaxy Tab 8.4. Thank you for posting. This should save me a lot of time.
I have bluetooth in my Jeep and will be sending all tablet audio to the Jeep to play. I've had mixed results with it working and with it playing on the tablet so I may need to tweek Bluetooth Auto Connect. If that still wont work well I'll have to AUX cable it.
I just downloaded all your profiles and tasks and will give this a try with my setup. I really like how you have it auto start wifi tethering on the phone and then open Waze. I have an added step of activating Foxfi and then clicking a few boxes before that activates, so I need to figure that one out.
I also installed all your other profiles/tasks, though I don't know what all of them do yet. I'll need to go through them and see which ones apply to how I use my phone. Do you have any of those on your tablet as well, or are the extras just for your phone?
Click to expand...
Click to collapse
I didn't post the profiles and tasks from my phone because it should be relatively simple to implement yourself. I would highly recommend you try to build most of these profiles yourself and just use mine as a template. It'll make troubleshooting much easier if something doesn't work right.
Find My Phone
Hi Brad,
Just like to say thank you for sharing... you are streaks ahead in using tasker! I bought tasker about 1 year ago and fooled around with it and got the basic stuff I needed to work just fine. However, now I will be installing a nexus 7 as a fixed in dash carpc... replacing my old actual carpc running windows with centrafuse/riderunner, I will need to automatize pretty much everything as I will not have access to the side buttons.
I have imported your profiles and task and I am tweaking them for my needs. Only thing it complaining about is "Find My Phone", could you give me some pointers, if you can remember.
Thanks again...
Jared.
braddaniels said:
About a year ago I mounted my Nexus 7 2012 Wifi in my car, and came up with some Tasker scripts to have my phone automatically start wifi tethering as soon as I turn the key. I’d like to share with you all how I did it, and answer any questions anybody might have.
I made a video to provide a overview of my setup that can be found here. I can't post links yet so you'll have to copy and paste!
Code:
youtu.be (slash) jkDr9mLY568
Hardware
Nexus 7 Wifi 2012 rooted running stock KitKat with Xposed Framework installed.
Nexus 5 rooted running stock KitKat with Xposed. I’ve also tested this with a GNex and G2 and it worked great with both of those.
Previously I ran CM on both my phone and tablet and it worked fine.
Software
Connectivity:
Tasker
Secure Settings (I use Pro, but I don’t think it’s necessary, correct me if I’m wrong)
Tablet Talk
Tasker/Locale Plugin for Tablet Talk
SSID Selector (Tasker plugin)
All these except for SSID Selector need to be installed on both the phone and tablet.​
Apps:
AutoVoice - allows you to create your own voice commands and have Tasker parse them.
GMD Gesture Control Create custom multitouch gestures.
Waze
Spotify
Waze and Spotify are the only apps I have in focus 99% of the time. I have Torque installed and it works great, but I rarely use it.​
Tasker
Tablet
Profile: Wifi Tether Control
State: Power any
Entry task: Powered On
Wifi Off: This disconnects me from my home network in case I’m using my home wifi
Brightness up if Daytime profile active, turn down otherwise
Tablet Talk Action: Start BT Mode - start Tablet Talk connection to phone, this tells the phone to turn on the hotspot.
Display timeout: 20 min
Wait 4 secs - this gives the phone time to start the hotspot. I’ve found everything works better if there is a pause here.
SSID Selector - only connect to my phones wifi network
Wifi on
Secure Settings: GPS on
Auto-Sync on
Exit task: Unpowered
Stop task if the powered on task is running. This is to prevent a problem I was having where if I turned the car key too slow, it would start this task while the entry task was still running, leaving the car running but the tablet and hotspot off.
Get location and use Pushbullet to send location to phone
Tablet Talk: Disable - this triggers the exit task on the phone that turns the hotspot off
Wifi, GPS, autosync off.
Send intent to close Waze - Waze doesn’t seem to respond well to being killed, so I use an intent to turn it off. If I don’t do this it is a MAJOR battery drain.
Media Utilities Action: Pause - the built in media actions don’t seem to pause Spotify reliably, so I use this plugin
Lock screen and set lockscreen PIN with Secure Settings
Phone
Profile: Car Tethering
Entry task: Start Wifi Tethering
Ringer on
Wifi Tether on
Notify Sound
Exit Task: Stop Wifi Tethering
Wifi Tether Off
Notify Cancel: Tethering on notification
Notify Sound: Tethering off
Wait 5 secs
Turn wifi back on
Notify Cancel
I've attached all the tasks and profiles I use on my tablet. I'll add some explanations for the rest of them later on if anyone is interested. They include things like:
Gathering sunset/sunrise times to automatically adjusting brightness
Switching to Waze if there is no touches detected for x number of seconds
AutoVoice tasks and profiles for searching Spotify, Waze, and Google Maps
Click to expand...
Click to collapse
Thanks for all the info and stuff. I'll have to check out the GMD and Autovoice apps. I just got a Nexus 7 set up in my car and am loving it so far. I have Tasker helping me out greatly because I too don't want to take my S6 out of my pocket when I'm driving.
My Nexus 7 has "screen always on while charging" enabled in Dev options. I haven't set the fastboot oem off-mode-charge to a zero yet since I don't think I need it to turn off completely, though I will probably do this since I can't reach the power button with a decent amount of effort.
Turn car key, Nexus 7 comes on and turns on wifi (state -> power any = wifi on). This is mostly because it stopped connecting to my S6 tether unless I toggled wifi off and on. I plan on using airplane-mode but haven't set that up yet since it was not available in Tasker (maybe it is in Secure Settings, I hope).
My S6 turns on wifi hotspot when bluetooth connects to "Alpine CD Receiver". I added an Exit task of "wait 5 seconds, then wifi on" to get wifi to enable again since it wasn't automatically.
The Nexus 7 bases some tasks off of the state = wifi connected to S6 tether. Tasks include turning on bluetooth (I need it to connect to Alpine head-unit AFTER the S6 or else the Alpine goes wonky), setting car mode to ON and going home (Car Home Ultra), launching the speed volume app so my volume fluctuates with speed (I don't want to have to touch the Alpine volume knob), and performs the media key operation of "play" to resume whatever music I had playing.
One difference for me is that I want to still use my phone for talking and don't want to do any texting from the car, so I don't use Tablet Talk. Although...texting via voice commands on the tablet would be handy. I will definitely set that up, so thanks for that idea.
It all works pretty well, but I'm only a day or two into doing all of this so I need to tweak stuff still.
Can anyone explain how automatic exit tasks work, like on my S6 - if it loses BT connection for just a second, wifi hotspot turns off, which then triggers the Nexus to perform a bunch of automatic tasks like exiting car mode, turn off bluetooth thus stopping music, etc. It seems to me like Tasker should show you the tasks it will perform when the State is exited. Sure, you can add exit tasks...does adding an exit task cause it to no longer perform its own invisible/assumed exit tasks? I am still a Tasker newb. In fact, this post clued me into the fact that Tasker has exit tasks, haha. I'd like it if it had some threshold so it wouldn't start doing these exit tasks so quickly. Like, maybe a "wait 5 seconds" exit task to see if the State turns on again. I'll do some reading and testing.
{
"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"
}
(imgur and google photos links don't work on XDA???)
link
Exit task not running
I was able to get the auto_connect to my hotspot with the waits. :victory: So thank you for the tip. However, I am running into issues of the task running an exit. It just doesn't seem to run when I disconnect from my Bluetooth device. Any ideas?
By the way, I am able to run each individual task and it works
Hey. I'm having a really hard time (5h) now figuring how to trigger the tether or in my phone. My car doesnt habe a bluetooth so i've been trying to trigger the tether with my tablets bluetooth. The problem is that the bluetooth needs to be activates from the settings each time. I tried with bluetooth suto connect addon but couldnt get that work either. I have Samsung s8+ and lenovo tab 4. Someone please help me
since i am such a cheap bastard, i opted not to pay for tasker and ended up doing it with llama and e-robot, except it was for my g2 dedictated to nav duty rather than a nexus 7.
with bt auto connect on the g2and autotether on my main phone (bacon), it is a pretty much a hands free affair as long as i leave bt on on the bacon. presence of charging source and screen on/off are being used as the triggers to toggle airplane mode, bt, gps and the nav app
the only problem is, i get a massive battery drain with this setup. i usually find my phone either fully discharged or almost there when i come back on the next day. did the exact same on my mom's galaxy note 3 and thay one fares much better albeit not great (about -10% overnight). the battery on the g2 was replaced not too long ago. dunno, maybe it is the version of lineageos i am using (14.1 for d802/f320)

Disable lockscreen security when connected to AW, BT, or WIFI device. ROOT REQUIRED

OK, so I have to use my fingerprint to unlock my phone. For me this gets annoying when I am in my car or extremely busy working and my screen times out. this wouldn't be so much of a problem if the note 4 had lollipop but we dont at the moment.
I solved this using the following:
Root
Xposed
and a module called NO LOCK HOME
You can set it to any bluetooth or wi-fi connection, or to a specific one. I set mine to my car but changed it to any bluetooth because of my moto 360 and hands free are the only other devices that connect over bluetooth. Plus if you go out of range it auto locks or when the the screen is off depending on your settings.
you can download NO LOCK HOME straight from xposed installer

Bluetooth Near not working properly?

Wanna start apps when I'm in my car. When BT is enabled my Profiles work and detect the near devices. If BT is off it seemes Tasker is not scanning for BT at all.
Bug or Feature?
Using latest Tasker on Galaxy S7 edge.
schmil said:
Wanna start apps when I'm in my car. When BT is enabled my Profiles work and detect the near devices. If BT is off it seemes Tasker is not scanning for BT at all.
Bug or Feature?
Using latest Tasker on Galaxy S7 edge.
Click to expand...
Click to collapse
Same here. I'm using RR ROM.
Have you found a solution?
I know this is a year old but I found a bunch of posts like this while looking for the useage of BTNear, so I figured I'd throw it out there for the next guy. It sounds like you didn't select the "Toggle" option. Without it, it will only turn on your Bluetooth the first time and it leaves it on to scan every X amount of seconds. It won't Toggle on, scan for BT device and then toggle off. Would explain why it runs fine at first and then after you turn off Bluetooth when you reach your destination. It either tries to scan with BT off and fails or it breaks the code when BT is mysteriously off and exits. Hope it helps someone.

Simple Tasker set up Bugging Me

I used Tasker years ago and was successful in many tasks.
Recently purchased new Plantronics bluetooth headset for work wear, went back to Tasker and thought I'd set up a simple task to read out via the BT headset incoming SMS. So re Installed Tasker and
Profile connected to Bluetooth + received SMS
Task Say %SMSRN %SMSRB
Press play in the task and reads out perfectly the last received message. When task running and message received doesn't work!
OnePlus 6 Android 9 Omni tresk
All permissions granted for Tasker, notification access on for Tasker, Device Admin granted to Tasker and not optimised in battery settings.
Anyone shed some light please.
Edit
Further checking and testing shows set up works fine when screen on. Only not working when screen off. Run in background for tasker allowed. The connected to PLT headset goes green when it should IE when headset connected.
I have a similar profile that works fine screen off, but my Recieved Text Any looks different than yours. idk if that matters.

Categories

Resources