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

Launch app if wifi on.

Belovian

Lurker
Hi all, I'm new to android and tasker, and have what seems like a fairly simple request. I've set up a couple profiles so far and have another I'd like. I want to launch songza when I plug in my headphones, but only if wifi is working. Otherwise do nothing. Now the launching Songza when headphones in is fine it's the wifi part I'm struggling with.


Thanks for the help.


Jess
 
Create a 2nd context for Wifi on in your profile. Specifically:
long-press on your first context.
Select Add
Select State
Variable
Variable Value
Wifi Status (%Wifi)
*on*

Or else use and If statement in your task.
If Wifi ~ *on*
do your stuff
End if

What problems are you having.
 
Thanks!! I guess the and if part wasn't working because of a lack of caps!! thanks again :)


jess

P.S. The exit task part still seems not to work I would like it to kill the app so:

I set exit task
Kill app
and if
%WIFI ~ ???


Thanks again
 
Why do you need "and if" in the exit task?

The exit task only runs when the profile's contexts are no longer met.
 
Back
Top Bottom