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
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 ...
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.
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
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 ...
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 ...
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 ...
Create a profile Screen Locked triggered on the event Display Off and calling a task that sets a variable %SCREEN_LOCKED to true iff %SCREEN is off.
Create another profile Screen Unlocked triggered on the event Display Unlocked and calling a task that sets that variable to false.
If you'd like for a profile to be triggered (or not) if the screen is locked:
The one you want is Event->Phone Ringing. The State->Phone Call would not activate until you've answered the call. Event Profiles activate and deactivate rather quickly so you probably wouldn't see it if you were trying to watch for the green active color. However, you mentioned that it did not even set a variable through a test task. Were you using a ...
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 ...
For Android 4.3 and above, I would recommend using Auto-Input by joaomgcd.
It allows you to
create a series of input actions, including physical button presses
and various taps and swipes, to emulate some sort of macro sequence
that can be executed inside any app of your choosing. And if you
happen to be rooted, AutoInput has a Root feature that ...
You can use an NFC phone to unlock your PC from the LAN, aka scan an NFC tag and login to Windows. On your Android phone, install the following software: NFC Tools, NFC Tasks, Tasker, Unified Remote (all from the play store). On your PC, install Unified Remote server.
Configure Unified Remote app on your phone to connect to your pc, communication should set ...