2022 Developer Survey is open! Take survey.

Questions tagged [automation]

Trigger actions to be automatically executed on specific events, such as e.g. time, location, key-presses -- or even sensors, connected networks, etc. This tag is for "generic" questions on the field; please check the tag-wiki for more specific tags.

Filter by
Sorted by
Tagged with
0 votes
0 answers
13 views

How to use system timer to run a task periodically on a rooted Redmi Note 5 Pro with Busybox installed?

My objective is to periodically switch on and switch off my flashlight by modifying the value of brightness file whose location is sys/class/leds/flashlight/brightness. I am accessing the file as a ...
user avatar
0 votes
2 answers
34 views

Is there a way to schedule the sending of messages on whatsapp?

Is there a way to schedule the sending of messages on whatsapp using some particular program or script (obviously having the root of the device)? I tried many applications to schedule sending messages,...
user avatar
  • 11
1 vote
1 answer
42 views

How can I open the power menu in Android without pressing the power button?

The power button on my Android phone is dodgy and doesn't always work. I think it's on its last legs so I want to avoid pressing it if possible to extend its lifespan! I know nothing about coding or ...
user avatar
  • 11
0 votes
1 answer
35 views

How to periodically switch on and switch off flashlight with 1kHz rate on rooted Redmi Note 5 Oro?

My objective is to write a shell script to periodically turn off and on my phone's flashlight (about 1 kHz or 500Hz). My phone is rooted. So I gained superuser shell access (#) These are the files ...
user avatar
1 vote
0 answers
53 views

Send Physical keystrokes to the keyboard on emulator or real device

I need a way to press a key on an Android Keyboard ( irrespective of its language). For example, if the keyboard is in English and I press the "q" key it should type "q" but when ...
user avatar
  • 19
1 vote
0 answers
21 views

How to automate by repeating screen touches

Is there a simple way to record touches on the screen and replay them in the same sequence with the same timing? I have Tasker with root. I have installed AutoInput but don't understand how to use it. ...
user avatar
1 vote
0 answers
515 views

IFTTT multiple notification triggers not working

I'm trying to trigger an IFTTT action (turning heating on/off) when I arm or disarm my alarm system. The alarm system does not offer integration with IFTTT but, since arming/disarming the system gives ...
user avatar
0 votes
0 answers
56 views

Android 12: block/unblock mic access

Rooted Pixel 4a, stock Android 12 Looking for any command/way to block /unblock mic access. Any method except toggling quick settings tile / tapping "unblock" Why On earlier Android versions,...
user avatar
  • 37.7k
1 vote
0 answers
43 views

How to automatically delete backed up photos in Android 10?

I'm trying to figure out a way to detect when a photo has been backed up from my device so I can automatically delete it. I was reading that there was a feature to do this already, but when I found ...
user avatar
  • 1,324
1 vote
0 answers
20 views

Continue a music playlist as an Alarm

Back when Google Play was still alive, I found an Automate script that would turn on the app at a specific time, continuing whatever playlist it had last been going through. It made for a really handy ...
user avatar
0 votes
0 answers
31 views

Configure SMS autoreply suggestions

I periodically receive SMSs from automated systems that require a response. For one of them, all I need to do is reply "Yes" when it's convenient for me. Sometimes my phone (Samsung Galaxy ...
user avatar
  • 206
0 votes
1 answer
24 views

Can I auto switch phone to silent triggered by specific wifi connection?

Specifically my phone is Xiaomi Pocophone F1 and I'd like it to automatically switch into silent/DND mode as soon as it connects to the office Wifi. The phone is not rooted and runs Muii version 12.03 ...
user avatar
0 votes
0 answers
57 views

Forwarding SMS to Email

So my sister has to input a verification code into her school website (Desire2Learn,) and it comes in the form of either a text or call. Unfortunately, she's abroad and it costs too much to text her. ...
user avatar
1 vote
0 answers
46 views

Delete all files or reset phone automatically if I don't use my phone for several days

I want to set a time limit so that if I don't use my phone within that time limit, then it will delete/reset my phone data (everything). Moreover, if I use/unlock the phone within that time, then the ...
user avatar
1 vote
0 answers
348 views

Automated reboot without root

I'm responsible for an automation lab with many Android phones connected to Linux servers via adb for testing. We have an issue where devices will sometimes disappear from adb which means that someone ...
user avatar
  • 111
2 votes
2 answers
1k views

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

Let say on my home Wifi, I want to use DNS server "X" and on work WiFI, I want to use another DNS-server: "Y", on cellular a server "Z" and so on. Is this possible to do ...
user avatar
  • 216
0 votes
0 answers
23 views

Tab s2 auto start when plugged in

I've edited files to get a tablet running Lineage to auto start when plugged in but having issues with a Samsung tab s2 running rooted stock firmware T719. Adding an off_power rc script, which is the ...
user avatar
2 votes
0 answers
31 views

Automating android: stop all system/app related interference that prevents 100% reliability?

A team of us at work are trying to use Pixel 4a phones to take pictures every 30sec of a remote process from 6a - 6p each day, uploading the pictures to our AWS storage container. My colleague wrote ...
user avatar
  • 151
0 votes
1 answer
43 views

Auto voice reply to phone calls?

I'm looking for a way to automatically answer any incoming phone calls with a voice message, i.e. an autoresponder. So actually much like voicemail, except I don't want people to leave me messages. I ...
user avatar
2 votes
1 answer
572 views

Reboot Android devices automatically at a specific time (i.e. 3 AM) every day

I have a rooted Lenovo Vibe K5 Plus (A6020a46) running TWRP + Arrow OS. It doesn't provide an automatically scheduled reboot out of the box. None of the apps worked. Also the apps that claim to ...
user avatar
2 votes
0 answers
40 views

How to find PID of test runner

I have my app and my tests saved as following: App package name: com.my.app Test runner: com.my.app.test When I run the app by itself, I can use adb to see the pid of my app: adb shell ps | grep com....
user avatar
0 votes
1 answer
162 views

Run a batch file in Android

I have WhatsApp installed, and the notifications from one group that I am admin for are driving me mad. WhatsApp has the facility to "mute" notifications for 8 hours, but I have to do this ...
user avatar
  • 11
1 vote
0 answers
52 views

Is it possible to automate a complex task without using apps or rooting? If not, which is recommended?

So, we are part of a company that provides VPN services to retailers. One of our clients doesn't want to have their employees open up the VPN and login every time they turn the device (an Android ...
user avatar
0 votes
1 answer
172 views

Are wildcards available in setting up MiXplorer AutoTasks?

I want to set up an auto-task in MiXplorer to delete two types of files that another application creates -- one appears in two different folders, and another is in one folder but has different numeric ...
user avatar
  • 1
1 vote
0 answers
82 views

How to automate user actions?

I've seen a few questions similar to this before, but they all seem to be concerned with performing tasks in apps rather than actually simulating user action (e.g. swipes, taps, keypresses, etc.) in a ...
user avatar
0 votes
1 answer
64 views

True instant sync via Dropbox

I want to have my todo.txt file synchronized on PC and Android via a cloud service in both ways and instantly on change. Let's call this true instant sync. Unfortunately, I have not found a good ...
user avatar
  • 121
1 vote
0 answers
135 views

Remove or hide a ui element from android rendered xml layout

Context I have automated a production app (dont have control over it's source code) using appium but in an attempt to speed up this automation I would like to remove a dynamic animated element (with ...
user avatar
  • 11
0 votes
0 answers
124 views

How to handle hidden files and folders (which begin with a period/dot) when backing up Android to a Windows NTFS volume?

Over on Superuser, I asked about whether or not it's okay to have filenames and/or folder names that begin with a period (dot) on a Windows NTFS volume. The immediate response I received was to avoid ...
user avatar
2 votes
1 answer
744 views

MacroDroid shell script non-root location permission denied

I am currently trying to run a simple shell script via MacroDroid. devices are Huawei and Samsung (Oreo not rooted). in MacroDroid tried following locations: /data/local/tmp/script.sh /storage/...
user avatar
  • 3,130
0 votes
0 answers
66 views

What URL can I hit to initiate call?

I'd like to be able to hit a URL with CURL from my laptop, and have it cause my android phone to initiate a phone call, on speakerphone if possible. I'm using a Linux laptop with Firefox browser, and ...
user avatar
1 vote
0 answers
113 views

How via "a script" to move files (pics and videos from Camera) from phone to SD card?

A user may have a slow SD card. So taking pictures and videos on internal storage solves the problem nicely. It has 100GB. However, it can get big. And the SD card is 256GB. So the user wants to free ...
user avatar
  • 200
0 votes
1 answer
513 views

Is there a way to write/ run custom scripts in the background on my phone?

What I have in mind is pretty simple. I want to write a small script for simple file managing, and I would like for it to be run automatically like once a day. I have some coding experience under my ...
user avatar
1 vote
2 answers
322 views

Share to an automation app/webhook?

I am working on a project, and it all starts with the share menu on Android. I'd like to be able to take the (in this case) URLs that are shared from various apps, and send them directly to a webhook. ...
user avatar
0 votes
0 answers
2k views

Disable/enable second DualSIM card command

I use the MarcoDroid app to change phone settings depending on events. I want to turn on and off the second sim card depending on the event. I found a command option where I can type the command to ...
user avatar
  • 101
0 votes
1 answer
158 views

Autodialling app that allows timed selection of phone line menu options

I have searched the Google Play store with a number of likely terms to find this, and Googled also, only to find "simplistic" options for auto dialling. Am trying to get through to a ...
user avatar
  • 163
0 votes
1 answer
174 views

Mute Phone Mic when Headphones are Plugged In?

I saw a question similar to mine but it was 7 years old so I'm hoping there may be an update to the answer I would like for my Note 9 running Android version 10 to mute the mic on the phone when I ...
user avatar
0 votes
0 answers
96 views

automatically power on android when charge is 20% or 10%

I know its duplicate on Power on when charging but only when battery level is greater than 20% but it seems that question has no answer and also android version has changes a lot , I am on Android 10 ,...
user avatar
  • 101
0 votes
1 answer
477 views

Problem with intents :MacroDroid

I am not able to get the intent running for this out loud app. App description says Launch these activities to change the on/off state of Out Loud: com.hillman.out_loud.activity.OnActivity To change ...
user avatar
  • 37.7k
0 votes
0 answers
57 views

Call someone automatically after receiving an app notification

I'm fairly new to android, I just want to know if it is possible to implement a feature on an app that when you would receive a push notification it will call a specific number or send a sms. Ive been ...
user avatar
  • 121
1 vote
1 answer
185 views

I want to customise my phone to forward SMS messages automatically

My goal is that I want to customise my own Android phone to automatically forward text messages from user defined phone numbers onto other user defined phone numbers. I tried updating a very simple ...
user avatar
  • 113
0 votes
0 answers
2k views

Boot on Charger, power down on charger remove and autostart app

I am looking to do the following: Auto boot device on charger connection. Auto start an app on boot. Auto power down on charger disconnection. It looks like I'll need at least one app to do this, ...
user avatar
  • 111
0 votes
1 answer
123 views

How to collect the data from another app before it goes to the UI?

I'm using an android app, it receives backend updates and displays on the UI. How could an automation app, a script, or any solution read the updates received and to make some decisions/start other ...
user avatar
5 votes
0 answers
528 views

How can I trigger a sound when the device vibrates?

I have a game which makes my device vibrate when a certain event happens. I want my device to play a sound when that event happens. Unfortunately, the developer doesn't seem to be interested in ...
user avatar
  • 151
0 votes
1 answer
39 views

How to share via mail always to the same recipient in one touch

I frequently share things by sending me to my gmail address. So I make 4 steps: tap share icon tap Gmail icon type my own address tap send Is there a way/ app that automatize all these things : one ...
user avatar
1 vote
1 answer
306 views

Desktop/homepage shortcut to send pre-built email in one click

I'm trying to set up a way to send a pre-defined gmail email to a pre-defined recipient with a single tap from the home screen. Essentially, I'm going to use emails to trigger macro events on another ...
user avatar
  • 113
3 votes
1 answer
5k views

Does Android auto-switch between SIMs for data on dual-SIM phones when one of the SIMs has poor reception?

If you're using the internet on the phone, does Android auto-switch between SIMs on dual-SIM phones when one of the SIMs has poor reception? https://honestmobile.co.uk/ seem to think some phones do ...
user avatar
0 votes
2 answers
133 views

Auto reply to sms from specific contact

I would like to send an automatic reply sms to a specific text. Is there an app or way this could be done? I am using the default Android sms app. I have searched for auto-reply apps but most don't ...
user avatar
2 votes
2 answers
556 views

How to automate sending my current battery percentage to PC over the internet every 5 minutes?

I'm using Android 9 on my device, there are many times when I'm away from my phone and it is charging in a different room or someone else is using it, is there was a way to send over the battery ...
user avatar
2 votes
1 answer
176 views

Automatic Power On and Off

Is it possible to configure a smartphone with Android 8.1.0 to power on and off at specified times?
user avatar
  • 21
3 votes
1 answer
1k views

How to activate 'Do not disturb' when connected to a specific Bluetooth device

I want to benefit from Androids "Do not disturb"-feature while driving. My idea is to activate the "Do not disturb"-feature, when my phone connects to my cars bluetooth. If enabled no notifications ...
user avatar
  • 133

1
2 3 4 5
7