10
votes
Accepted
Where is Google's internal account authentication token located?
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/...
6
votes
How to detect locked screen in Tasker?
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 ...
6
votes
How can I emulate pressing another application's Quick Settings tile?
In brief
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 ...
5
votes
Accepted
How to open a file located in a non-sdcard directory in Tasker?
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 ...
4
votes
Accepted
Tasker: If variable - not connected to Wifi
You're going about this the wrong way.
Go to Profiles → (New profile) → State → Net → Wifi Connected. Leave SSID blank and tick "Invert". Link this profile to a task which ...
4
votes
Accepted
How do I use Tasker to download web images and set them as my background?
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 ...
3
votes
Accepted
How to turn off Wi-Fi 15min after it had been turned on?
I am not familiar with Tasker , in Macrodroid another versatile automation app:
Trigger : WiFi state change → connected (choose network)
Actions:
Wait 15 minutes
WiFi configure → disable ...
3
votes
Automatically enable WiFi when you're near a saved network
I had same issue and finally found a link to this project:
https://www.reddit.com/r/tasker/comments/8p0ywt/project_share_switching_to_saved_wifi/
The project itself does a bit more, but shows one way ...
3
votes
How determine if Java object is null or not in Tasker?
There are two ways you can do null checking of Java objects.
The first way, direct from the userguide, is checking of the object Equals null:
If
A Java object can be directly referenced in a ...
2
votes
Accepted
Is it possible to send a text as my un-rooted device is shutting down using Tasker or any other method?
You should use State > Battery Level as a profile context with minimum and maximum battery as 3%.
In the task, You can use %SMSRN to get phone number of last received SMS.
Then to check the ...
2
votes
Detect screenshot being taken and disable specific app
It is possible with Macrodroid automation app (free upto 5 macros) and real easy to learn
I modified a macro to take screenshots on shaking and added your Twilight app
Shaking the device takes ...
2
votes
How to use Tasker to close app on exit
After hours of researching I am pleased to inform you that I have found a way to clear the recent apps lists in Tasker
Prerequisites:
Autoinput plugin
Root
Open tasker and head to Task tab: You can ...
2
votes
Root Terminal command to kill or stop a service?
you can execute: pm disable "packagename" to fully hibernate
apply pm enable "packagename" to enable again
Some info & examples (click images to show larger variant):
In case pm disable / ...
2
votes
How to check if a package is enabled via shell?
There are apps that have similar names, so just a simple grep might be problematic. Take the following apps for instance.
com.amazon.dcp
com.amazon.dcp.contracts.framework.library
If the short one is ...
2
votes
Accepted
How to reset location_provider_allowed
You should be able to change it to blank by executing
settings put secure location_providers_allowed ' '
If that doesn't work, directly modify the file settings_secure.xml located at /data/system/...
2
votes
WhatsApp Intent
There is no intent to change text status directly but you can use a workaround by using Autoinput which is a tasker plugin.
Here is the profile description.
You can download XML for easy import here.
...
2
votes
Accepted
stop a previuos run of a task in tasker
That's what Tasker offers by default: if a task is already running, either the new instance stops immediately (default IIRC) or the already running one gets stopped. Should be in the advanced setting ...
2
votes
How to use Tasker with the new OpenVPN version?
Ok, thanks to this web. Seems that I am right and the configuration has been changed. The new settings for connecting will be:
Send Intent
Action:android.intent.action.MAIN
Cat:None
Extra:de.blinkt....
2
votes
Accepted
Auto start two apps on split screen after reboot
You can accomplish with automation. Using Automate to demonstrate how to do it:
Select the Broadcast Receive block. Click on it, in the Action section, select "Boot completed". Click Done.
Select App ...
2
votes
Accepted
How to change user account with Tasker?
You need root access for this answer to work.
Setup this action in a task:
Code → Run Shell →
Command: am switch-user USER_ID,
tick Use Root
To know the USER_ID of a user account, see ...
2
votes
Accepted
Why can't Tasker manage battery mode on my rooted Pixel?
As it was confirmed in the comments, Tasker was denied superuser access in the Magisk app. Tasker can enable battery saver.
If anyone wants a command-line solution, try this:
Code -> Run Shell -> ...
2
votes
Why can't Tasker manage battery mode on my rooted Pixel?
If you use the Magisk app, add superuser permissions at Menu > Superuser > Tasker = ON.
That worked for me on Resurrection Remix OS with Android 9.
1
vote
Accepted
How to put Android phone into "deep sleep" using Tasker?
Options for "Airplane Mode", "Mobile Data" & "Power Mode" are all
unavailable/ red in Tasker. The phone is not rooted but am I correct
that these aren't available in Android 5.1?
On recent ...
1
vote
How to get tomorrow's date and next week's number for use in Tasker
Given a variable %mytimestamp set to an epoch timestamp you can use this in your shell action:
date -d @%mytimestamp +%Y%m%d
Note the @ before %mytimestamp
$ adb shell
$ date --version
toybox 0.7.4-...
1
vote
Accepted
How to get tomorrow's date and next week's number for use in Tasker
I've figured it out, I had to learn to use Tasker a bit, the solution is a little awkward but it probably should be done this way in Tasker.
The most important variable for such datetime ...
1
vote
1
vote
Unlock PC from Android
This program for Windows does both lock and unlock, allows to adjust the distance (as you requested), notifies your phone if anyone tries to steal your laptop, allows to lock/unlock with your phone ...
1
vote
Sending an intent to tasker, from tasker
I figured it out:
The intent sent needs to be configured like this:
Action: net.dinglish.android.tasker.ACTIION_TASK
Cat: None
Extra:[task name]
Target: Broadcast Receiver
And the Receive intent ...
1
vote
Accepted
Tasker/IFTTT - Dual SIM missed call auto sms respond
Automate has dual SIM support, i.e. Subscription id in the Call incoming and SMS send blocks.
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
tasker × 353automation × 39
applications × 25
wi-fi × 14
intents × 14
bluetooth × 11
sms × 10
notifications × 9
settings × 9
calls × 8
shell × 8
adb × 7
root-access × 7
2.3-gingerbread × 6
profiles × 6
cyanogenmod × 5
whatsapp-messenger × 5
sync × 5
mobile-data × 5
macrodroid × 5
samsung-galaxy-s-3 × 4
4.1-jelly-bean × 4
4.2-jelly-bean × 4
7.0-nougat × 4
vpn × 4