Can I set Tasker to kill an app when WiFi is off? - Android Q&A, Help & Troubleshooting

What I'm trying to do is call-forward my number to Dell VOIP when connected to WiFI, but I want to kill the Dell Voice app when I'm not connected to wifi because it's a battery drainer. So far I have everything setup so that when I'm on WiFi, all calls get routed through WiFi into the Dell Voice app.. what I cannot figure out how to do is kill the app once I disconnect from WiFI. I tried searching but couldn't find an answer. Sorry if this is in the wrong section.. not sure which section to post in

Any help here ??

SGS2X said:
What I'm trying to do is call-forward my number to Dell VOIP when connected to WiFI, but I want to kill the Dell Voice app when I'm not connected to wifi because it's a battery drainer. So far I have everything setup so that when I'm on WiFi, all calls get routed through WiFi into the Dell Voice app.. what I cannot figure out how to do is kill the app once I disconnect from WiFI. I tried searching but couldn't find an answer. Sorry if this is in the wrong section.. not sure which section to post in
Click to expand...
Click to collapse
You can add an exit task that will kill the app, or do the following (step by step guide)....
Create new task, click state, click net
click mobile network
Tick the mobile data network type your phone uses when not on wifi (3g and 3g hspa are most common)
Click the tick and then click new task.
Name the task and click the tick
Click the blue + button and then click app
Click kill app, click on the name of the app to kill when wifi goes off, then click tick buttons til returned to main tasker screen.
This will kill that app whenever you connect to mobile data instead of wifi, your phone switches to data when wifi is off so it will kill your app when not on wifi.
You could improve the task but if you have a data connection this will do the job.
Dave
( http://www.google.com/producer/editions/CAownKXmAQ/bigfatuniverse )
Sent from my LG P920 using Tapatalk 2

Related

[ISSUE] How to prefer Wi-Fi to 3G

I have a HTC Fuze. The last few ROMS that i have been using (Energy, RRE, Tael), all the Apps always use the 3G internet to do their work even if a much faster Wifi is connected. Is there any way to make all apps(including things like email) globally prefer the Wifi when available? Also I dont want to have to keep changing settings to do this, It simply needs to be "If Wifi available use it, else use 3G"
Thanks in advance.
What i did was to go to start>settings>connections>advanced>select networks and change the default connection to the internet to "My work network", rather than my 3G network. This way, if theres any connection to the internet needed, my phone will use my wifi connection. The problem with this, however, is that when you dont have a wifi connection available, the phone will not connect to the internet unless you change the above setting back to your 3G network. If anyone knows a better way, please let us know
no i cant keep switching. thats too much trouble. there must be a better way.
redskilldough said:
What i did was to go to start>settings>connections>advanced>select networks and change the default connection to the internet to "My work network", rather than my 3G network. This way, if theres any connection to the internet needed, my phone will use my wifi connection. The problem with this, however, is that when you dont have a wifi connection available, the phone will not connect to the internet unless you change the above setting back to your 3G network...
Click to expand...
Click to collapse
Does it automatically connect to WiFi when a known network is within range even when the phone is in sleep? If yes, does it disconnect once not in use for a while?
k.electron said:
no i cant keep switching. thats too much trouble. there must be a better way.
Click to expand...
Click to collapse
As far as I know there is no way to do it automatically. You can use one or the other but they must be switched manually. All HTC phones have always worked this way. Maybe if the demand was high enough which apparently it is not a Chef could come up with an app that would do it. But for now you must do it manually.
rexian said:
Does it automatically connect to WiFi when a known network is within range even when the phone is in sleep? If yes, does it disconnect once not in use for a while?
Click to expand...
Click to collapse
no i leave wifi off normally to conserve battery.
Solarenemy68 said:
As far as I know there is no way to do it automatically. You can use one or the other but they must be switched manually. All HTC phones have always worked this way. Maybe if the demand was high enough which apparently it is not a Chef could come up with an app that would do it. But for now you must do it manually.
Click to expand...
Click to collapse
that is extremely failurous. not preferring the fastest internet connection is major fail. did not know that.
My phone does this automatically. It uses the WiFi whenever it's on. If the WiFi is off, it uses the data connection.
Maybe I'm understanding it wrong?
|Jason8| said:
My phone does this automatically. It uses the WiFi whenever it's on. If the WiFi is off, it uses the data connection.
Maybe I'm understanding it wrong?
Click to expand...
Click to collapse
what the heck? how? u must help me find out..
i think it does prefer wifi over 3g in WM 6.5...!!
to check it out here is wt i've done....turn data connection off...check that its on in the notification manager "when u click on the task bar"..then run any app that needs internet " opera, msn messenger, email...etc" while this app is online..
now there r two ways to check it
1-the notification manager & see if it turned to 3g data connection...if so u should find a timer running in ur service provider section, if not then its only using wifi
2-check the communication manager & see if it turned the data connection on, if its off then its using wifi...
thats how it is with my touch pro...i'm using energy rom nov. 08 build
Indeed it prefers wifi connections 2 data, but You have to :
1. Have Known wifi spots in range
2. Keep wifi connection on, while in stand by
Keep in mind that if a program starts to use the data connection it wont change to use the wifi one. So firstly connect and then open programs.
wakady said:
i think it does prefer wifi over 3g in WM 6.5...!!
to check it out here is wt i've done....turn data connection off...check that its on in the notification manager "when u click on the task bar"..then run any app that needs internet " opera, msn messenger, email...etc" while this app is online..
now there r two ways to check it
1-the notification manager & see if it turned to 3g data connection...if so u should find a timer running in ur service provider section, if not then its only using wifi
2-check the communication manager & see if it turned the data connection on, if its off then its using wifi...
thats how it is with my touch pro...i'm using energy rom nov. 08 build
Click to expand...
Click to collapse
firiel said:
Indeed it prefers wifi connections 2 data, but You have to :
1. Have Known wifi spots in range
2. Keep wifi connection on, while in stand by
Keep in mind that if a program starts to use the data connection it wont change to use the wifi one. So firstly connect and then open programs.
Click to expand...
Click to collapse
apparently its some sort of combo of this. i am using 6.5. any apps that have been using 3g continue with it. and i have to go to the comm screen and turn off data to force new apps to consume wifi. which isnt too bad, certainly not as bad as going to the network options. i would wish they made this a bit more seamless like with the desktop technology, i can switch from wired to wireless lan without even dropping a skype call.
firiel said:
Indeed it prefers wifi connections 2 data, but You have to :
1. Have Known wifi spots in range
2. Keep wifi connection on, while in stand by
Keep in mind that if a program starts to use the data connection it wont change to use the wifi one. So firstly connect and then open programs.
Click to expand...
Click to collapse
now i have discovered a new problem. even if i open the app after i have wifi turned on and data turned off, some apps just dont want to use the wifii.
Bing maps and google maps for example just tell me there is no internet.
this is really pissing me off, whats the point of having wifi on a phone if the apps wont use it. i dont really care about the google location service if the data is through the internet, but atleast turn on.
lame.

[Q] Monitor Internet Usage

Is there some application that can monitor internet usage by application? I know 3G Watchdog does the job, but it only shows the global consumption and I want to see which apps are using my internet because sometimes I can see my internet being used but I don't know which app is using it.
Also can someone tell me how I can deactivate it and turn it on until I need it.
Thanks!!
Have a look at Call meter NG...
http://www.androlib.com/android.application.ub0r-android-callmeterng-Fpn.aspx
3g watchdog
Sent from my X10i using XDA App
johndub71 said:
3g watchdog
Sent from my X10i using XDA App
Click to expand...
Click to collapse
nice post...
Call Meter NG doesn't do the trick either
@OP If you find software that does that please let me know, coz that would be pretty awesome, using watchdog at the moment but dunno where the data is going.
hramos20 said:
Also can someone tell me how I can deactivate it and turn it on until I need it.
Click to expand...
Click to collapse
Settings - Wireless Controls - Mobile Networks - MMS & Data to turn it on and off.
Netcounter
http://www.jaqpot.net/netcounter/
senthilanandhpv said:
Netcounter
http://www.jaqpot.net/netcounter/
Click to expand...
Click to collapse
This is the same as 3G Wathdog, just shows the total usage. I want one where you can see Internet usage by application.
Does 3g watchdog count gps with it
Sent from my X10a using XDA App
egyptshun said:
Does 3g watchdog count gps with it
Sent from my X10a using XDA App
Click to expand...
Click to collapse
Count what about GPS exactly?
Sent from my X10a using Tapatalk
GPS is never counted as data usage, it uses signal from GPS satellites, not the internet connection. However, if you are using Google Maps, the internet connection is used to download the maps.
3GW has not yet the capability of counting usage per application, but a "pro" version will in the near future, only for phones under Android 2.2+ because it's not technically feasible AFAIK with older versions of the OS.
Hey guys,
I really need per app counter especially now for my X10.
I have only a 200mb plan, but I don't ever do anything else on the internet except use Google Voice app to text(since I tend to text a bunch).
Anyways, first month that I had the phone my traffic got up to about 120mb, but that was because I browsed web etc (you know.. got a new toy and started to play with it type of thing), but after this month I installed counter and monitor it from AT&T's website too, and half-way through the month traffic got up to 140mb!
Now I have disabled background data once I noticed that, now I have enabled it but uninstalled Google Voice app, and gonna have to go without it for few days (which isn't that great) and see if it's it that's causing the problem.
The thing is that I need the app one way or the other, and second is that I want to know for sure what EXACTLY is using my traffic.
Any advice is welcome.
reply
LAN Spy Monitor is excellent all-in-one Internet usage monitoring software, it works very well.

Smart Action App - Post Em Here

Ok so I think the Smart Action app is pretty cool so let's post our Triggers & Actions here
One of mine here:
Trigger:
Wi Fi Connection: mine
Action:
Mobile Data = Disable
Ringer Volume = 6%
Brightness = 0%
Post yours
Sent from my XT910 using xda premium
Thanks for the idea going by WiFi (or Bluetooth) connection. I was using local, which isn't too accurate.
using it to turn off GPS and mobile data at home and at work now.
Will use it to turn off WiFi and turn on mobile data when connecting to the car's bluetooth to listen to some MotoCast music streamed from my home server.
ianford10 said:
Ok so I think the Smart Action app is pretty cool so let's post our Triggers & Actions here
One of mine here:
Trigger:
Wi Fi Connection: mine
Action:
Mobile Data = Disable
Ringer Volume = 6%
Brightness = 0%
Post yours
Sent from my XT910 using xda premium
Click to expand...
Click to collapse
pOOBAH1973 said:
Thanks for the idea going by WiFi (or Bluetooth) connection. I was using local, which isn't too accurate.
using it to turn off GPS and mobile data at home and at work now.
Will use it to turn off WiFi and turn on mobile data when connecting to the car's bluetooth to listen to some MotoCast music streamed from my home server.
Click to expand...
Click to collapse
This is the reason for this post, can be useful and we can share the battery saving tips here.
Glad you found Wi Fi tip a good one
Sent from my XT910 using xda premium
I'm waiting for my RAZR to arrive, but I use Tasker on my current phone and these are some of my settings... not sure if they will translate to Smart Actions or not yet.
turn on GPS when Google Maps or Navigation is on - turn off when closed
will have it turn from 3g to 4g when surfing the net (hopefully)
launch pandora when blutooth headset is connected
turn off wifi when connected to car blutooth - turn on wifi and turn off bt when disconnected from car (plus some brightness and volume settings)
Auto respond to texts while I'm connected to car bt that I'll respond later
And as was mentioned when I'm at work I have it turn off syncing and data when connected to wifi at work.
Ok, so had a bit of a read and play with Smart Actions. A few ommisions or design choices that to me, make a few basic things difficult to accomplish..
1) When at home switch WiFi on, GPS off, Bluetooth off, 3G radio off
2) When leaving/away from home, switch WiFi Off, 3G radio on etc.
Quite a simple requirement but not sure how it can be accomplished with the current design restrictions. Due to location based triggers only working off WiFi (not even Cell tower coarse location), it means that you can't use a combination of GPS and WiFi to fire triggers and turn each other off as and when for example
e.g. At home with WiFi on.. leave home, go out of WiFi range so turn GPS on.. arrive at destination (e.g. work) which is determined by GPS at this point, so turn that off on "arrival" and fire up WiFi. To do this, I think you would need a "NOT" feature that could be applied to triggers.. Of course, if you have a regular routine this can be more easily accomplished with Time based triggers, but not everyone keeps a schedule..
On a side note, given that when you enable and make a valid WiFi connection on a phone, any data traffic uses that connection as it superceeds any 3/4G connection.. am I right in thinking that the 3/4G radio is still enabled even if its not doing any data transfers in this case?
As you can only determine location via WiFi at the moment, it means that has to be on all the time (not ideal, but better than GPS being on all the time no?)
I'm confused???
So if you turn off the 3G radio at home, doesn't that prevent you from receiving calls? Or text?
Thanks,
Razr John
Just data over 3/4G. Calls and SMS are unaffected.
On a different note, small update on the stability of Smart Actions (for me).. after a reboot, one of my Smart Actions that was only due to start on Tuesdays and Thursdays was running.. my "Default" action and my "Home" action which should have been running, weren't.. had to disable the Tues/Thurs Smart Action before the others would restart and then I could re-enable it (after which point it went back to "ready" not active)
Might be worth keeping any eye on those..
I use juice defender to toggle wifi on for one minute automatically every time I unlock the phone. That way if I am home, smart actions picks this up and registers me home. If I'm not home juice defender turns it back off a minute later.
Another major omission, is the absence of a dock trigger. So that when I get in my car, I can disable wi-fi, enable bluetooth, enable gps. I don't use Bluetooth outside of the car so I don't need it on otherwise.
Sent from my DROID RAZR using XDA App
djamloops said:
Another major omission, is the absence of a dock trigger. So that when I get in my car, I can disable wi-fi, enable bluetooth, enable gps. I don't use Bluetooth outside of the car so I don't need it on otherwise.
Sent from my DROID RAZR using XDA App
Click to expand...
Click to collapse
You could set the trigger to charging > usb
But then would enable all your requirements when connected to pc, unless of course you set another trigger to connected to wifi disable bluetooth
Sent from my XT910 using xda premium
ianford10 said:
You could set the trigger to charging > usb
But then would enable all your requirements when connected to pc, unless of course you set another trigger to connected to wifi disable bluetooth
Sent from my XT910 using xda premium
Click to expand...
Click to collapse
That would be fine if the car charger recognized as USB. But its not like the capability isn't there. Motorola's car finder app triggers based on whether the phone is inserted or removed from the dock.
Sent from my DROID RAZR using XDA App
djamloops said:
That would be fine if the car charger recognized as USB. But its not like the capability isn't there. Motorola's car finder app triggers based on whether the phone is inserted or removed from the dock.
Sent from my DROID RAZR using XDA App
Click to expand...
Click to collapse
Yes but if its in the dock wont it be classed as usb rather than a wall charger?
Sent from my XT910 using xda premium
No sir. Its still wall charger. It only registers usb if its plugged into something that requests usb functionality like mass storage or sync.
Sent from my DROID RAZR using XDA App
djamloops said:
No sir. Its still wall charger. It only registers usb if its plugged into something that requests usb functionality like mass storage or sync.
Sent from my DROID RAZR using XDA App
Click to expand...
Click to collapse
Ok so set the trigger as charging > charger, enable all the things you want.
Then another new rule with 2 triggers, wifi > yours, charging > any, disable bluetooth and whatever else
These are just ideas, sure I read also that the rule created first will win in a conflict so might be worth creating the rule with 2 triggers first.
Sent from my XT910 using xda premium
Can you set triggers when launching applications?
stevessvt said:
I use juice defender to toggle wifi on for one minute automatically every time I unlock the phone. That way if I am home, smart actions picks this up and registers me home. If I'm not home juice defender turns it back off a minute later.
Click to expand...
Click to collapse
Yep, though I've found quite a few freebie apps that do the just that one feature.. Should work nicely in conjunction with the existing smart actions
for example "Wifi Auto Toggle"
https://market.android.com/details?id=com.andappfun.android.wifiautotoggle&feature=also_installed#?t=W251bGwsMSwxLDEwNCwiY29tLmFuZGFwcGZ1bi5hbmRyb2lkLndpZmlhdXRvdG9nZ2xlIl0.
Also, the Timeframe based triggers are DEFINITELY buggy... I had a timeframe set for Tues & Thurs only (0700 - 1800).. yet this morning (Friday) they kicked in. Checked my phone datetime and its definitely got the correct date set. I know its only v1.0 of the app for want of a better phrase, but with a few fixes AND Cell Tower based location for WiFi toggling built in, it could be really cool!
Trigger on Calendar Events
Hi - My current phone is dying a slow death and I'm looking at this phone to replace it later today or tomorrow. What I'd like to know about Smart Actions is this:
Can I set a trigger based on a calendar event? In other words, when I show to be in a meeting or busy, can I set the wifi off and the ringer off? As an example, that would be a basic event.
Thanks
OracleBlue said:
Hi - My current phone is dying a slow death and I'm looking at this phone to replace it later today or tomorrow. What I'd like to know about Smart Actions is this:
Can I set a trigger based on a calendar event? In other words, when I show to be in a meeting or busy, can I set the wifi off and the ringer off? As an example, that would be a basic event.
Thanks
Click to expand...
Click to collapse
The answer is no, the app is not that granular at present although I do see them adding more and more options to it in the future
Sent from my XT910 using xda premium
djamloops said:
That would be fine if the car charger recognized as USB. But its not like the capability isn't there. Motorola's car finder app triggers based on whether the phone is inserted or removed from the dock.
Click to expand...
Click to collapse
I agree. It's pretty stupid I can't trigger and event based on if it's in the desktop dock or the car dock. And no triggering when something is charging is not the same. I only need bluetooth when I'm in my car not when I'm at my desk. I don't need wifi in the car dock but do need it at my desk, etc, etc, etc.
I think it's a nice addition to the phone, but it is lacking some important options which will hopefully updated in future updates. I'm sticking with Tasker since I already paid for it.

4G stays on when connected to WiFi?

Why does the 4G stay on when connected to WiFi, it does not seem to be using any data but wouldn't it save battery if it turned the 4G off when not in use? I used to have sprint and mobile data always automatically turned off when on WiFi, this is my first verizon phone, is this normal on all verizon devices?
mcerk02 said:
Why does the 4G stay on when connected to WiFi, it does not seem to be using any data but wouldn't it save battery if it turned the 4G off when not in use? I used to have sprint and mobile data always automatically turned off when on WiFi, this is my first verizon phone, is this normal on all verizon devices?
Click to expand...
Click to collapse
As long as the 4G icon is greyed out it's disconnected. It's just in a ready state in case of sending or receiving mms when it will turn white with activity arrows
Hello, This is a problem on many devices. The best way to fix it is too go to Settings, Wireless Settings, Mobile Settings and then turn off your data.
MegaSam100 said:
Hello, This is a problem on many devices. The best way to fix it is too go to Settings, Wireless Settings, Mobile Settings and then turn off your data.
Click to expand...
Click to collapse
yes, I realize I can do that im not gonna worry about turning it on and off every time, it dont seem to be using any mobile data but I was looking at it as a battery drain...same reason I dont keep bluetooth on when not in use
MegaSam100 said:
Hello, This is a problem on many devices. The best way to fix it is too go to Settings, Wireless Settings, Mobile Settings and then turn off your data.
Click to expand...
Click to collapse
If you turn data off you will not be able to receive or send mms. Best to leave it alone. I use g3 teeakbox to hide it when on Wi-Fi
For phone calls and text messages. Data will go through wifi.
mcerk02 said:
yes, I realize I can do that im not gonna worry about turning it on and off every time, it dont seem to be using any mobile data but I was looking at it as a battery drain...same reason I dont keep bluetooth on when not in use
Click to expand...
Click to collapse
I hear you - if the 4g radio is on it is theoretically eating your battery; although it may be negligible with the power saving built into the phone. If you want 4g/data completely off while on WiFi you can download a tasker app from the play store and set it up to automatically switch off data when WiFi is connected & vice versa; it's been working well for me. You'll lose stock MMS if data is turned off though, so consider that before you use a tasker. You can always grab a 3rd party messaging app for MMS if you need it, and they will work because they are only over WiFi.
But if it is just an aesthetic thing, as mentioned in a post above, you can hide the icon using g3 tweaks.
The only difference is that these phones show you what mobile data connection you have. On T-Mobile, you may have a phone that only shows the bars when on WiFi, but it's still connected, just look at an app like Signal Check Pro.
This is not eating your battery, it's not being used, it simply tells you what connection is idle for when you are no longer using WiFi.

WiFi Disconnect

I am currently connected to WiFi via SSID. How do I disconnect that current connection?
You should be able to see the list of remembered networks in Settings->Wifi Settings on the watch. Scroll down the list and the option should pop up.
neezy13 said:
You should be able to see the list of remembered networks in Settings->Wifi Settings on the watch. Scroll down the list and the option should pop up.
Click to expand...
Click to collapse
Thanks for the reply, but I did not want to change the settings but wanted remove a WiFi connection.
Since I am on BL, can not find a benefit for having it. Do not want it just seeking other WiFi signals.
cyaclone said:
Thanks for the reply, but I did not want to change the settings but wanted remove a WiFi connection.
Since I am on BL, can not find a benefit for having it. Do not want it just seeking other WiFi signals.
Click to expand...
Click to collapse
Turning off Cloud Sync in the Android Wear app will disable the wifi connection.
Sent from my SAMSUNG-SM-G935A using Tapatalk
Just found in the settings a On or OFF mode. That was simple.

Categories

Resources