[HELP] Tasker not able to Flash Notifications from certain apps - Tasker Tips & Tricks

I'm banging my head against this phone trying to get this working. I just set this up on my previous phone (Note5 on 7.0, which I sadly lost) and it was working great. Now that I'm back on my Moto X Pure running 6.0, I am having the hardest time getting this simple thing to work.
Here is what I'm trying to do:
It's really simple, use AN Intercept to trigger an action everytime a Notification changes (track change, etc). I am trying to to do this with Phonograph, but am also having trouble with other apps. When the track changes, Flash and Say the next trackname and artist.
PROFILE:
AutoNotification Intercept- Event Behaviour: True Persistancy Type: Persistant Only Notification Apps: Phonograph
ACTION:
A1 - Autonotification Query,Persistancy Type: Both,Notification Apps: Phonograph,Get All Fields: True (messing around, tried on and off)
A2 - Flash, Text %anapp, %antitle(), %antext()
This simple thing should work.. however, only the %anapp is working, neither of the other variables show any real data. I also had the same issue when trying some other stuff with Maps.
Apps that don't work - Pandora, Phonograph, Maps, Shuttle
Apps that work - LastPass, Tasker
How can I troubleshoot this to uncover the problem? I'm on a Moto X Pure, is it possible some Moto software is interfering? App permissions (I've tried resetting them)? I've also tried removing and re-installing the Tasker and AutoApps Apps. I'm at a loss..
Appreciate any help you can provide. Thanks!

Related

[Q] App to launch app on phone / google voice

So the s-voice has proven fairly limited to Google Now. I've managed to get Google now (on my phone) to intercept and listen to command from my Galaxy Gear 1 stock (setting in Google Now to listen from Bluetooth). However, what would complete the equation is if I can launch Google Now from the GG. Is there an app that can do this? Preferably hook into the Power button on GG, but would I would settle for a simple widget on screen.
I've also tried the Null 23 ROM, but what I've noticed is the Google Now Bluetooth listening functionality no longer worked after that (nor did the camera app that came with NULL rom!). Since the listening part doesn't work, the only option left was to make the GG handle Google Now directly on the gear, which is not optimal (shifting more processing to watch = more processing/battery drain/slower/more mod/tethering to deal with etc)
I'm using Tmobile Note 4. I would prefer not to have to root if possible. Any help/ideas greatly appreciated!
Thanks!
I'm running null 23 with my note 3 and the listening function on Google now works. You have to enable it in settings. Combine this with tasker and tasgear, and you'll get exactly what you're seeking. Search in this forum.
nghiaxp said:
I'm running null 23 with my note 3 and the listening function on Google now works. You have to enable it in settings. Combine this with tasker and tasgear, and you'll get exactly what you're seeking. Search in this forum.
Click to expand...
Click to collapse
I'm on the Tmobile Note 4. To get Google Now (in the phone) recognition via Bluetooth, did you have to do any special config after you installed the null 23?
Also, is there any easy way to work on Tasker on the gear? After playing with custom ROMs and configuring on the gear, it doesn't seem that fun typing with fat fingers :X
Also, are you tethering with PDAnet or standard Bluetooth tether? The PDANet route with xpose framework still feels unstable (Voice on the Gear as standalone would not recognize my commands).
Same thing. Tasgear and tasker on Nul Rom,
Gear shortcut to launch tasker task to use taskger start tasker task on phone.
Tasker on phone turns on screen and launches google now
Google now on phone uses BT to listen to the gear
Tethering isn't required for this function.
When I do tether, I use Bluetooth Auto Connect on Gear which has tasker plugin
fat fingers
pingmustard said:
I'm on the Tmobile Note 4. To get Google Now (in the phone) recognition via Bluetooth, did you have to do any special config after you installed the null 23?
Also, is there any easy way to work on Tasker on the gear? After playing with custom ROMs and configuring on the gear, it doesn't seem that fun typing with fat fingers :X
Also, are you tethering with PDAnet or standard Bluetooth tether? The PDANet route with xpose framework still feels unstable (Voice on the Gear as standalone would not recognize my commands).
Click to expand...
Click to collapse
I'm also running the null Rom on my gear. I use the bluetooth tether option in the gear Bluetooth settings. So far I've tried both using Google now straight from the gear and the Bluetooth headset way. Sometimes the intent triggers without intention on the phone which seems to play havoc with spotify so currently I'm leaning more to the use of Google now via the gear alone. Also I find it easier when i can see the search, especially for note to self actions.
Anyway as the title suggests.... I'm no fan of typing on a tiny keyboard, it's a novelty and could be handy for a short text but I find holding my arm in the right position a pain after a while and it's difficult when you're typing stuff like com.orbonis.gear or whatever. Here are not 1 but 3 ways to make it easier.
1. Bluetooth keyboard. I've been using a Bluetooth keyboard with the gear off my wrist as a tiny monitor. Pros good typing experience and looks cool. Cons it can be fiddly to connect (I have to press var simultaneously on my keyboard and it can take a few go's to work) and it's not very portable.
2. Copy and paste. Although I've not been able to get copy and paste to work natively on my gear it works within tasker itself. You'd only have to type a message and a perform task once and then change the extras (which is easier than typing com.orbonis etc). However I think I've found a workaround. I was running the Swype keyboard (paid apk which I then downloaded via realapkleecher to pc, sideload to gear via adb) you can paste with this keyboard. I've found an app called clipper+ which is a syncing clipboard app. Downloaded straight from the play store tonight and was able to sync to the phone version. So I can now see my phones clipboard on the gear. When I get time I'll put Swype back on the gear and see if this does give a workaround for copy and paste.
3. Export from phone. I've not done this for tasker profiles but for apk files and zooper widgets from the phone via Bluetooth sharing from a file manager on the phone. Should be possible to do something similar for a tasker task. Just write the task on the phone and figure out how to send it lol.
Thanks for the great suggestion. I went with the bluetooth keyboard route for now. The other two routes are also viable, but I'm going to try keep it simple on the watch for now. I ended up tasker to intercept svoice and run task to kill it and invoke google voice on the phone instead.
Thanks again!
pingmustard said:
Thanks for the great suggestion. I went with the bluetooth keyboard route for now. The other two routes are also viable, but I'm going to try keep it simple on the watch for now. I ended up tasker to intercept svoice and run task to kill it and invoke google voice on the phone instead.
Thanks again!
Click to expand...
Click to collapse
Could you share the task descriptions? I'm very interested in how others use tasker with the gear. So far I've been using it for things like making Bluetooth tether a one button start and I've been looking at using apps like zooper to launch tasks. Recently I've also worked out a reasonable way to launch tasks on the watch with a command from the phone. I'll probably using that to add to my geo cache tasks on the phone. So when do something like going shopping the phone well recognise the location and the watch will bring up my shopping list, turn on Bluetooth tether, control motions/screen brightness etc.
You could create a profile on your gear that does the following:
When s voice is launched on the gear, kill it and send an intent to the phone.
On your phone, make sure Bluetooth headset is enabled in the Google search app. Then, create the following profile:
When the intent is received, wake the phone, open Google voice and start a search.

App that toggles GPS automatically

I recently decided to root my droid turbo since it seems like we are never going to get the lollipop update ?. Im already seeing improvements in battery life and performance by using various apps like clean master and battery doctor.
I was wondering if anyone knew of any apps that would know when I'm using a certain app and toggle certain setting when I am and off when I'm not. For example, if I pull up the maps app, I obviously need location on so as soon as I open it, it turns location on, and then when I'm done with the all, turns it back off.
Ive seen the "tasker" app on the Google play store that's like 2.99 and I didn't know if it would do that or not.
Thanks in advance!!
IIRC, Tasker does this. I think Llama (similar to Tasker) can also do it.
drexhex said:
IIRC, Tasker does this. I think Llama (similar to Tasker) can also do it.
Click to expand...
Click to collapse
Yes, Tasker does this with the addition of Secure Settings. You can set it so that whenever you open apps X, Y, Z, it will automatically toggle GPS.
I have this set up for Maps, Yelp, etc. When I exit the app, GPS is turned off after a 2 minute delay (it kept disabling GPS if I quickly switched to another app during navigation, so I set a longer delay than most tutorials suggested)
http://www.csullender.com/blog/2014/01/26/automatic-high-accuracy-android-location/
ds728 said:
Yes, Tasker does this with the addition of Secure Settings. You can set it so that whenever you open apps X, Y, Z, it will automatically toggle GPS.
I have this set up for Maps, Yelp, etc. When I exit the app, GPS is turned off after a 2 minute delay (it kept disabling GPS if I quickly switched to another app during navigation, so I set a longer delay than most tutorials suggested)
http://www.csullender.com/blog/2014/01/26/automatic-high-accuracy-android-location/
Click to expand...
Click to collapse
Thanks, I decided to buy tasker right after I posted that. Was gonna wait till I knew for sure that it would work but decided I wanted to try it anyway. Took me a little bit to figure it out but finally did.
I'm trying to figure out now how to use the scenes to make a pop up menu that will be there during navigation to allow me to start playing music and different navigation tasks so I can stay on the navigation app. I'm having a lot of trouble with it.

Tasker or another automate app working?

Hi,
I tried to find root cause, but unfortunately without success. Is there anybody, who using Tasker or another application for automatization of your phone without any issues?
My issue is, Tasker is still "delayed" - but same rules I used before on LG G3 (Android 6.0) - but now on P9 (DualSIM) didn't work.
I have task for Calendar Entry, where if I have appointment in my work calendar, during this time Sound mode is deactivated (only Vibrate).
Some suggestion? I tried white lists, etc. or another app with same bad behavior.
Thank you!
Well, I tried to deactivate power management app from Huawei over ADB and looks good now finally! Its workaround, but tasker now working very well as expected.
adb shell pm hide com.huawei.powergenie
Did you have "Run in Foreground" selected in Tasker's preferences?
My Tasker works fine with that selected, although I also have trusted the app in permissions manager, allowed it to auto launch & activated it as a device administrator in advanced settings/security.
Yeah, I tried every tip over Tasker or phone (EMUI settings) and only deactivate power management helps me.
I had the same problem with IFTTT. It worked perfectly with my LG G3, but was hopeless on the P9. No amount of white-listing or settings would work.
I even had the app in memory, with Google maps running, on GPS, screen on, and it still wouldn't trigger a location based profile.
I've had to revert to manually arming and dis-arming my home security system. Annoying.
I translate from spanish so I'm sorry if your phone shows menus with other name.
You must go to adjust > advanced adjusts > memory and store and at bottom of page "space clean". On new screen push on upper-right wheel, and now on last option "white list of memory clean". Finally look for your app and activate it.
If you don't include app here, clean system will close it on background and timers won't work. It solved my problems.
aidrabmol said:
I translate from spanish so I'm sorry if your phone shows menus with other name.
You must go to adjust > advanced adjusts > memory and store and at bottom of page "space clean". On new screen push on upper-right wheel, and now on last option "white list of memory clean". Finally look for your app and activate it.
If you don't include app here, clean system will close it on background and timers won't work. It solved my problems.
Click to expand...
Click to collapse
"Settings>Advanced settings>Memory & storage>Storage cleaner" and "Memory cleanup whitelist".
Using Agama, I can get an app to start following a reboot. However, I would like to start the App at every Startup. Does Automate or any other app let you do that?
carroamer said:
Using Agama, I can get an app to start following a reboot. However, I would like to start the App at every Startup. Does Automate or any other app let you do that?
Click to expand...
Click to collapse
Why would you need Tasker for that simple.
Settings, type in the Search Autostart and add your app to the list of apps to be started on every reboot.
You may also need to disable Battery Optimization for your app (to make sure it would still work in background when the phone sleeps with dark screen)
That should generally work for all Androids. I don't have Huawei P9 now for years, I remember that EMUI might have had specific Settings organization but there was also Autostart (or Auto start)...
zgfg said:
Why would you need Tasker for that simple.
Settings, type in the Search Autostart and add your app to the list of apps to be started on every reboot.
You may also need to disable Battery Optimization for your app (to make sure it would still work in background when the phone sleeps with dark screen)
That should generally work for all Androids. I don't have Huawei P9 now for years, I remember that EMUI might have had specific Settings organization but there was also Autostart (or Auto start)...
Click to expand...
Click to collapse
When I search 'Autostart' it produces 'No results'
carroamer said:
When I search 'Autostart' it produces 'No results'
Click to expand...
Click to collapse
I had P9 for three years (if you don't believe, you can find tons of my posts here back from 2017-2018)
Now, you have that phone, not me (I got rid of my last Huawei almost three years ago) - I cannot show you and I cannot look into the EMUI settings because I don't have the EMUI phone anymore
But I KNOW that there was a way in EMUI how to control which apps will be automatically started on boot - I know because I played with all that back in those years, II did need for many apps like AdAway, Find My Device and similar that required to be auto-started to operate correctly
Take your time and google and you'll find. Sorry, I tried to help you but I will no more waste my time on that. Huaweis are past time for me
And take your time, use your imagination, If not Autostart, google for EMUI startup manager or something similar to find the answer for your question on the Net

Issue with Tasker not performing correctly when using Google maps.

On my S7 edge, I have Tasker setup usibg Auto Notification to have menus pop up while navigating to allow easy switch between music and navigation screens. For some reason, this causes Tasker to not monitor switching between apps properly, and some plugins like autoshare and even auto notification don't work properly. Tasker basically doesn't work right for several minutes and then it finally catches up and everything starts happening at once. I could really use help with this, it's annoying when Tasker does things 30 minutes after it was supposed to happen at the wrong times.
Is "use reliable alarms" set to always?
Tyler2265 said:
On my S7 edge, I have Tasker setup usibg Auto Notification to have menus pop up while navigating to allow easy switch between music and navigation screens. For some reason, this causes Tasker to not monitor switching between apps properly, and some plugins like autoshare and even auto notification don't work properly. Tasker basically doesn't work right for several minutes and then it finally catches up and everything starts happening at once. I could really use help with this, it's annoying when Tasker does things 30 minutes after it was supposed to happen at the wrong times.
Click to expand...
Click to collapse
My heaviest Tasker use is in my car mode....always navigating with Google Maps. I have a ton of profiles which monitor both apps and notifications to make many decisions...with some extremely complex tasks attached.
Everything usually works fine. But sometimes I make a bad task that loops indefinitely, or I have a root or accessibility problem, or for some reason an error occurs in my programming....those kinds issues usually cause major lag or profiles don't fire at all.
I would think that Tasker itself is probably performing as expected and there is an error (or a method that could be better) in your profiles. My advice is to save a run log and review line by line.
Sent from my SM-G955F using Tapatalk
Reliable alarms was set to never. Could that have been my issue? I know for a fact it's Tasker that's the problem cause when I go into Tasker after being on the home screen it still thinks I'm in the maps app. Or the music app. I've reviewed all my tasks very carefully.
Tyler2265 said:
Reliable alarms was set to never. Could that have been my issue?
Click to expand...
Click to collapse
I think it's likely. Try it and see if things improve.
ktmom said:
Is "use reliable alarms" set to always?
Click to expand...
Click to collapse
ktmom said:
I think it's likely. Try it and see if things improve.
Click to expand...
Click to collapse
Didn't end up changing much, at least not yet. See I have a profile for Google maps, Google Music, and home screen so that whenever one of these becomes active, I get a flash popup telling me what app is open. Whenever I start navigation it's like Tasker stops monitoring which app is open. Autoshare stops working too. Whenever I go to use an autoshare action, I get an error. But then that action ends happening later on, even after it gives out an error. I'm not sure what to do.
Maybe you're experiencing a reported conflict with google play services as described in this thread
ktmom said:
Maybe you're experiencing a reported conflict with google play services as described in this thread
Click to expand...
Click to collapse
Not sure. It only seems to happen when Google maps is running but even when I do big tasks E.G moving big files using ES File explorer, still seems to cause tasker to struggle. So I'm not sure what to think but I wish it would work properly.

Tasker media control and read SMS

Morning all, somewhat novice to tasker but I enjoy playing around with it and learning more about the operation. I have a bit if an issue I have been trying to sort out for some weeks but haven't been able to get it done. perhaps someone can assist.
I am running on a Nexus 6, recently rooted and ROM'ed.
On my device I am running my standard carrier number and a GV number (Through the app). While ago, I made a task to read SMS its programmed something like this:
T- AutoNotification Intercept
event behavior: True
Notification type: only created notifications
persistency type: both
Notification apps: Messages, voice ....
T-edit: Say
Text: %anapp %antitle %antext
Respect audio focus: off
The task used to pause any podcast/music playing before reading the message. A recent update has caused the function to not work anymore.
Did some reading and tried to use the media control buttons to pause podcast/music, read message, resume podcast/music by setting CMD to pause, toggle pause, and stop, before and after the task.. That worked reasonably well but had issues when I was not playing anything and the task triggered.
Tried to use "If %pmusic is set then media control pause, else Say: text: %anapp %antitle %antext"
Obviously it did not work because I am still confused.
I know tasker can set variables but I am not fully sure how they work together to get things done.
Thanks in advance for anyone who can contribute,

Categories

Resources