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. ...
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-...
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.
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 ...
Automating an already visible Quick Settings tile
# Click on a TileService of the specified component
cmd statusbar click-tile com.package.name/.service.QuickSettingsTileComponent
# You may need to expand the status bar to show the quick settings
# before it'll apply. Not sure why.
cmd statusbar expand-settings
sleep 0.25 # 250 ms or shorter may ...
It might be useful to check the android source to find the exact package name to the system settings, specifically this source responsible for date/time, line 226 is the key!
Have played with tasker before, but can tasker directly modify system properties? as in directly do this, I am quoting line 228 the pertinent part:
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 '...
Disabling a profile constitutes as an action so you need to do something in a task only. Tasker supports toggling the status of profiles from a task.
Create a new task and use this action: Tasker → Profile Status
Name: name of the profile to be toggled
When would you or how would you like to run this task is upon you to decide. ...
It doesn't work because you designed the action not to do anything but let Android disturb you, as usual. Here's what each entry corresponds to under Audio → Do Not Disturb:
None: silences all sounds, including alarms - Total Silence
Priority: silences sounds except for certain calls or notifications - Priority Only
All: this effectively ends Do Not ...
I just messed around with Tasker a little more and found an answer. For anyone who is curious here it is.
1. Create a new profile set to every 24 hours.
2. Add a new action
3. Search for and select HTTP Get
4. Set the Server:Port to https://source.unsplash.com/2560x1440/?nature/
5. Set the Mime Type to image/*
6. Set the Output File to unsplash.jpg
The inbuilt Open File action doesn't seem to work for non-/storage file paths because it is hardcoded (I presumed from its error logs) to only load a file located under /storage/emulated/0. Even if you mention the absolute location using file://, it would still append /storage/emulated/0 to the file path and throw an error.
Because Open File action simply ...
You can specify AND logic in contexts, not just tasks. Don't forget that you can have multiple contexts that must all be met (logical AND) before the task(s) run. Try adding the context State > Call [Any, Invert = YES]; this would mean the profile will only activate 1) when a text is received AND 2) no call is active.
The link says how to get tasker to make spotify play:
Getting Spotify to play.
Click the “+” icon at the bottom.
Select the “System” category.
Select “Sent Intent”
Set these fields:
Target: Broadcast Reciever
From spotify's Manifest.xml I ...