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
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 ...
The authentication token for Google accounts and of other accounts which uses AccountManager class are stored inside:
/data/system/users/0/accounts.db # for Android Marshmallow and earlier
/data/system_ce/0/accounts_ce.db # for Android Nougat and above.
0 implies primary user of the device. If you have secondary user accounts, replace 0 with the user ...
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 ...
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 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:
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
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.
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 ...
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/ ...
After you start the recording which you've already figured out, but for others I'll list it below, you add a Wait action for the specified amount of time, then add an action to stop recording.
In your task, choose Plugin->Easy Voice Recorder and configure it to Record. For the second action, choose Task->Wait and configure it for 10 hours. For the final ...
You first have to convert both dates to seconds using Variable Convert. Then subtract those two values to get the number of seconds between the two dates and convert that value to the number of days by /24/60/60 (hours/minutes/seconds).
Here is a sample task that illustrates using 08-01-2014 as %startdate and today (%DATE) which is 08-23-2014 as %today. ...
A credible source: AndroidPolice
Google brought in an option (by default enabled!), which is a checkbox reading "Scanning always available" in WiFi -> Advanced.
The general purpose: "To improve location accuracy and for other purposes, Google and other apps may scan for nearby networks, even when Wi-Fi is off."
To improve location accuracy
Here is a fairly simple solution that does not require the use of a variable.
You will need to set up two additional profiles and also ensure that you name the profile you created to trigger on your shake context. To name your existing profile, if you haven't already, long press on the profile and then touch the A on the top bar to name it - let's use '...