• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Tasker - need help!

debitel

Lurker
Dec 10, 2010
4
0
Hi all,

I find tasker the best, but I do have a simple problem. If anyone can help me please:

I would like tasker to tun on wifi when an app is started. This is simple.

But I want tasker to keep wifi on for another 30 sec., when I exit the app, because I might enter another one that needs wifi.

For example when switching from market to internet it turns off my wifi in between.

So far I have profile:

Wifi
applications(market,internet) Enter task: wifi on

Exit task?
Wifi off just turns it off.

Thanks.
 
If you have a single profile with all the desired apps selected in the Application context, you can handle this in the exit task. Let's assume that your profile is named "WifiApps", and that you want Wifi on for Market, Browser and Gmail.

Profile: WifiApps
Context: Application Market, Browser, Gmail
Enter Task:
Wifi On
Exit Task:
Wait 30 seconds
Wifi Off If %PACTIVE% Doesn't Match ,WifiApps,

This will turn on Wifi whenever Market, Browser or Gmail are in the foreground. When the profile exits, the exit task will wait 30 seconds, and then turn Wifi off only if the profile is not active. So if the profile becomes active within that 30 second window, Wifi won't be turned off.
 
Upvote 0
If you have a single profile with all the desired apps selected in the Application context, you can handle this in the exit task. Let's assume that your profile is named "WifiApps", and that you want Wifi on for Market, Browser and Gmail.

Profile: WifiApps
Context: Application Market, Browser, Gmail
Enter Task:
Wifi On
Exit Task:
Wait 30 seconds
Wifi Off If %PACTIVE% Doesn't Match ,WifiApps,

This will turn on Wifi whenever Market, Browser or Gmail are in the foreground. When the profile exits, the exit task will wait 30 seconds, and then turn Wifi off only if the profile is not active. So if the profile becomes active within that 30 second window, Wifi won't be turned off.

Hi,

Thanks for the tip but it doesn't work. It stops wifi anyway.
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones