Go Back   Android Forums > Android Discussion > Android Applications > Tasker

Get excited for the Samsung Galaxy S5! Find everything you need and discuss it in our Galaxy S5 Forum!

Like Tree1Likes
  • 1 Post By digit27

test: Reply
 
LinkBack Thread Tools
Old September 25th, 2012, 10:26 PM   #1 (permalink)
Junior Member
Thread Author (OP)
 
digit27's Avatar
 
Join Date: Sep 2012
Posts: 32
 
Device(s): LG-G2X/P999 (Cyanogenmod7/Trinity)
Carrier: Not Provided

Thanks: 3
Thanked 1 Time in 1 Post
Default Kill an active task?

Is there a way to kill a task that has started? Say I have a task that is waiting, can I kill it with another task?
biggoog likes this.

digit27 is offline  
Last edited by digit27; September 26th, 2012 at 01:08 AM.
Reply With Quote
sponsored links
Old October 4th, 2012, 06:17 AM   #2 (permalink)
Junior Member
 
Join Date: Oct 2012
Posts: 16
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

I don't think it's can be done with Tasker.
but I know that "Autorun manager" app can do it.
erda0 is offline  
Reply With Quote
Old October 4th, 2012, 07:20 AM   #3 (permalink)
ROM Developer
 
SUroot's Avatar
 
Join Date: May 2010
Location: Riddlesden, West Yorkshire, UK
Posts: 23,926
 
Device(s): SGS3 (Current) HTC Desire (Retired)
Carrier: 3 UK

Thanks: 1,923
Thanked 5,320 Times in 3,994 Posts
Default

Sure.

New Task > Task > Stop > then browse the task you want it to stop.
SUroot is offline  
Reply With Quote
Old October 4th, 2012, 08:29 AM   #4 (permalink)
Junior Member
 
Join Date: Aug 2012
Posts: 46
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 1 Time in 1 Post
Default

Is there away to stop an app running in the background? I've set up a car mode to open a sat nav app, but I can't or know how to stop it running in the background after I've exited the app ie the navigation keeps going on in the background.

Thanks.
gkf9 is offline  
Reply With Quote
Old October 4th, 2012, 09:12 AM   #5 (permalink)
turbo drinker
 
D-U-R-X's Avatar
 
Join Date: Apr 2011
Location: Sheffield, South Yorkshire
Posts: 16,413
 
Device(s): Nexus 4 (Stock, rooted, 4.4.2), Nexus 7 1st Gen (Stock, rooted, 4.4.2)
Carrier: Orange

Thanks: 10,327
Thanked 6,680 Times in 4,125 Posts
Default

could you not set up a widget, so you can toggle car mode on when you get in the car and set it up so that when you toggle car mode off, it exits navigation?
__________________
See something that needs Mod attention? Hit and let us know
Free online storage @ Dropbox - use my link & we both get 500MB extra (when you install Dropbox)
D-U-R-X is online now  
Reply With Quote
Old October 4th, 2012, 09:37 AM   #6 (permalink)
ROM Developer
 
SUroot's Avatar
 
Join Date: May 2010
Location: Riddlesden, West Yorkshire, UK
Posts: 23,926
 
Device(s): SGS3 (Current) HTC Desire (Retired)
Carrier: 3 UK

Thanks: 1,923
Thanked 5,320 Times in 3,994 Posts
Default

If your car mode is set up using a state rather than event, you can add an exit task to the car mode task you already have. That could be Application > Kill application
SUroot is offline  
Reply With Quote
The Following 2 Users Say Thank You to SUroot For This Useful Post:
bberryhill0 (October 4th, 2012), D-U-R-X (October 4th, 2012)
Old October 4th, 2012, 08:01 PM   #7 (permalink)
Senior Member
 
bberryhill0's Avatar
 
Join Date: Jan 2010
Location: Rhinelander, WI> Wayzata, MN>Sisters, OR
Posts: 2,338
 
Device(s): Q9c, Eris xtrROM 4.6.5, Droid Concepts 11, Incredible 2 EclipticSense
Carrier: Not Provided

Thanks: 777
Thanked 338 Times in 301 Posts
Default

I'm feeling dense. How do you add an exit task?
__________________
My Eris apps
bberryhill0 is offline  
Reply With Quote
Old October 5th, 2012, 03:55 AM   #8 (permalink)
Senior Member
 
davoid's Avatar
 
Join Date: Aug 2011
Location: London
Posts: 1,641
 
Device(s): Galaxy SIII
Carrier: 3UK

Thanks: 612
Thanked 569 Times in 433 Posts
Default

If you long press on your task within the profile, a mini menu appears and one of the options is to create an exit task.

You're not dense; Tasker isn't very intuitive and it's hard to find how to do things.
davoid is online now  
Reply With Quote
The Following User Says Thank You to davoid For This Useful Post:
bberryhill0 (October 5th, 2012)
Old October 5th, 2012, 05:04 AM   #9 (permalink)
ROM Developer
 
SUroot's Avatar
 
Join Date: May 2010
Location: Riddlesden, West Yorkshire, UK
Posts: 23,926
 
Device(s): SGS3 (Current) HTC Desire (Retired)
Carrier: 3 UK

Thanks: 1,923
Thanked 5,320 Times in 3,994 Posts
Default

Although if the context is an event, you cannot add an exit task (because an event lasts a split second so it would exit after that split second) - so the option doesn't appear. Maybe this is not all events but certainly the ones I've tested.

Usually the exit tasks work better on states.

So if you had a profile...

context > Event > Docked
Task > "Car Mode"

This would need to be changed to

context > state > Docked
Task > "car mode"
Exit Task > "Kill App"

...so at the instant the state Docked ceases to be true, the profile exits, running teh exit task.
SUroot is offline  
Reply With Quote
The Following User Says Thank You to SUroot For This Useful Post:
bberryhill0 (October 5th, 2012)
Old October 8th, 2012, 12:36 PM   #10 (permalink)
Junior Member
Thread Author (OP)
 
digit27's Avatar
 
Join Date: Sep 2012
Posts: 32
 
Device(s): LG-G2X/P999 (Cyanogenmod7/Trinity)
Carrier: Not Provided

Thanks: 3
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by SUroot View Post
Sure.

New Task > Task > Stop > then browse the task you want it to stop.
Will this stop the task if it was currently 'waiting'....what I ended up doing to accomplish this was to add many small 'Waits' with a 'Stop-If' in-between each, instead of one long 'Wait'. If I could stop a 'Wait' task while its running, with another task, then I did a lot of unnecessary copy and pasting lol.

EDIT: I checked it out and this will not work because the 'Stop' command only works on the current task...there is nowhere to browse the task you want it to stop, from what I see.
digit27 is offline  
Last edited by digit27; October 8th, 2012 at 01:09 PM.
Reply With Quote
sponsored links
Old October 8th, 2012, 08:40 PM   #11 (permalink)
Senior Member
 
bberryhill0's Avatar
 
Join Date: Jan 2010
Location: Rhinelander, WI> Wayzata, MN>Sisters, OR
Posts: 2,338
 
Device(s): Q9c, Eris xtrROM 4.6.5, Droid Concepts 11, Incredible 2 EclipticSense
Carrier: Not Provided

Thanks: 777
Thanked 338 Times in 301 Posts
Default

In the Task area tap the magnifying glass.
bberryhill0 is offline  
Reply With Quote
Reply


Go Back   Android Forums > Android Discussion > Android Applications > Tasker
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 05:46 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.