1. Check out our companion app, Forums for Android! Download from Google Play

Kill an active task?

Discussion in 'Android Apps & Games' started by digit27, Sep 25, 2012.

  1. digit27

    digit27 Active Member
    Thread Starter
    15

    Sep 23, 2012
    32
    0
    15
    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?
     

    Advertisement

  2. erda0

    erda0 Member
    15

    Oct 4, 2012
    21
    0
    15
    I don't think it's can be done with Tasker.
    but I know that "Autorun manager" app can do it.
     
  3. SUroot

    SUroot Well-Known Member
    1,123

    May 25, 2010
    23,925
    5,304
    1,123
    UK Technical Lead; Desktop Support
    Riddlesden, West Yorkshire, UK
    Sure.

    New Task > Task > Stop > then browse the task you want it to stop.
     
  4. gkf9

    gkf9 Well-Known Member
    16

    Aug 2, 2012
    48
    3
    16
    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.
     
  5. D-U-R-X

    D-U-R-X turbo drinker
    1,343

    Apr 20, 2011
    16,881
    7,193
    1,343
    Work to live, not the other way round!!
    Sheffield, South Yorkshire
    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?
     
  6. SUroot

    SUroot Well-Known Member
    1,123

    May 25, 2010
    23,925
    5,304
    1,123
    UK Technical Lead; Desktop Support
    Riddlesden, West Yorkshire, UK
    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
     
    bberryhill0 and D-U-R-X like this.
  7. I'm feeling dense. How do you add an exit task?
     
  8. davoid

    davoid Well-Known Member
    223

    Aug 3, 2011
    1,801
    710
    223
    London
    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.
     
    bberryhill0 likes this.
  9. SUroot

    SUroot Well-Known Member
    1,123

    May 25, 2010
    23,925
    5,304
    1,123
    UK Technical Lead; Desktop Support
    Riddlesden, West Yorkshire, UK
    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.
     
    bberryhill0 likes this.
  10. digit27

    digit27 Active Member
    Thread Starter
    15

    Sep 23, 2012
    32
    0
    15
    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.
     
  11. In the Task area tap the magnifying glass.
     

Share This Page

Loading...