Or probably you can use "Inverted" conditions to do an opposite task?, e.g.
If you want to run a task when WiFi is connected OR when the profile:A is inactive, you can instead setup contexts for "WiFi is disconnected" AND "Profile: A is active" both with "inverted" checkbox selected, and setup a task that does the opposite, if that is possible.
You can add more contexts to existing profile by:
Tap the profile to display the context
Long-press the context
Select Add +
Choose the context you want to add
For example, if you want to have location & time as the contexts:
On Profiles tab, tap + icon and select the first context: Location.
Create or choose the location
Create or choose the task
Have you tried browsing the Tasker's wiki? There are some good pre-made profiles there you can use.
The easy way to block calls with Tasker is described here:
Open Tasker, create a new Profile and name it "Blockr". Select the "State"
context menu and the "Incoming Call" context from that menu. Keep this
screen open and follow the instructions below ...
In Tasker create a new State based context and choose Net as
Then choose Wifi Near as net action:
This will bring a screen where you can input data about the WiFi access point you are interested in. If you are near the desired WiFi access point then you could just press the scan button (the button with lens symbol at left end of the ...
Now with your latest details, a raw approach. As you are on a stock ROM, switching GPS might not work out-of-the-box. In case it doesn't work, take a look at the Secure Settings plugin, which should be able to help out.
I assume your raw concept is: 8am to 5pm is work time, and you want different settings during work hours and after leaving work, considering ...
Accessibility is a category of features which are usually used to assist people who are in some way disabled. For example people who cannot see well can turn on Magnification Gesture to triple tap the screen and it will zoom in on whatever screen you are on. Also it can reverse the dark and light colors to help them see and read text better. Also, there are ...
pm list packages -d 2>/dev/null
will list up all disabled packages, one per line, preceded with the keyword package: – so output looks like
So if you take that output and "grep" it for the package name in question, the package is enabled if the output is "empty" and disabled otherwise. ...
Turn off 3G when I've got WIFI on. I only need the mobile networks for phone calls when I've got wifi so I would prefer not to have 3G on.
3G and mobile data are two separate things. When wifi is enabled, mobile data no longer goes through the cellular connection, but it does remain connected to the 3G network (otherwise it couldn't receive calls or SMS/MMS)...
I know of no way to restrict an app to the 3G network (as opposed to 2G/4G), but there are several solutions to restrict apps to either WiFi or mobile networks (or keep/allow them from/to both). Examples include DroidWall - Android Firewall1 (which you already mentioned, but which is discontinued), its successor AFWall+2, its fork Android Firewall3 (gone), ...
You can specify quite a bit of logic in just the contexts. Having a profile with multiple contexts would be the easiest way to accomplish this. Remember that all contexts have to be met sequentially before the task(s) will fire. Also, the Wifi Connected context will accept multiple SSIDs by using pattern matching. In this case a / equals logical OR. Try the ...
Your suggested approach would have the same result: a few seconds later, the app would be back. Tasker kills it again. Start at the beginning. This vicious circle will certainly help you drain your battery faster -- but nothing else.
Two possible solutions would include either to uninstrall the app, or to disable the "listener" it established to get started ...
Although this question is already answered, and accepted, I would like to add to it.
Sounds like what you want is pure location-based profiles. Tasker is very powerful, but if you are willing to try an alternative, there is Llama. It is roughly the same as tasker, except that almost every action is location-based. It 'learns' a location you want to set up ...
I was in the same boat as you. Wanted tasker, didn't want to root my app.
After downloading it, I did it find it fairly limiting without a root because as Matthew Read said, it basically only allows you to do the things that any other app could do. So unless your requirement are some niche thing that you wanted, there's probably an app that does it for you ...
just posting my solution to this problem if anybody ever comes here:
create a profile for each condition in the or statement
on enter %Reasons += 1
on exit %Reasons -=1
create a profile with condition %Reasons>0 and the required enter and exit tasks
Yes it is possible, but using Tasker's built in Media Control Next will not work.
For the action you need to use Script --> Run Shell, and as the command enter "input keyevent 87" without quotes. This is the Android API:
Strangely, this does not appear to be possible in Tasker, by default. However, I see there is the AutoShortcut app on Google Play which is meant to allow it. Interestingly, Tasker itself will tell you about AutoShortcut (complete with a link to Google Play) if you press the magnifying glass icon when attempting to add a plugin action to a task (I'll update ...
I don't know whether Tasker can meanwhile handle that itself, but it's at least doable with the right plugin. There's e.g. Locale NFC Plugin which could fill this gap. Alternatives exist as well, like a modified version of AnyTag, which is used e.g. in this tutorial.
For more examples, tutorials, and possibilities, I recommend a GoogleFu, ahem, search for "...
The best integrated solution with your Android phone and PC is to use Autoremote and EventGhost. The general idea is that you use AutoRemote to send a message to Eventghost which then unlocks or locks your PC. The task will look something like this:
DEVICE: NAME OF COMPUTER OR CHROME EXTENSION <----Addressed at the end
Toggling the syncing of Gmail for the account is the best option. Turning of Gmail sync on a Google account in Android does not prevent you from fetching mail for that account via a method such as "pull to refresh" when you are viewing that account in the Gmail app.
I use Synker to integrate with Tasker, though I know there are other apps that expose ...
Try the app Quiet for Gmail from here https://play.google.com/store/apps/details?id=com.sgarcia.quiet_for_gmail
It toggles the sync of your email accounts on a schedule you can define. In addition to that, you can also override your schedule for special occasions, like a bank holiday.
GPS is automatically turned-off when not in use by apps. That said, apps can use GPS even if they work in background. So, I guess that your concern should be checking the apps that use GPS in the background, rather than turning it off completely.
I don't know what profiles you've tried, but that's one of Tasker's easiest jobs:
Condition: Time (set start and end time)
Task: Net › WiFi (set "off")
That's it. At "start time" WiFi will be switched off, and and "end time" the setting is reverted to what it was before the condition matched. If you want to be sure that's always "WiFi on", use an exit-...
Yes, if you have root access.
Tasker does not have the developer options built-in as something it can manage.
However, the developer options, like most preferences, are stored in a database behind the scenes. They can be modified via command-line, and Tasker is able to run shell commands. You just need to know what command to run.
Unfortunately, the catch ...
A quite close profile is described at Tasker-Profile (Google-Translate English variant here). I will try to give an abstract here:
Basic Data On/Off
You will need two tasks for this:
enable mobile data:
Net -> Auto Sync (set ON)
Net -> Mobile Data (set ON)
disable mobile data:
Net -> Auto Sync (set ON)
Net -> Mobile Data (set ON)
You may ...
Your restriction (no 3rd party apps) will keep a better fitting answer away, I'd say. What you describe is a task not for Tasker, but for... oh, I shall not mention it you wrote...
Your problem is most likely that Tasker very well catches the boot_completed event, but the apps to kill have been waiting for the same. So when Tasker looks to kill them, they'...
"to turn on automatic updating?"
I highly doubt there is an intent for this - that is a user setting and Android doesn't generally allow apps to change user settings.
I think the best solution is to, first, manually turn on the auto-updates feature of the play store, and set it to wifi only, and second, launch the play store when you connect to the ...
You can use a Variable Split action with a splitter of / to get the pieces, then use %VAR(<) to get the filename. If the fact that the full filename is in an array already gives you problems, copy the array element into a non-array variable first.
From your comments, it sounds like you have this code:
List files Dir /storage/Tasker/project/test/ ...