10 votes

How to get current (foreground) activity name?

Using apps: Current Activity and some similar apps will display the info in the form of floating texts above the screen content. Using adb (from your PC): dumpsys window windows | grep -E '...
Andy Yan's user avatar
  • 9,524
8 votes
Accepted

Disable notifications per app and time frame

In Settings open Notifications (under Device heading) ➡ Do not disturb ➡ Automatic rules ➡ + Add rule ➡ Type [Rule name], select [Time rule] or [Event rule], select OK ➡ select options for the new ...
SoccerPhreak's user avatar
8 votes
Accepted

Is there a way/app to automatically change DNS server based on connection?

The solution below will set Private DNS to "Automatic" on SSID: 'SSID-1' and 'SSID-2' Everything else will set Private DNS to your entered Private DNS hostname in settings. Install Tasker. ...
droidgren's user avatar
  • 286
7 votes

How to automatically repeatedly dial a number and automatically press numbers each time?

There's an app called Auto Redial that you can configure to keep calling the same number over and over. I configured it like this: (click screenshot to enlarge) Note that I added ,1,1 after the ...
Fiksdal's user avatar
  • 1,211
6 votes

How to start application automatically when bluetooth device is connected?

For such automation purposes, you can use any one of the following- IFTTT (if this happens then do this) Automate Tasker (paid app) Takser is somewhat difficult to use and paid app so I will ...
Deepak Gangwar's user avatar
5 votes
Accepted

How to clear a Folder (e.g. Downloads) automatically on a regular/scheduled basis?

MacroDroid (free up to five macros) can do the job. The macro would be: Trigger: Day/Time Trigger → select all the days and choose the time for trigger activation Action: File Operation → ...
Firelord's user avatar
  • 24.9k
5 votes

How to start application automatically when bluetooth device is connected?

For LG phones specifically you can use Smart Settings to automatically open apps when a specific Bluetooth device is connected, among other things. To get to the Smart Settings, go to the Settings ...
Alex Knight's user avatar
5 votes

"Allow USB debugging" keeps on popping up

Change the USB cable My proposed solution is not general, but may work in in some special cases. Here is my story: Once I used an old USB cable for connecting my 10 smartphones to my computer. It ...
jonathanzh's user avatar
5 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
  • 151
4 votes
Accepted

Trigger actions on notification received with IFTTT

You can use the Android Device IFTTT service: https://ifttt.com/android_device It has "Notification received from specific app" trigger where you can filter the Notification by app name and ...
Shumoapp's user avatar
  • 166
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

App that would open a url based on the current date in a browser

With Tasker this is very easy. Setup a task like this: Code → Run Shell: Command: date +"%Y%m%d" Store Output In: %date App → Launch App → select your browser app: Data: static ...
Firelord's user avatar
  • 24.9k
4 votes

How do I invert colours inside a specific app?

For me Tasker did the job, but you need an additional Tasker plug in for this, called AutoTools. On my bq android device root wasn't needed to do the job. I set up a profile to invert the screen when ...
Anja's user avatar
  • 41
3 votes

Disable notifications per app and time frame

This can be done quite easily via Tasker but requires root. Create a profile using the 'Day' and 'Time' triggers Create a task which turns off notifications for XXX app via Secure Settings (Create ...
Michelfrancis Bustillos's user avatar
3 votes

Is there a way to automatically turn off the wireless hotspot once I get back home?

Other than MacroDroid which is already covered by 3DDario here, you can consider any of the following apps -- none requires root for the goal. Tasker (paid; 7 day free trial). Profile: Any of the ...
Firelord's user avatar
  • 24.9k
3 votes

Automatically switch to a saved wireless access point with the strongest signal

Most Android devices removed the auto-switch feature for APs having the same SSID because it is an Apple patent.
Aero Windwalker's user avatar
3 votes

Is there a way to automatically put my Android phone into silent mode while recharging?

I used to have the same boring procedure every night. Plug in the power cable to recharge the phone and turn sounds off manually. So I decided to create an app to automate this procedure. With this ...
Nick's user avatar
  • 31
3 votes

How to turn off ringer when connected to particular wifi network

User rules in Android 11 - System, Rules.
PLA's user avatar
  • 159
3 votes

Disable notifications per app and time frame

I have had the same problem for quite some time. I have just developed an app that allows you to cancel notifications from specific applications on the day and time you want. Also, you can set a ...
user61926's user avatar
  • 131
3 votes

Custom ring tone for callers who block their caller ID?

Automation is the preferred option. Many apps are available. I prefer using MacroDroid , since it is free (upto 5 macros) and easy to learn. To understand how MacroDroid works and required settings, ...
beeshyams's user avatar
  • 40.3k
3 votes
Accepted

Sync ext SD to USB OTG **without** using a PC

As we figured out the solution you now use in chat, this answer should comply with "being tested", "not involving a PC or file manager" and "relying on verified sources". Though in the meantime there ...
Izzy's user avatar
  • 90.8k
3 votes

Is there any way to programmatically turn on airplane mode on non-rooted Android?

Using Tasker and AutoInput plugin, here is the procedure: First, create a profile that suits your needs (i.e. when to trigger airplane mode e.g at a specific time, etc) Task Create a new task "...
xavier_fakerat'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
  • 40.3k
3 votes

How to set everything to silent except the alarm clock [7.1.1 Nougat]

You can try to achieve this by automation. I prefer MacroDroid being easy to learn and free I don't have Nougat , so can't test it. I also recall reading that dnd mode is behaviour is different ...
beeshyams's user avatar
  • 40.3k
3 votes
Accepted

Block all calls from area code unless in Contacts

automation is the preferred option. Many apps are available. I prefer using MacroDroid , since it is free (upto 5 macros) and easy to learn. You would need two macros for this First macro would be to ...
beeshyams's user avatar
  • 40.3k
3 votes

Block all calls from area code unless in Contacts

beeshyams' solution did not work for me, but i was able to modify it and get it working. The issue that i encountered was that the "call incoming" trigger only happens once when you first receive the ...
runrin's user avatar
  • 31
3 votes
Accepted

Dual SIM device : How to configure data usage on per app basis (Rooted device)

Requires Rooted Device, Xposed framework installed, latest version of GravityBox Xposed module and an automation app - I use Macrodroid Create a macro in Macrodroid Trigger: Application Launched &...
beeshyams's user avatar
  • 40.3k

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