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

Tasker - need help!

debitel

Lurker
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.
 
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.
 
Ok,

got it somehow.

Enter task: set variable %NAME to 1
turn on wifi
Exit task:
clera variable NAME
waitt 30s
turn off
if NAME (doesn't match) 1

That is is.
 
Ok,

got it somehow.

Enter task: set variable %NAME to 1
turn on wifi
Exit task:
clera variable NAME
waitt 30s
turn off
if NAME (doesn't match) 1

That is is.

How did you add the 30 second delay highlighted..what menu options did you choose?
 
Ok found it. How would you add the condition to the above:
if wifi is not connected after 10 secs, turn on 3g/mobile internet instead, and turn off wifi.

Thanks
 
Back
Top Bottom