Shortcut on home screen to force close app - Tasker Tips & Tricks

I dont know if tasker can do this but i searched snd couldnt find anything. Can I use tasker to make a shortcut to force close an app? I use AT&T EPPT for work but I want an easy way to get the notification away when not at work. And it's a simple PPT app so I don't think it would mind. Can tasker do it?

Killing an app has been unreliable. But give it a try.
Just create a task with an action of app -> kill app and configure it for the AT&T app.
Then add a tasker widget to the desktop which calls the task you created.
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers

Related

[Q] [2xQ] Andriod Noob, regarding Ongoing in notification, and on demand gps

first question is that some applications dont show in task manager, instead it shows as ongoing in the notifcation menu. like msn messeger or lookout.
however I would like to close those apps at some point.
the other question is regarding on gps, if I install navigation software that needs gps, I had to turn it on manually from notification menu. which is stupid.
is there a way around that, to allow gps as soon as its request.
Kindest Regards
GPS, just keep it on all the time
Task Manager you can end task any app using it, there are more powerful versions for free that you can download from Android Market, and they are much more configurable to do what you want them to do
thank you Fido
so gps in notification is just enabling the service to be used rather than turning it on. this makes more sense now.
will have a hunt for task manager.
what is the best way to find apps, search forums\ market place?
here http://forum.xda-developers.com/showthread.php?t=765081
or here http://www.appbrain.com/
If you get an app called Tasker it will allow you to automate the process of turning on and off GPS as you run the app.

[Q] Touchless control to activate Utter?

I'm running version 4.4, not rooted, Moto x. Utilizing Tasker, what is the easiest way to have the touchless control prompt "ok google now" directly initiate/bring up the Utter voice command app to it's listening state? I can accomplish this no problem with the screen on and unlocked, but I want the ability to also launch it with the screen off/inactive. I am most familiar with utter but will be fine using any voice command app if necessary. I just want to be able to utilize UItter voice command capabilities without it always being in a permanent listening state, which really drains my phone's battery life. Thanks for any suggestions!
I am also interested in this. The following thread should give you some leads:
http://forum.xda-developers.com/moto-x/general/moto-x-offline-recognition-solved-t2571466
Utter
masterfisher166 said:
I'm running version 4.4, not rooted, Moto x. Utilizing Tasker, what is the easiest way to have the touchless control prompt "ok google now" directly initiate/bring up the Utter voice command app to it's listening state? I can accomplish this no problem with the screen on and unlocked, but I want the ability to also launch it with the screen off/inactive. I am most familiar with utter but will be fine using any voice command app if necessary. I just want to be able to utilize UItter voice command capabilities without it always being in a permanent listening state, which really drains my phone's battery life. Thanks for any suggestions!
Click to expand...
Click to collapse
I use the Ok Google now trigger intent xposed module and in tasker use it to launch the utter! Shortcut available from the playstore so that way I have always listening capability without the battery drain that permanent recognition from utter brings and it works perfectly everytime, the alternative is to use touchless controls together with auto voice recognise within tasker and get the Google now api xposed module so that you're still using Google now but tasker tasks can be implemented by voice in Google now, hope that helps although you need to be rooted which I have only just reread your comment to see that you are not
Without root, your options are a bit limited. Utter! Has a direct shortcut to launch its voice recognizer? If so, you can say "OK, Google now, open (utter! shortcut name) app" Kinda awkward, but it should work.
Sent from my XT1060 using XDA Premium 4 mobile app
<br />
I use the Ok Google now trigger intent xposed module and in tasker use it to launch the utter! Shortcut available from the playstore so that way I have always listening capability without the battery drain that permanent recognition from utter brings and it works perfectly everytime, the alternative is to use touchless controls together with auto voice recognise within tasker and get the Google now api xposed module so that you're still using Google now but tasker tasks can be implemented by voice in Google now, hope that helps although you need to be rooted which I have only just reread your comment to see that you are not<br/>
Can you elaborate on this? I'm not a big Tasker user.
Sent from my XT1053 using Tapatalk
Touchless utter
overthatscreen said:
<br />
I use the Ok Google now trigger intent xposed module and in tasker use it to launch the utter! Shortcut available from the playstore so that way I have always listening capability without the battery drain that permanent recognition from utter brings and it works perfectly everytime, the alternative is to use touchless controls together with auto voice recognise within tasker and get the Google now api xposed module so that you're still using Google now but tasker tasks can be implemented by voice in Google now, hope that helps although you need to be rooted which I have only just reread your comment to see that you are not<br/>
Can you elaborate on this? I'm not a big Tasker user.
Sent from my XT1053 using Tapatalk
Click to expand...
Click to collapse
Download and install utter quick launch from the playstore and the okgooglenowtriggerintent module from xposed, once you have activated it and rebooted in xposed framework open tasker and create a new profile, hit event then in the popup start to type intent and send intent will appear, hit that and in the action section type the following:
com.hawkjm.okgooglenowtriggerintent.AUDIO_TRIGGER
Press back and new task popup will appear, choose application and select utter quick launch, make sure tasker is running and the new profile is active in tasker and keep pressing back until tasker exits, now everytime you say ok Google now utter will listen instead of Google now, you might want to customise the response from your command in utter, I changed mine simply to yes each time I activate utter and bear in mind that it has nothing to do with the wake up command settings in utter, I hope that all makes sense
If it's the tasker tasks in Google now that you are interested in then download autovoice from the playstore and the Google search api from the xposed framework application downloads section and activate it and reboot,
Open autovoice and scroll to the bottom and make sure that Google search api is enabled then open the Google search api app that you downloaded (should now be an icon) swipe across to the right and make sure autovoice is there, if not then reboot, if so open tasker, create a profile, select state, plugin, autovoice recognised then next to configuration hit the edit button, scroll to command filter and type the Phrase that you want to be recognised for example Toggle bluetooth, back out of it and hit the tick, then select the task that you want to perform (the possibilities are endless) and back out of tasker until it closes then try out your command, create new profiles for each autovoice command that you want to execute,
Google search will try and search for whatever you say even though it will execute your task, if you're fine with that then leave it as it is, if you want Google search to close after executing certain commands then under each task that you create press plus, select if and make the top line look like this:
%avsource ~ googlenow
Then hit back, hot plus and type kill application and select that option, search for google search and tick use root,
Hit back again and hit plus and type end if and select it and then hit back until tasker exits. Now whenever you say that particular command Google now will execute it and then return to where you were previously, if you don't want to do that for each task simply create a profile for recognising the Phrase homepage and have it run the task homepage
mpd81 said:
Download and install utter quick launch from the playstore and the okgooglenowtriggerintent module from xposed, once you have activated it and rebooted in xposed framework open tasker and create a new profile, hit event then in the popup start to type intent and send intent will appear, hit that and in the action section type the following:
com.hawkjm.okgooglenowtriggerintent.AUDIO_TRIGGER
Press back and new task popup will appear, choose application and select utter quick launch, make sure tasker is running and the new profile is active in tasker and keep pressing back until tasker exits, now everytime you say ok Google now utter will listen instead of Google now, you might want to customise the response from your command in utter, I changed mine simply to yes each time I activate utter and bear in mind that it has nothing to do with the wake up command settings in utter, I hope that all makes sense
If it's the tasker tasks in Google now that you are interested in then download autovoice from the playstore and the Google search api from the xposed framework application downloads section and activate it and reboot,
Open autovoice and scroll to the bottom and make sure that Google search api is enabled then open the Google search api app that you downloaded (should now be an icon) swipe across to the right and make sure autovoice is there, if not then reboot, if so open tasker, create a profile, select state, plugin, autovoice recognised then next to configuration hit the edit button, scroll to command filter and type the Phrase that you want to be recognised for example Toggle bluetooth, back out of it and hit the tick, then select the task that you want to perform (the possibilities are endless) and back out of tasker until it closes then try out your command, create new profiles for each autovoice command that you want to execute,
Google search will try and search for whatever you say even though it will execute your task, if you're fine with that then leave it as it is, if you want Google search to close after executing certain commands then under each task that you create press plus, select if and make the top line look like this:
%avsource ~ googlenow
Then hit back, hot plus and type kill application and select that option, search for google search and tick use root,
Hit back again and hit plus and type end if and select it and then hit back until tasker exits. Now whenever you say that particular command Google now will execute it and then return to where you were previously, if you don't want to do that for each task simply create a profile for recognising the Phrase homepage and have it run the task homepage
Click to expand...
Click to collapse
Great topic! Learning more about integrating Google Now and AutoVoice, but i have some doubts yet
I have a MotoX and do not want to leave the continuous mode autovoice on because MotoX has dedicated processor for voice recognition, intend
use "OK Google Now" to enable the continuous mode autovoice.
Could be accomplished?
"OK NOW GOOGLE", "MOTO X" "TURN ON TV"
^MotoX feature
^Enable AutoVoice
^Action
dont like Utter!...
Easily acomplished
klucilla said:
Great topic! Learning more about integrating Google Now and AutoVoice, but i have some doubts yet
I have a MotoX and do not want to leave the continuous mode autovoice on because MotoX has dedicated processor for voice recognition, intend
use "OK Google Now" to enable the continuous mode autovoice.
Could be accomplished?
"OK NOW GOOGLE", "MOTO X" "TURN ON TV"
^MotoX feature
^Enable AutoVoice
^Action
dont like Utter!...
Click to expand...
Click to collapse
You can accomplish it a couple of ways, if you use the okgooglenowintent xposed module as described above and instead of choosing utter quick launch you choose autovoice recognise as your task and give your commands that way (using this xposed module doesn't use autovoice permanent recognition, it uses the same as the touchless control does its just intercepting and switching touchless control for whatever app you replace it with so it doesn't drain any battery)
Or you can get the Google search api xposed module and set it up like I have above so that all of your tasker tasks are accomplished using Google now, so for example at screen off "OK Google Now turn on the tv" and providing you have the tasker task setup using the autovoice recognised profile or will perform the task for you
Just to clarify, using autovoice recognised under profile in tasker does not drain the battery as it's not the same thing as continuous listening mode in autovoice and you are using the moto x dedicated core for listening for your ok Google now command

How to find the current network access state in Tasker?

I am trying to toggle my mobile data. Don't know how to get the current state of network access. Plus, phone not rooted either. Any way to accomplish what I want,?
It's not clear what you're looking for. Do you want to know if you are connected to wifi in order to turn off mobile data (which doesn't work on all phones/ROMs)?
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
I simply want an alternative to toggling mobile data via the notifications drawer. The network access task has 4 states. I am only interested in "allow all" and "deny all".
In order to toggle I need to know what state it's initially in... that's all.
It sounds like you are working from a tasker tutorial. Could you either post the task or link to it.
You're talking about the network access ACTION used inside a task ?
Then you are turning access to the network on/off for apps rather than toggling the mobile data on/off?
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
I can't post links because of rep. Google "network access Tasker". You should get the Tasker guide page.
To simplify. Say I have set the network access to "deny all" via some task. In a different task, I want to read that setting. How do I do that?
Hope I have made clear atleast now...
The only link that comes up is Tasker's user manual page for network access. That action turns on/off network access to apps either some or all. It won't matter if you're on wifi or mobile data.
I think the only way you can know the state is to set a variable in the task when it toggles on, then, if that variable is set, toggle off. Part of that toggle-off process should be to clear the variable.
If what you are looking to do is toggle mobile data (without root), then AutoApps plug-ins for Tasker is a way to go. AutoTools has a secure plugin that *may* be able to just do a simple toggle for you. Else AutoInput can "script" the touch sequences to toggle the quick tile.
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
ktmom said:
The only link that comes up is Tasker's user manual page for network access. That action turns on/off network access to apps either some or all. It won't matter if you're on wifi or mobile data.
I think the only way you can know the state is to set a variable in the task when it toggles on, then, if that variable is set, toggle off. Part of that toggle-off process should be to clear the variable.
If what you are looking to do is toggle mobile data (without root), then AutoApps plug-ins for Tasker is a way to go. AutoTools has a secure plugin that *may* be able to just do a simple toggle for you. Else AutoInput can "script" the touch sequences to toggle the quick tile.
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
Click to expand...
Click to collapse
Tried scripting with AutoInput. But I can't swipe backward from my notification drawer to get to the required place. AutoApps and AutoTools - I am just not clear as to what is the payment model these apps have at the moment. If you could demystify them it would be great.
Ps: the phone I use is Moto G4 Play.
deostroll said:
Tried scripting with AutoInput. But I can't swipe backward from my notification drawer to get to the required place. AutoApps and AutoTools - I am just not clear as to what is the payment model these apps have at the moment. If you could demystify them it would be great.
Ps: the phone I use is Moto G4 Play.
Click to expand...
Click to collapse
I must be having a senior moment I'm not sure what swiping backwards from the notification drawer means. Are you trying to get to the next page of quick tiles?
It's been awhile since I installed AutoTools. I seem to think that you install it for 30 days with everything unlocked, then pay for the plugin(s) you actually use.
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers

Event profile stops working after restart/timeperiod

Been trying to Google a solution but in vein.
I want my Flic button to trigger a task.
I make a Profile in Tasker, choose event -> Plugin -> Flic and select my button and behaviour.
To this event I choose one of my tasks.
So far so good. The task executes when I click my Flic button. Great!
After a while, leaving the room with my phone or rebooting the phone, nothing happens when I'm back and click my Flic! I'll then have to open Tasker, edit my Flic-event under profiles and save the Flic behavior again for it to execute when I click my Flic.
Why does it disconnect like this? It only works just after creating the event.
Please help. Desperate!
Have you asked the plug-in developer for help? This sounds like it's in their court. Looking at the Tasker run log might give some insight, but my guess is it's at a lower level than that.
Reading through the FLIC community support it looks like there are reports of hit or miss and maybe only a double click action will work with Tasker.
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
Thanks for your reply ktmom!
I found a workaround for my problem.
I simply put my task as a shortcut (instead of a widget/task) on my homescreen. I can then assign my task within Flic app by choosing "Launch shortcut" under "Phone control" in Flic app...
However I'm still bothered by that previous mentioned problem.
Things are sort of working now !
Good workaround idea!
Maybe one day they'll fix the issue so we don't have to keep an extra shortcut to make it work!

Tasker in Application List

Hello everyone,
I'm very new and I was hoping I can get some assistance from you.
I want to have my screen timeout changed when Im running Tasker in foreground. Is there any way to do this?
Thank you,
From the Tasker FAQ;
Why isn't Tasker shown in the Application Context list ?
Because it's easy to get into trouble firing tasks in Tasker. For example, if a profile is setup with a Tasker Application Context and a task with Load App Calculator, it will not be possible to enter Tasker anymore.
Click to expand...
Click to collapse
When the accessibility service is enabled for Tasker, the %WIN variable won't detect Tasker either. Of course, disabling accessibility prevents Tasker from intercepting what app is running.
It *might* be possible to do what you want using the app factory and making a kid app.
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers

Categories

Resources