Skip to main content
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/...
Firelord's user avatar
  • 25.3k
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 ...
Noel Yap's user avatar
  • 211
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 ...
Shane S.'s user avatar
  • 161
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 ...
Firelord's user avatar
  • 25.3k
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 ...
SSS's user avatar
  • 499
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 ...
kevinuulong's user avatar
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 ...
beeshyams's user avatar
  • 41.3k
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 ...
Simon's user avatar
  • 31
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 ...
NixillUmbreon's user avatar
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 ...
Ranjit Singh's user avatar
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 ...
beeshyams's user avatar
  • 41.3k
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 ...
xavier_fakerat's user avatar
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 / ...
Carcheky's user avatar
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 ...
5p0ng3b0b's user avatar
  • 144
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/...
Firelord's user avatar
  • 25.3k
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. ...
Ranjit Singh's user avatar
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 ...
Izzy's user avatar
  • 91.3k
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....
King Midas's user avatar
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 ...
Reddy Lutonadio's user avatar
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 ...
Firelord's user avatar
  • 25.3k
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 -> ...
Firelord's user avatar
  • 25.3k
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.
SnY's user avatar
  • 21
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 ...
xavier_fakerat's user avatar
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-...
Alex Baker's user avatar
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 ...
Vojtěch Dohnal's user avatar
1 vote

Dynamic launcher with Tasker?

Sloth Launcher does exactly what you want.
Ryan's user avatar
  • 11
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 ...
R R's user avatar
  • 11
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 ...
Snorre Rubin's user avatar
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.
ballzak's user avatar
  • 494

Only top scored, non community-wiki answers of a minimum length are eligible