Tasker and Touchwiz - Verizon Samsung Galaxy Note5

I came from an LG G3 with CM12 and then 13 so I have never had problems with tasker just working. When I tried to set up some of the most basic tasker profiles I ran into problems on the Note 5. I'm sure this post is similar to many before it but I figured it might just help out someone that was in my situation.
The first profile I just had to have:
When phone connects to my car BT head unit it will start wifi hotspot. I tried every setting I could and even tried using Fox Fi to get it to work with just tasker...then I stumbled upon AutoInput. Its great, you can do things that I previously assumed you needed root for.
I was able to set up my phone to do just what I wanted using a combination of the AutoInput apps built in task creator and inputing manual coordinates for touches. I got tasker to do just what I wanted it to do, albeit in a much more round about way than usual.
The most simplified version of the task I could put together was:
1. AutoInput Unlock screen
2. AutoInput global action: quick settings
3. Task wait 370ms (can vary but I found you had to have a least some wait time or it would not consistently register the next touch)
4. AutoInput Action: Point value 154,676 (Use dev settings and turn on show pointer to see what the x,y coordinates of your hotspot switch is)
5. Task wait 470ms (again same as #3)
6. AutoInput Action: point value 1212,1544
7. Task Wait 5 sec (I need to play around with this a little more, I'm sure it could be less)
8. Display: System Lock
I would like to here from others on how they have implemented tasker in touchwiz. And please let me know if I was just an amature and didnt know how to do this with tasker alone.

Related

Tasker finally on the Market, automate nearly anything easily!

It's hard to describe what Tasker can do, as there's not much it can't do. I try to describe it like a high-level interface to the Android API. You can adjust hoards of Android settings programmatically based on Events (application, time, date, location, event, gesture).
Personally, I do some of the following:
Passively upload my GPS location to my website every 10m
Have the phone get fairly loud when I'm a home
Quiet when I'm at work
Nearly Muted when I'm in a meeting (matches a Calendar event)
Muted with Autosyncing disabled at Night while I sleep
Disable Rotation on my etext reader to work around a bug in the ereader which loses my position in my book when it rotates!
Make the screen brightness and sounds high when I'm running Waze (gps program) on AC power (plugged into car charger)
... more little things!
All of this is done using an easy to use GUI to build matching contexts and a task to execute when matched. There are lots of samples to start with on the website, and very easy to write your own. Basically it's a graphical programming language that anyone could use.
It's on the market as of today, and the website is here: http://tasker.dinglisch.net/
I have zero connection to the author besides an extremely happy user, decided I would post this here because he's exited beta testing and on the market now.
Here's even a few more examples of things that can be done, pasted from the website.. Still only the tip of the iceberg on things it can do:
passcode-lock sensitive applications (e.g. for child safety)
change phone settings by
application: long screen timeout in a book reader
time: screen brightness lower in the evening
location: ringer volume high at the office, turn off ke yguard at home
wake up with a random song from your music collection
Text-to-speech; read out loud: incoming SMS/ phone number, WiFi/Bluetooth status, when it's time for an appointment, when the battery is low etc etc (Android OS 1.6+ only)
launch a music application when your music SD card is inserted, otherwise a file browser
start the day with a particular application showing
change all your home icons and wallpaper every day, or in particular locations
turn the phone upside down to return to the home screen, tilt 90 degrees to the left and back to toggle speakerphone during a call
create a Home widget to
toggle bluetooth/wifi on/off
launch wireless settings dialog
show a menu of tasks to choose
send an emergency SMS with your GPS location
remap camera etc buttons to other applications, or show a menu of applications and/or actions
decrypt/encrypt and/or zip/unzip application data on the fly when an application is launched/exits
pause music playback while in a particular application, restart on exit
change the Home icon for any application
take a time-lapse photo series (possibly 'secretly')
make a regular backup of a file on the SD card
track your phone location via SMS in case of theft
extend the use of the media button on your headset: take a picture from a distance or go to the previous media track with a long press
record call times and destinations to the SD card
show a popup when an SMS arrives from a particular phone number
setup a birthday SMS to be sent months before it happens so you don't forget
record battery levels over time to a file on SD card
make automatic recordings of what you say during phone calls to SD card
during the night, turn on airplane mode to conserve battery/reduce radiation, but turn it off every 15 minutes to check for SMS/voicemail.
setup a vacation SMS message, with different messages for different callers
launch a music application when headphones are connected
Hrmmm, there's not much reviews for the app. I'm interested in trying out but I wish there was a trial or something.
Vulpix said:
Hrmmm, there's not much reviews for the app. I'm interested in trying out but I wish there was a trial or something.
Click to expand...
Click to collapse
I hadn't looked at his market version yet, but it shouldn't need validation for 14 days..
He sells it on the market and off of the market. If nothing else you could install it from his website. I'll ask on his forum, it shouldn't require purchasing to use immediately.
Everytime I try it I get a FC when setting up my profiles, and I lose all my changes. Gets annoying fast. I uninstalled and did refund.
Knether said:
Everytime I try it I get a FC when setting up my profiles, and I lose all my changes. Gets annoying fast. I uninstalled and did refund.
Click to expand...
Click to collapse
Weird, I've seen that like once when I first tried it.. You might want to get on his forums and see what he can do to help fix it, as if you're interested I don't think there's anything else out there that does anywhere close to what Tasker does.
Come to think of it, yes, I did see that maybe 2-3 times, especially when first messing around, but I haven't seen it in weeks, even though I've set up multiple profiles since then. Interesting. You could always set up some stuff, Apply, re-enter the app. At that point it's saved. If it crashes, you won't lose anything. However it'd be good to get logs from alogcat or such to figure out the crash problem.
Awesome.. tasker is too good and much better than locale and setting profiles (though UI could get a bit better)... I've been waiting for it to arrive on the market..
I guess I'm the only person who has troubles with the app.. ::sigh:: I want to love it..
I've actually been using the app for a little over two weeks, and I've found it to be indispensable! GPS drains my battery too fast, so I love coordinating tasks with calendar events in conjunction with network-based location. Not to mention auto starting GPS for specific apps and then shutting GPS back off when I exit said app. There are simply SO many uses for tasker, and its compatible with locale plug-ins.
Btw. Try using Foxy Ring's ambient noise feature to auto adjust ringer volume. It works great when constantly moving from quiet study areas into a loud common room.
Does anyone know how I can set up Tasker to switch to 2G at midnight and then back to 3G/H at 8am?
I have looked throught the options and I can see the settings for 2G, but when I add Time as the 1st context I then can't find anything relating to 2G for the next context.
I understand it's probably just me being thick but if any one could help it would be much appreciated!
Loving this app otherwise, well worth the small fee.
Thanks.
CitizenLee said:
Does anyone know how I can set up Tasker to switch to 2G at midnight and then back to 3G/H at 8am?
I have looked throught the options and I can see the settings for 2G, but when I add Time as the 1st context I then can't find anything relating to 2G for the next context.
I understand it's probably just me being thick but if any one could help it would be much appreciated!
Loving this app otherwise, well worth the small fee.
Thanks.
Click to expand...
Click to collapse
Sure, Tasker doesn't have a "Default" profile, when a profile ends it returns what settings it changed back to what they previously were.. So if it's H going into your night profile, switch off 3G, then when the profile is over it'll return to H. The big difference here is that most likely you're going to have to run an external program, maybe APNDroid or something, to toggle 2G/3G, as apparently it's not in the API directly and Tasker can't do it. So you have an entry task and an exit task.
Yep, I just looked for apps that can do this, they all launch the option in the menus, can't do it directly... So doing this doesn't seem (directly) possible, but maybe there is something out there.. I just glanced. http://www.cyrket.com/search?q=3g&market=android
Profile
Context: Time 00:00 to 08:00
Enter Task
Run Program APNDroid (?)
Exit Task
Run Program APNDroid (?) (to toggle it back on, since it's not a setting here)
Found a nice review and guide for tasker here:
http://lifehacker.com/5599116/how-to-turn-your-android-phone-into-a-fully+automated-superphone
Looks powerful, and superior to locale.
psych2l said:
Found a nice review and guide for tasker here:
http://lifehacker.com/5599116/how-to-turn-your-android-phone-into-a-fully+automated-superphone
Looks powerful, and superior to locale.
Click to expand...
Click to collapse
I kind feel sorry for Locale Tasker has it 100x over, plus it can use Locale plugins.
I haven't done much digging, but... maybe someone could help me with this one:
I have the Samsung vibrant which does not have a hardware camera button. Would there be a way to use this app to remap the power button when in the camera.app to use it as the shutter button?
Thank you
Anyone else having force closes when trying to set backgrounds for app menus? Don't dig the bland menu background that comes stock in the app.
Great app except the fact it is using 1/4th of my battery for two profiles.
UrbanMuppet said:
Great app except the fact it is using 1/4th of my battery for two profiles.
Click to expand...
Click to collapse
You have something misconfigured or you have insanely good battery usage then. I have Tasker using the GPS every 10 minutes, uploading that GPS data to my website. It reminds me every 2 minutes of missed email, phone calls, sms... It goes speakerphone if I flip it on a call. It changes profiles for home, work, work meeting, running GPS in the car... I think I have a profile to wash the dishes too, but I'm waiting on an enhancement from Pent to make that one function.
Seriously, post on his forum with the exact context and task, I bet something is done wrong.
Man I still have difficulty trying to make Tasker do simple things because I'm not really savvy with such stuff...
I have been trying to get Tasker to automagically switch keyboards based on orientation for like a few days now, no luck. I want to have Swype when in portrait mode, and then a custom HiRes keyboard in landscape...
can anyone help with this or if someone has done it already, please lend some advice...
Also, maybe this thread can become the official Tasker profile thread, if not, maybe a sticky with user created profiles?
ImSoHungry said:
Also, maybe this thread can become the official Tasker profile thread, if not, maybe a sticky with user created profiles?
Click to expand...
Click to collapse
Been trying to a place where people dump their profile examples for the inept people who can't work out half the settings, like myself
Tasker works perfectly on my phone: HTC Desire, stock ROM, official Android 2.2 update
My profiles:
Profile: Running Navigation
Context: Application: Load app Sygic
Tasks:
- Misc: GPS ON
- Audio: Set Media Volume to max
- Display: Set Brightness to 200
- Set Speakerphone to ON
Profile: Silencing Hidden Caller-ID
Context: State: Incoming Call
Tasks:
- Audio: Set Ringer Volume to 0 - if %CNUM ~ 0
- Audio: Set Vibrate to OFF - if %CNUM ~0
Note: for the second profile, you need to use at least 1.0.6 beta 5 (%CNUM bug fixed).

[GUIDE] Tasker

So as some of you may know there is an app for android called Tasker and it is by far the most powerful app out to date.
"Tasker is an application for Android which performs Tasks (sets of Actions) based on Contexts (application, time, date, location, event, gesture) in user-defined Profiles, or in clickable or timer home screen widgets.
This simple concept profoundly extends your control of your Android device and it's capabilities, without the need for 'root' or a special home screen"
As powerful and amazing as this app is, it's pretty hard to use unless your very tech savvy and I have been searching the Net for some how-to guides but their doesn't seem to be much out there. So I wanted to create this thread and have people post their own little tips/mods that they have set-up with Tasker so that newbies such as my-self can have a place to go if they need help getting Tasker to perform certain functions.
I just download the app last night and haven't had much time to mess with it yet, but once I get the hang of it I will start posting what I'm doing.
Anybody that uses Tasker please feel free to add on to the thread and lets make this the ultimate "How-to" guide for people trying to unlock the full potential of this amazing app.
How long did it take you to develop this app?
Sent from my PC36100 using XDA App
firemedic1343 said:
How long did it take you to develop this app?
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
@OP, one that I made that I find useful scans the SD card for new media whenever it's mounted.
PROFILE:
Event - Card Mounted (Priority: Normal, Card Title: <blank>, Frequency: 1)
Task - Media -> Scan Card
Task - Alert -> Flash (Text: Scanning for new media..., Long: <unchecked>, If: <unchecked>)
This one turns off the lockscreen when using Music or Pandora (you have to make two separate profiles!)
PROFILE:
Application - Music/Pandora
Task - Display -> Keyguard (Set: Off, If: <unchecked>)
I also spent a lot of time developing a task that would turn airplane mode on for 45 minutes, turn it off for 15 minutes, then turn it back on and repeat until stopped. Everything works except Tasker stops all timers when the phone sleeps, so unless I want to put a partial wake-lock on it (which would defeat the whole battery-saving purpose of the profile in the first place), it doesn't work
Gregalous said:
@OP, one that I made that I find useful scans the SD card for new media whenever it's mounted.
PROFILE:
Event - Card Mounted (Priority: Normal, Card Title: <blank>, Frequency: 1)
Task - Media -> Scan Card
Task - Alert -> Flash (Text: Scanning for new media..., Long: <unchecked>, If: <unchecked>)
This one turns off the lockscreen when using Music or Pandora (you have to make two separate profiles!)
PROFILE:
Application - Music/Pandora
Task - Display -> Keyguard (Set: Off, If: <unchecked>)
I also spent a lot of time developing a task that would turn airplane mode on for 45 minutes, turn it off for 15 minutes, then turn it back on and repeat until stopped. Everything works except Tasker stops all timers when the phone sleeps, so unless I want to put a partial wake-lock on it (which would defeat the whole battery-saving purpose of the profile in the first place), it doesn't work
Click to expand...
Click to collapse
Both setups seem very useful, ima check them out. Thanks for the input!
About the one you can't get to work. I'm pretty sure I actually saw something similar to it the other day on another website, not 100% sure though. I think it was a profile that allowed you to basically turn off all of you're data and have it come back on for a short period of time to gather texts and stuff...
Ima going to look for it for you to see if i can find it...
In the mean time I found a few useful profiles here http://lifehacker.com/5606284/three-handy-tasker-profiles-from-our-readers
I would post them but theres actually quite a bit if you look in the comments and the post itself.
Once I think of something "original" i'll post it
You also might want to check the official Tasker pages. There is also a Wiki with step-throughs (link on left side of main page).
http://tasker.dinglisch.net/
This is the only app I have been able to find that will let you remotely turn the GPS on. IMO that alone was worth the money, now I don't have to waste time writing an app for it.
I've been working on something to activate the GPS and send the phone's location, available wifi networks, etc, over a text message. Haven't figure out how to make it update the GPS location or turn on 3G yet though. Anyone know anything about android bridge scripts and if they would be able to do this?
Vegasden said:
You also might want to check the official Tasker pages. There is also a Wiki with step-throughs (link on left side of main page).
http://tasker.dinglisch.net/
Click to expand...
Click to collapse
Wow. thanks a lot for the link. i have been looking for some sort of wiki or help for tasker for a while now but apparently I wasn't looking in rite places.
Thanks again.
Also, Mobile Defense, if installed in system apps allows you to remotely turn on gps and track your phone, however, they have temporarily closed down the beta. I've always had it on my android phones and it's pretty amazing. Much better than lookout for tracking your device.
tasker is a great app. i use it on a dialy basis. save so much battery life
SiL3nTKiLL said:
tasker is a great app. i use it on a dialy basis. save so much battery life
Click to expand...
Click to collapse
What works for you? Some example scripts please please. thanks.
Here is more info on tasker setup.
I tried some of these and they worked great.
http://lifehacker.com/5601133/push-...d-to-awesome-heights-with-these-tasker-setups
http://lifehacker.com/5599116/how-to-turn-your-android-phone-into-a-fully+automated-superphone
maps to start gps and gps logger
hi everyone,
i'd like to start maps, and have:
- Gps turned on
and
-an app called GpsLogger to start.
The problem i get is that, once Gps is turned on and GpsLogger is opened, if i get back to Maps by long-pressing the home button the whole automation starts again, leading me to GpsLogger again..
Could anyone help please?
Thanks!
I downloaded Tasker the other day to accomplish one thing only. I wanted my wife to be able to get through to me whenever she called me. I work shift work so my phone is set to Silent at odd times when I am resting, so the various dings and rings don't interrupt my sleep. Fearful of her not being able to get a hold of me in an emergency, I set this up:
Profile: Priority Call (named by me)
Context: Incoming Call - Very simply, I used the magnifying glass to select her contact from my phone, and it input her name in the box.
Task: Silent Mode - Mode set to OFF
This profile checks all incoming calls and then turns Silent Mode OFF and allows the call to ring through. When the call is done, the phone returns to Silent Mode. NOTE: I also had to set up a separate task to turn the phone to silent in the first place. For some reason, Tasker would not recognize the phone as being in "Silent Mode" if I used the volume down button to put it in silent mode. So I just added a shortcut to the Tasker task of putting the phone to silent on my homescreen. Now when I go to bed, I hit the shortcut and I am able to be undisturbed until I wake again, unless my wife calls. I could see this being very useful for people with teenagers that are out or babysitters with children.
This task can also be useful if you sleep at defined hours, because you can set the phone to automatically turn to silent at X hour, and turn silent mode off at X hour. Just some ideas.
I am now searching for ways to completely automate the phone by making it turn on my GPS and Bluetooth when I am away from home, as well as turn these off and turn my wifi on when I am at home. Several attempts with no knowledge of this app have been unsuccessful so far. More to follow.
Robert
OnDutyTactical said:
I downloaded Tasker the other day to accomplish one thing only. I wanted my wife to be able to get through to me whenever she called me. I work shift work so my phone is set to Silent at odd times when I am resting, so the various dings and rings don't interrupt my sleep. Fearful of her not being able to get a hold of me in an emergency, I set this up:
Profile: Priority Call (named by me)
Context: Incoming Call - Very simply, I used the magnifying glass to select her contact from my phone, and it input her name in the box.
Task: Silent Mode - Mode set to OFF
This profile checks all incoming calls and then turns Silent Mode OFF and allows the call to ring through. When the call is done, the phone returns to Silent Mode. NOTE: I also had to set up a separate task to turn the phone to silent in the first place. For some reason, Tasker would not recognize the phone as being in "Silent Mode" if I used the volume down button to put it in silent mode. So I just added a shortcut to the Tasker task of putting the phone to silent on my homescreen. Now when I go to bed, I hit the shortcut and I am able to be undisturbed until I wake again, unless my wife calls. I could see this being very useful for people with teenagers that are out or babysitters with children.
This task can also be useful if you sleep at defined hours, because you can set the phone to automatically turn to silent at X hour, and turn silent mode off at X hour. Just some ideas.
I am now searching for ways to completely automate the phone by making it turn on my GPS and Bluetooth when I am away from home, as well as turn these off and turn my wifi on when I am at home. Several attempts with no knowledge of this app have been unsuccessful so far. More to follow.
Robert
Click to expand...
Click to collapse
Here you go...
These two pages on the Tasker Wiki will show you how to do a lot of what you want, and even find stuff you didn't know you needed.
http://tasker.wikidot.com/profile-index
http://tasker.wikidot.com/step-throughs

[GUIDE] Tasker

Tasker is a very powerful program for Android devices that lets users have complete control over the automation of their phones.
I have seen a lot of fragmented threads about different profiles and requests for help. So I have decided to make a thread to collect profiles and advice for people from different devices to use (hopefully in an easy to understand English!). Also, I'm not a huge Tasker wiz! I just hope that everyone can contribute in one place for everyone at xda. So please send me/the contributor a PM if you see a post that is wrong.
Contents:
Post #2 - Links to submitted guides/profiles
Post #3 - Basics of Tasker
*Disclaimer*
I do not have ownership (whole or part thereof) of the Tasker Android Application. This guide is for educational purposes only. I, or any contributor to the guide, is not responsible for any faults (software or hardware) resulting from following the instructions set out in this guide.
Tasker is available from the Android Market or in trial form from the website
Admins: If this thread is unnecessary please delete and let me know, thanks.
Submission of Profiles:
If you have a profile that you would like to share, please put it into this standard form so that people can more easily understand what to do:
##(example 1)##
Profile: "Wifi at home"
Context:
Variable "HOME" [matches] "1"
Wifi-near [(SSID of home/work/school wireless network)]
Activity:
Wifi [ON]
Mobile Data [OFF]
Mobile APN Enabled [OFF]
Exit Activity (if any):
Wifi [TOGGLE]
Mobile Data [ON]
Mobile APN Enabled [ON]
##(end example 1)##
OR if you want to submit a walk-through as well:
##(example 2)##
Tap Context
Add
Application
Google Maps
...etc
##(end example 2)##
Absolute Beginners:
If you are completely new to Tasker, you need to check out the Tasker website and wiki.
The program may seem unwieldy and complicated at first for those who do not have programming experience - I certainly found it a little intimidating at first - but once you play around with it, it helps a lot. The guides on the wiki and on the website are a little confusing, so hopefully this thread will help decode some of the settings/profiles into plain English.
The wiki is worth checking out for the walkthroughs and downloadable profiles - so take your time to check it out!
duckredbeard has also pointed out that there is a google group for Tasker which is supported by the developer himself. So if you need some trouble shooting, check that out too.
Turning GPS on only for GPS apps and then turning them off again
Automagically switching wifi on and off
...slowly building more. post to contribute!
Here are some basics that every beginner needs to know (or if you just need reminding).
Profile:
Not much explanation needed. A profile contains all the required settings for a particular purpose - it is usually recommended that you give your profile a name that makes sense (e.g.: "Wifi at home" for turning on/off your wifi when you are near your house). A profile has:
Contexts
Tasks
Exit Tasks (not always)
Contexts:
A Context is basically an on/off switch for your Tasker profile - something that tells Tasker that a certain thing has happened/is happening and so Tasker should do something about it. When you tap "new" in Tasker and have given your profile a name, you will be given some choices for your Context. A Context can be:
Application (profile is activated by the opening of an app)
Time (this can be through a time interval or a set time frame)
Day (profile activation based on which day/month you are on)
Location
State (of your phone)
Event (something that has happened to the phone)
Tasks:
Once your profile has been triggered by your Context, you want it to do something - this can be switching on Wifi, or locking your phone, or turning on the GPS, launch an application, etc. You have amazing control over what your phone does! You will need to explore the different options in order to understand the kind of control you have.
Exit Tasks:
An exit task tells Tasker what to do once your Context is no longer true (e.g.: you are no longer near your wifi network). You can tell Tasker to switch things back on that you might have turned off (or vice versa). You do not need to have an exit task, but sometimes it is useful. You CANNOT have an Exit Task if your Context is an Event.
Monitoring your context:
Some contexts (like "Location") require Tasker to recognise when it is in a certain area or not - this is how Tasker does it.
To find a wifi network using the "Wifi-Near" context, Tasker switches on your wifi briefly (specified in "Menu -> Preferences -> Monitor -> Wifi Timeout Seconds") and scans the wifi networks available. After the specified amount of seconds has passed, Tasker will then switch off the Wifi scanning. Tasker begins scanning for wifi networks again after another time interval (specified in "Menu -> Preferences -> Monitor -> Wifi Scan Seconds"). Obviously the more you scan the more battery you use, but also the more responsive Tasker will be. And obviously the shorter amount of time you spend scanning for networks, the more battery you save, but you also have a lower chance of connecting to a network. Tasker can only do this wifi-scanning if you have set your Wifi to [TOGGLE] or [ON] - it will not do it if you have set your Wifi to [OFF].
GPS is a much more accurate way to find your location, but obviously much more battery intensive. Settings are much the same as the Wifi ones and are found in "Menu -> Preferences -> Monitor". Tasker can only update your GPS location if you have set your GPS to [TOGGLE] or [ON] - it will not do it if you have set your GPS to [OFF].
Network Location is the least battery intensive, but also the least accurate. Tasker checks your network location according to the time specified in "Menu -> Preferences -> Monitor -> Network Location Check Seconds".
...more to come.
--just in case--
Using GPS only when needed:
In normal use, apps like Weather, Places, Latitude, etc, only need to know which suburb/cell tower you are using. If you have your GPS switched on, then it becomes a huge waste of battery. Here is how to set it so that your GPS switches on when you use a GPS app, and then to switch it off again when you exit that app.
Profile: "GPS on"
Context:
Application
Google Maps
Locations
Navigation
...etc
Tasks:
GPS [ON]
Exit Tasks:
GPS [OFF]
Automagically switching wifi on and off
The Easy Way:
Profile: "Wifi at home"
Context:
- Wifi-Near [(Set as your work/home/school/etc SSID and MAC address - do this by long-pressing on the dialog box for Tasker to scan for you)]
Tasks:
- Wifi [ON]
Exit Tasks:
- Wifi [OFF]
This method has Tasker checking for your wifi network according to the settings you placed in:
"(Tasker Home Screen) Menu -> Preferences -> Monitor"
However, this theoretically leads to more battery usage because Tasker is always checking for your wifi network even when you are nowhere near your wifi network. You could always have it check your location using your GPS, but this is even worse for your battery. A way to reduce this battery drain is to lower your "Wifi/GPS Timeout" setting and increase your "Wifi/GPS Scan" setting. This will cause Tasker to check for wifi networks/GPS location for a smaller duration and less frequently - the downside is that Tasker will be less responsive when you enter into your wifi network (eg: if you set Tasker to check once every 10 minutes, then you might have to wait 10 minutes before Tasker kicks this profile into gear)
Slightly more complicated way:
This requires 2 profiles.
Profile 1: "Home"
Contexts:
- Cell Near [(press 'scan' to let Tasker find out what cell towers are near you)]
Tasks:
- Set variable "%HOME" = [1] (this is a variable i defined myself)
- Wifi [TOGGLE]
Exit Tasks:
- Set variable "&HOME" = [0]
- Wifi [OFF]
Profile 2: "Wifi at home"
Contexts:
- Variable "%HOME" matches [1]
- Wifi-Near [(SSID of home/work/school/etc)]
Tasks:
- Wifi [ON]
- Mobile Data [OFF]
- Mobile APN Enabled [OFF]
Exit Tasks:
- Wifi [TOGGLE]
- Mobile Data [ON]
- Mobile APN Enabled [ON]
(you can also enable Auto-Sync if you wish)
Explanation:
This method can theoretically save battery and increase the responsiveness of Tasker. It does it by only enabling the Wifi-scanning when you are within a certain cell-tower(s) area. Since checking for your location via the mobile network does not require much battery (and also since your phone is automatically doing it for your weather app anyway), you can set your Network Scan time to something quite low (I have it at 15 seconds). Once you are in the general area, then Tasker begins to look for your wifi network. Because you are not always searching for the wifi network, you can increase the frequency of the searches and also increase the duration of the search.
This does require a bit of testing - I find that it works quite well, but that could just be my area. Have a go and see what you find.
dont mean to cut down your efforts here, but: http://tasker.wikidot.com/
It will be nice to use this thread as a helpful discussion area on programming tasker as their does not to be such a place on the tasker wiki site.
Maybe you can help to achieve this state.
Is it possible to have several IF variables?
Ie.
Between hours 21:00 - :06:30 Reduce phone ringer to 2
If Location (network operator) = Home
and Power is connected
and phone has been idle for 30mins.
I have been playing with Tasker but having no programing experience it is difficult for my brain to wrap around how I would achieve this.
any hints?
TopShelf10 said:
dont mean to cut down your efforts here, but: http://tasker.wikidot.com/
Click to expand...
Click to collapse
yeah, I'm aware of the wiki - but the wiki doesn't answer all the questions and I feel it isn't organised very well (not that this would be organised any better). Plus, a forum opens things up to discussion and sharing, which I'm sure a lot of people will appreciate. feel free to contribute!
Daft Templar said:
It will be nice to use this thread as a helpful discussion area on programming tasker as their does not to be such a place on the tasker wiki site.
Maybe you can help to achieve this state.
Is it possible to have several IF variables?
Ie.
Between hours 21:00 - :06:30 Reduce phone ringer to 2
If Location (network operator) = Home
and Power is connected
and phone has been idle for 30mins.
I have been playing with Tasker but having no programing experience it is difficult for my brain to wrap around how I would achieve this.
any hints?
Click to expand...
Click to collapse
I believe that if you put all of those 'variables' into one profile and make them all contexts, then you would be able to do that. But don't forget to set your task priorities properly!
Have you tried:
Code:
Profile: (profile name)
Contexts:
- Time [21:00-06:30]
- Wifi-Near [(your home SSID)] (also see my post about how to reduce wifi-searching to increase battery life)
- Power [Any/AC/USB]
Tasks:
- Ringer Volume [Level 2, (Sound, Display if you want as well - good for debug)]
Exit Tasks:
- Ringer Volume [(whatever you like your volume level to be at)]
I am not sure how to do your "Phone Idle" condition as I have never had to use it before - I suppose that you could always set another 2 profiles:
1 to countdown to 30 minutes which then sets a variable (say, "Timer") equal to 1 and has a context that tells it to run the profile every time "Timer" = 0; the other profile would have set "Timer" = 0 every time the Display turned on. You could then add a "Timer [matches 1]" context to your original profile, and that should work.
This seems like a rather roundabout way to do it, but that's what I can think of at this time. Let me know if you would like me to post up the instructions to do that though.
If anyone else has a better idea, let me know!
I think when using tasker (particularly with lots of profiles) It is important to keep things as simple and clean as possible. Otherwise if certain tasks start becoming too dependant on other tasks it will either reduce your ability to program new tasks or Things will start going pear shaped.
For Example. If I were to program the phone with Wifi-Near to Enter silent mode It will affect any other Tasks I have going with the Wifi, Either it being Turn wifi Off Or stop searching or Even If My network goes down. I think (if possible) it would be better to use a different more non varried method of location if you know what I mean. I think it would go for any other tasks you would want to program as well. Keep things simple and very direct, It will also help you too trace back and find problems if needed later down the track as well.
Daft Templar said:
I think when using tasker (particularly with lots of profiles) It is important to keep things as simple and clean as possible. Otherwise if certain tasks start becoming too dependant on other tasks it will either reduce your ability to program new tasks or Things will start going pear shaped.
For Example. If I were to program the phone with Wifi-Near to Enter silent mode It will affect any other Tasks I have going with the Wifi, Either it being Turn wifi Off Or stop searching or Even If My network goes down. I think (if possible) it would be better to use a different more non varried method of location if you know what I mean. I think it would go for any other tasks you would want to program as well. Keep things simple and very direct, It will also help you too trace back and find problems if needed later down the track as well.
Click to expand...
Click to collapse
whilst it is good to try and keep things simple, sometimes more complex profiles lead to more efficient use of battery. Or sometimes a simple task may need certain exceptions so that it fits around our lives. Remember that Tasker should be making our phones do what we want, how we want it - we want to try and avoid the "i'll get used to it" line as much as possible.
When using complex profiles (or even profiles that may end up conflicting each other), the use of priorities for your task is very important. For example - when my "wifi at home" profile gets switched off, it turns my wifi onto [TOGGLE]. BUT if I leave the cell-tower area near my house at the same time, it tells it to turn wifi onto [OFF]. Since these are conflicting tasks, I have given my wifi [OFF] a higher priority than [TOGGLE], and so Tasker does what I want. As with any programming, sometimes convolution is unavoiable - in those instances make sure that you keep your line of logic clear (some people like to use flowcharts for programming, but i think that's a bit excessive for Tasker - each to their own though!)
is there a way to tell when music is playing?
Sent from my HTC Vision using XDA App
I want to use Tasker to switch off data/wifi when the screen is switched off, then switch data/wifi back on again when the screen is on, but only if they were previously on. Is this possible?
skulk3r said:
Tasks:
GPS [ON]
Exit Tasks:
GPS [OFF]
Click to expand...
Click to collapse
The Exit Task is unneeded. For all On/Off toggles, Tasker returns them to their original state on exit automatically.
Michealtbh said:
I want to use Tasker to switch off data/wifi when the screen is switched off, then switch data/wifi back on again when the screen is on, but only if they were previously on. Is this possible?
Click to expand...
Click to collapse
As far as I know, your phone will automatically switch off your wifi when you have your screen off (unless you installed a mod/app that forces it to stay open). I believe that Tasker (by default) will switch it off unless you have put wifi to [TOGGLE]. However, if you wanted to be completely sure, you can always use variables.
ie: you can make a profile that sets a variable (say, "WifiON") to 1. and then when you make a "screen on" event profile, make it Wifi [ON] IF WifiON [matches 1].
Izkata said:
The Exit Task is unneeded. For all On/Off toggles, Tasker returns them to their original state on exit automatically.
Click to expand...
Click to collapse
Oh wow, I must have completely missed that! Thanks for the help =] Feel free to continue to share/post guides.
sundar2012 said:
is there a way to tell when music is playing?
Sent from my HTC Vision using XDA App
Click to expand...
Click to collapse
I haven't found it on Tasker - but then, I don't really know Tasker as well as some other people here. You could always try to use the launching of the Music app as a context, or use the headphones plugged in event as a context?
If you haven't been to the google group for tasker, you should go NOW. It is moderated by the developer himself. He answers questions every day, including updates on what to expect on the next version. There are dozens of users on that group that can and will help you with the infinite number of things Tasker can do for you.
Head over to http://groups.google.com/group/tasker/topics?gvc=2 and read a few pages. It is likely that your questions have already been answered.
Whenever Ive previously tried Tasker it savages my battery...
All I had it doing was at a certain time turn on mobile data, open rss reader (so it updates) then play a beeping .mp3
Just wanted a flashy alarm clock to get to grips with it. but always see 25% less available battery with it installed than without...
duckredbeard said:
If you haven't been to the google group for tasker, you should go NOW. It is moderated by the developer himself. He answers questions every day, including updates on what to expect on the next version. There are dozens of users on that group that can and will help you with the infinite number of things Tasker can do for you.
Head over to http://groups.google.com/group/tasker/topics?gvc=2 and read a few pages. It is likely that your questions have already been answered.
Click to expand...
Click to collapse
oh wow. thanks for that. I'll chuck it up on the first few posts.
Would still like this to be a share-some-love discussion though!
Coedy said:
Whenever Ive previously tried Tasker it savages my battery...
All I had it doing was at a certain time turn on mobile data, open rss reader (so it updates) then play a beeping .mp3
Just wanted a flashy alarm clock to get to grips with it. but always see 25% less available battery with it installed than without...
Click to expand...
Click to collapse
what is your device? I have seen improved battery life with my HTC Desire Z - I usually only had about 30-40% battery at the end of the day with light texting, some calls and web surfing. Now i have about 60%! Although that's not completely Tasker - I do have SetCPU to underclock during screen off times.
Did you turn the mobile data back off?
Yep, had it to turn off mobile data and then enable wifi when I close the news app.
(I usually keep wifi on 24-7 if Im at home that day).
I say it took about 25% of my battery because I usually get 36 hours with everything on (except BT) and with tasker going I only got slightly over 24hours... (maybe like 26 or 28?)
Its a HTC Hero btw. Maybe ive just tuned it so that its at its optimum battery for me and my situation? I just think its weird that whenever I use Tasker within the next 2 days the battery has dived down to 20 something hours from around 35+

Tasker (how to disable maps & location provider)

Disable google maps and location provider and enable them when you want rather than when google thinks you should
Required:
Tasker
Secure settings (free - but consider supporting through a donation because this makes tasker even more awesome)
How to:
Enable secure settings helper
Profile 1:
Profile: screen off & variable - Nav = 1
Task:
plugins/secure settings/maps disabled (user)
plugins/secure settings/location services disabled
variable set Nav to 0
Profile 2
Profile: apps/navigation & waze (or whatever other gps apps you use)
Task: GPS on - plugins/secure settings/GPS enabled
Exit task: GPS off - plugins/secure settings/GPS disabled
Tasker task (you need to use this when you want to use nav (or whatever GPS app)
Unfreeze maps
plugins/secure settings/GPS enabled
plugins/secure settings/location services enabled
task/wait 4 secs
plugins/secure settings/maps enabled
variable set - Nav to 1
I have created this how to because several members have shown interest when I have spoken about it - this is a very rough and ready guide and I'm not sure that there isn't a better way to take back control of maps/location services but this works for me and has done for quite some time. I am very happy for people to add their own suggestions to improve this concept or let me know if its not needed because it is posted else where -I searched and couldn't easily find anything.
I use other bits and bobs also and will include these as options as and when I get time to update this thread, I will also try to make this how to a bit prettier as I get time but for now the instructions suffice because they work.
I hope some people find this useful and if not don't use it
Feel free to ask questions here and I will do my best to help - I do this because so many kind XDA'ers have helped me so I like to try and give back what little I can
reserved
So it's just not enough to turn off gps and location services?
I have something similar, yet different. I noticed that I would sometimes use Maps, switch to a different app briefly, then switch back, which caused the GPS to ping-pong inefficiently, so I added a little timer :
Context:
Map app
+
Screen On
Entry task ("Location On"):
Stop Location Off task
Secure Settings/Location Services enabled
Secure Settings/GPS enabled
Exit task ("Location Off"):
Wait 10s
Secure Settings/Location Services disabled
Secure Settings/GPS disabled
I realize my current version doesn't have the freezing, but I figured the timer (one should customize the time!) might be of interest. It's not too hard to mix and match the two.
Also, I recommend using the Disable Google Network Location Consent Xposed module with this. The alternative is using dpad to take care of the dialog that comes up when you activate Location Services:
Input action: Dpad, Right, 1
Input action: Dpad, Click/(Press?*) 1
*not sure about the English command in Tasker.
Omen of Peace said:
I have something similar, yet different. I noticed that I would sometimes use Maps, switch to a different app briefly, then switch back, which caused the GPS to ping-pong inefficiently, so I added a little timer :
Context:
Map app
+
Screen On
Entry task ("Location On"):
Stop Location Off task
Secure Settings/Location Services enabled
Secure Settings/GPS enabled
Exit task ("Location Off"):
Wait 10s
Secure Settings/Location Services disabled
Secure Settings/GPS disabled
I realize my current version doesn't have the freezing, but I figured the timer (one should customize the time!) might be of interest. It's not too hard to mix and match the two.
Also, I recommend using the Disable Google Network Location Consent Xposed module with this. The alternative is using dpad to take care of the dialog that comes up when you activate Location Services:
Input action: Dpad, Right, 1
Input action: Dpad, Click/(Press?*) 1
*not sure about the English command in Tasker.
Click to expand...
Click to collapse
That's really interesting, I have had similar glitch and your method send to be a good solution using timer. I used to use xposed module pre 4.4 but km seems to change something and xposed disable network location consent do toast no longer works. I am really interested in your other solution - using Dpad - please could you expand on how to do this?
Jimsilver73 said:
That's really interesting, I have had similar glitch and your method send to be a good solution using timer. I used to use xposed module pre 4.4 but km seems to change something and xposed disable network location consent do toast no longer works. I am really interested in your other solution - using Dpad - please could you expand on how to do this?
Click to expand...
Click to collapse
Sure. I didn't invent it, I found it somewhere else.
If the dialog is still the same in 4.4, the button selected by default is the left one, but you want to click the right one.
So, in the task listing:
+ > Input > DPad > select Right in the menu,
go back to the task
+ > Input > DPad > select Click/Press in the menu
The text export for Location On:
Code:
Location On (64)
A1: Stop [ Avec erreur:eek:ff Tâche: ] Si [ %BATT < 6 ]
A2: Stop [ Avec erreur:eek:ff Tâche:Location Off ]
A3: Secure Settings [ Configuration:Location Services Enabled Paquet:com.intangibleobject.securesettings.plugin Nom:Secure Settings Délai (Secondes):0 ]
A4: Secure Settings [ Configuration:GPS Enabled Paquet:com.intangibleobject.securesettings.plugin Nom:Secure Settings Délai (Secondes):0 ]
A6: Dpad [ Bouton:Droite Horaires de répétition:1 ]
A7: Dpad [ Bouton:Appui Horaires de répétition:1 ]
edit: forget about the export above, it's localized (French) and it got mangled when I first posted it without the (code) tag.
The last two lines are only for people who don't/can't use the XPosed module. I seem to remember you need to be rooted to use Dpad.
(I don't trigger Location when the battery is weak, hence the A1 - I hadn't mentioned it.)
Does the Tasker mod above work with Android 4.2.1 or 4.3?
As far as I know the Secure Settings plugin only allows location services to be toggled on 4.4+.
E--Man said:
Does the Tasker mod above work with Android 4.2.1 or 4.3?
As far as I know the Secure Settings plugin only allows location services to be toggled on 4.4+.
Click to expand...
Click to collapse
It always used to work for me on 4.2.x onwards, don't know about 4.1 (that seems a very very long time ago now )
BTW: since kk has matured, and ROMs /kernels become much more stable I no longer have the need to kill maps/location provider since my system tends to take care of itself nicely with my set up and I always have plenty of power left over at the end of the day (not that much difference with everything being killed), actually I'm quite enjoying what Google has to offer nower days, it's quite useful . Maybe if I was ever going away and not be near a power source for some days I might consider locking it down tight.
Thought I'd just share this as I was really paranoid about Google power drain in the past until a dev whom I respect said she used to do the same but doesn't have the need anymore - I was amazed to see she she was right (at least for newer devices )
Hi,
Has anyone succeeded in creating a Tasker profile with 4.4.2 that disables/enables location services automatically without having any confirmation dialogue to click on and without having to install xposed?
Please advise, thanks.
E--Man said:
Hi,
Has anyone succeeded in creating a Tasker profile with 4.4.2 that disables/enables location services automatically without having any confirmation dialogue to click on and without having to install xposed?
Please advise, thanks.
Click to expand...
Click to collapse
I use e robot now to enable and disable location when on maps or GPS, works really well, no annoying toast either
Jimsilver73 said:
I use e robot now to enable and disable location when on maps or GPS, works really well, no annoying toast either
Click to expand...
Click to collapse
Jim Silver,
Thanks for your reply! Just to confirm, you able to disable/enable location services without installing xposed just root and e robot, and no toast notification?
Also, how would you rate e robot in comparison with Tasker? Is it safe to install?
Lastly, I'm not sure why Tasker can't do this either I'm baffled.
E--Man said:
Jim Silver,
Thanks for your reply! Just to confirm, you able to disable/enable location services without installing xposed just root and e robot, and no toast notification?
Also, how would you rate e robot in comparison with Tasker? Is it safe to install?
Lastly, I'm not sure why Tasker can't do this either I'm baffled.
Click to expand...
Click to collapse
E robot is good, very good dev - author of widgetsoid which I have been using for years
Sorry, I may have been a bit confusing, what I have set e robot to do is to change the modes of location from battery saving to high accuracy and then back again to battery saving. This is working well for me with my set up.

Tasker

Having some issues with tasker on the pixel 3. I had the pixel 1 with android pie and had no issues. I migrated my profile and the tasks work if i play them manually but don't seem to work automatically 99% of the time. They also show green as if they should be active. It seems to have something to do with having the screen off. I have battery optimization turned off for the app and I have messed around with a few other settings. Does anyone know the magic combination to get it working? Or any idea what else may be wrong?
Example screnario...I get into my car, bluetooth connects, i wait and pandora doesnt turn on. I unlock the phone and go into tasker, the profile is green as if it is active but Pandora isn't playing. I then open the task and hit the play button and everything works as it should.
I can live without most of my tasks but I really miss Pandora automatically playing and exiting when connected to my bluetooth.
EDIT: My other tasks are hard to verify they aren't working. It seems that they may be working some/most of the time but Pandora has yet to launch while the screen is off. I have smart lock enabled so the phone should unlock when connected to my bluetooth.
huviduc said:
Having some issues with tasker on the pixel 3. I had the pixel 1 with android pie and had no issues. I migrated my profile and the tasks work if i play them manually but don't seem to work automatically 99% of the time. They also show green as if they should be active. It seems to have something to do with having the screen off. I have battery optimization turned off for the app and I have messed around with a few other settings. Does anyone know the magic combination to get it working? Or any idea what else may be wrong?
Example screnario...I get into my car, bluetooth connects, i wait and pandora doesnt turn on. I unlock the phone and go into tasker, the profile is green as if it is active but Pandora isn't playing. I then open the task and hit the play button and everything works as it should.
I can live without most of my tasks but I really miss Pandora automatically playing and exiting when connected to my bluetooth.
EDIT: My other tasks are hard to verify they aren't working. It seems that they may be working some/most of the time but Pandora has yet to launch while the screen is off. I have smart lock enabled so the phone should unlock when connected to my bluetooth.
Click to expand...
Click to collapse
Check to see if accessibility is enabled for Tasker. If memory serves me correctly it needs to be enabled in order to launch an app. I might be wrong about that but it can't hurt to try it. Android settings>accessibility
robocuff said:
Check to see if accessibility is enabled for Tasker. If memory serves me correctly it needs to be enabled in order to launch an app. I might be wrong about that but it can't hurt to try it. Android settings>accessibility
Click to expand...
Click to collapse
I checked and it wasn't enabled. Enabled it but unfortunately the same issue happens. If i have the screen on everything works perfectly fine, screen off nothing happens. I am using always on display if that matters, its the only difference from my pixel 1 setup but I don't see why it would matter.
I also tried clearing all app data, uninstalling, reinstalling and setting up the pandora profile from scratch. Its such a simple task, I don't see why it isn't working. Profile below, selected options in parenthesis.
BT Connected (bluetooth device name) -> Pandora (Launch App Pandora)
Did you select the BT device from the list by tapping the magnifying glass? I have found that if I pair a device the name is the same but the profile won't work until I remove and add it again. Also, some have different modes. For example, my Bose BT headphones pair as "Bose SoundSport" initially, but then connect as "LE Bose SoundSport" after that, so profile trigger has both listed.
Another test I would do is to change the task actions to see if it's actually triggering the profile or if it's an issue with the task. I usually just do Alert > Flash and watch the screen when the profile should be triggering. If the flash works, something isn't working with the launch app action.
Hope this helps.
Edit: I guess I didn't clarify, the task I have with my Bose headphones launches Spotify and starts music (media control > next). It also sets the media volume to a comfortable level. The criteria for this profile is a variable (based on calendar to see if I'm at work or not) and BT connection.
I forgot it was there, but I use Secure Settings to wake the CPU when the task triggers. Not sure if this is still needed or not. I think it was needed at one point to launch with the screen off or something, but I haven't really changed this task for a few years other than updating the BT device name as described above.
fury683 said:
Did you select the BT device from the list by tapping the magnifying glass? I have found that if I pair a device the name is the same but the profile won't work until I remove and add it again. Also, some have different modes. For example, my Bose BT headphones pair as "Bose SoundSport" initially, but then connect as "LE Bose SoundSport" after that, so profile trigger has both listed.
Another test I would do is to change the task actions to see if it's actually triggering the profile or if it's an issue with the task. I usually just do Alert > Flash and watch the screen when the profile should be triggering. If the flash works, something isn't working with the launch app action.
Hope this helps.
Edit: I guess I didn't clarify, the task I have with my Bose headphones launches Spotify and starts music (media control > next). It also sets the media volume to a comfortable level. The criteria for this profile is a variable (based on calendar to see if I'm at work or not) and BT connection.
I forgot it was there, but I use Secure Settings to wake the CPU when the task triggers. Not sure if this is still needed or not. I think it was needed at one point to launch with the screen off or something, but I haven't really changed this task for a few years other than updating the BT device name as described above.
Click to expand...
Click to collapse
Thanks for the input! I am heading out of town for a few days but I'll look into your suggestions when i return ( i wont have my car with me so i cant do any testing). I do think the profile works because it shows as green when i turn my screen on and open tasker. It also works perfectly fine if i have my screen on then start my car.
I think it may be working now (successfully tested one time) but I will need to use a bit more to be sure. The only thing I noticed is when reinstalling, i was prompted to allow the application to run in the background and chose yes. When the app was transferred from my old phone and I imported the backup, i dont recall ever getting this prompt. Not sure where this setting is found other than at the prompt. I will report back once i am home and can test some more.
okay so it doesn't appear to be working still. The task works fine when played manually, the profile runs the task successfully when the screen is on/off/locked. It does NOT work after phone has been idle for a while. I have battery optimization off for Tasker and when I check battery usage, I can see that tasker runs all day long. I have another task to dismiss email notifications at work and it works fine when the phone is idle.
Starting to test it with different actions like turning on the screen but I'm running out of ideas. Only other thought it Adaptive Battery....not very familiar with it.
huviduc said:
okay so it doesn't appear to be working still. The task works fine when played manually, the profile runs the task successfully when the screen is on/off/locked. It does NOT work after phone has been idle for a while. I have battery optimization off for Tasker and when I check battery usage, I can see that tasker runs all day long. I have another task to dismiss email notifications at work and it works fine when the phone is idle.
Starting to test it with different actions like turning on the screen but I'm running out of ideas. Only other thought it Adaptive Battery....not very familiar with it.
Click to expand...
Click to collapse
Can you verify if the task runs at all? In other words, does Tasker successfully see the BT connection and activate the profile and the only thing that fails is Pandora playing?
If the profile actually kicks in, then it sounds like the phone needs to 'wake up' more before the Pandora action works.
I have a morning profile (runs based on time of day) that I had to add a wake screen step to to have all the actions work (I don't actually remember which action wasn't working -- it may have been that it didn't seen to run at all). I currently use the old Secure Settings plugin to do the screen wake because when I tried which auto- app has a screen wake action it didn't work.
piccit said:
Can you verify if the task runs at all? In other words, does Tasker successfully see the BT connection and activate the profile and the only thing that fails is Pandora playing?
If the profile actually kicks in, then it sounds like the phone needs to 'wake up' more before the Pandora action works.
I have a morning profile (runs based on time of day) that I had to add a wake screen step to to have all the actions work (I don't actually remember which action wasn't working -- it may have been that it didn't seen to run at all). I currently use the old Secure Settings plugin to do the screen wake because when I tried which auto- app has a screen wake action it didn't work.
Click to expand...
Click to collapse
This leads me to believe the bit I added for Secure Settings to wake CPU is what makes it work any time? The profile I have is very similar; %ATWORK = TRUE && BT connected to Bose SoundSport. Secure Settings wakes CPU only 20 seconds, launches Spotify, waits 5 seconds, simulates media control "next" then sets the volume to 10.
Can't hurt to try..
i added a task to vibrate the phone after trying to launch pandora. The phone seems to vibrate every time but pandora will only start if the screen is on. Thought it may be lock screen related so i totally disabled it, same results. Ill mess around with the secure settings tip above, the fact that it vibrates every time makes me think its something else though. Attached some logs below. Each set contains all logs from profile active to profile inactive.
EDIT --> work around found. Removing log in case there are any personal details
DELETED
DELETED
Comparing the logs in notepad++, they seem to be almost identical (with the exceptions of some of the timing of logs, had to move them around to match them up). The only difference I can see is the following lines and what appears to be Pandora starting up and exiting when it works ( events surrounded by #NLI: tickerText. The first line says True when screen is on and the second line is missing when pandora failed to load.
31-10-2018 M: 11.17.12#M: user present: false
31-10-2018 M: 11.17.12#M: startUAAA: need alarm: false
oddly enough... installing Secure Settings and using it to launch the same Pandora activity seems to work (so far)

Categories

Resources