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
1answer
4k views

Silence and vibration scheduler

I used to have Silet Time on Android 4.4 and it worked really well. The application sets silent mode or vibration at scheduled time of the week. I now have Android 6 and that application does not ...
19
votes
4answers
67k views

Disable notifications per app and time frame

I would like to know if there's any app or any Tasker plugin that would allow me to block notifications on the weekends. I got two email accounts, one personal with the Gmail app and the other work-...
0
votes
1answer
1k views

Automatically modify bluetooth settings when launching an app

Here is my use case: my phone is connected to my car via bluetooth, with only the Phone audio enabled. Media audio is off, so I can keep listening to the phone's GPS and the car's radio at the same ...
1
vote
1answer
932 views

Change native Android SIP dialing settings

My SIP Trunk (hooio) has a specific dialing plan: [Country Code][Phone Number incl. Area Code] However, all mobile carriers have a different dialing plan: [Local Phone Number] OR +[Country Code][...
2
votes
2answers
1k views

How can I emulate pressing another application's Quick Settings tile?

I'd like to programatically press another application's Quick Settings Tile, e.g. from the shell or Tasker. In this particular case, I'd like to press ProtonVPN's tile in order to automate connecting ...
2
votes
1answer
4k views

Nexus 5: How to automatically toggle Live Display in Cyanogenmod 12.1 nightly at a specific time?

I have a Nexus 5 with the last CyanogenMod nightly (12.1 20150917). I have a bug with the live display. Since the auto mode doesn't switch automatically, I have installed Automate, an app that uses ...
0
votes
0answers
41 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. ...
0
votes
2answers
2k views

Automation - unable to turn hotspot on

I am using a device running on AOSP 8.1 Recently I wanted to automatically turn hotspot on when device boots but Macrodroid is unable to do so Help required!
0
votes
0answers
46 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 ...
3
votes
1answer
2k views

Simulate powerbutton

I want to use terminal task to to turn the screen off using tasker. I have tried a code like this, and some variants, without success. am start --user 0 -a android.intent.extra.KEY_EVENT --es ...
2
votes
1answer
1k views

Reacting to Bluetooth Disconnection

I have a problem where disconnecting from various bluetooth devices switches my phone into Silent Mode. This is causing me to miss important calls and messages. There are quite a few different devices ...
1
vote
2answers
3k views

Auto-delete certain file extensions on my phone?

How do I make my phone automatically delete certain file extensions? I'm on ICS, rooted. For example, after connecting my phone to my mac, it will leave a .trashes file and other "." folders on my SD ...
0
votes
1answer
2k views

App to wake up WiFi periodically while on sleep

WiFi drastically drains the battery. There is a setting to disable WiFi while the phone is on sleep. However, it's all or nothing: either you are connected all the time (and kiss good-bye to the ...
0
votes
1answer
2k views

Change critical settings with ADB without root

I am new to Android "internals". I am looking for a way to change some settings on my device, just by using ADB, with debug mode enabled, without having root on my phone (warranty issues taken ...
1
vote
0answers
32 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 ...
3
votes
2answers
3k views

Run a particular app on boot

I have a phone running Android 4.0 and I wish to know if it is possible to turn this phone into a dedicated calculator? When I say dedicated I mean - once the phone is turned on, it boots directly to ...
2
votes
2answers
1k views

how to get my android to boot up and shutdown automatically

I want my android phone to boot up (I expect from a low energy state rather than off) automatically, run my app for a while, shutdown (ie return to low energy state) and repeat at intervals, say an ...
1
vote
1answer
2k views

Imitate a swipe down gesture periodically

There's an app that allows for monitoring of some specific process. This app gets locked every 5 minutes unless a screen activity is detected. The phone itself is not locked, the only app's interface ...
1
vote
0answers
39 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 ...
1
vote
3answers
2k views

How can I programmatically backup Android phone's settings?

I was wondering if I could programmatically backup my Android phone's settings. The "PHONE"'s settings and not application settings.
3
votes
2answers
224 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 ...
0
votes
0answers
11 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 ...
2
votes
2answers
1k views

Automate installation of Android devices

I am having a lots of Android devices which I need to prepare for use as follows: Remove all unnecesary applications Add single Google account Install certain applications from App Store of given ...
2
votes
0answers
25 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 ...
0
votes
1answer
31 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 ...
2
votes
1answer
325 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 ...
1
vote
2answers
3k views

Execute task if tasker profile has been active for some time

How can I execute a tasker task only after a certain condition has been true for a certain time? Normally a profile executes its task as soon as all conditions are met. I want to delay this ...
2
votes
1answer
4k views

Is it possible to simulate a button press on an Android application from another application (Android or Desktop)?

I need to automatically click on a specific button on an app. Is there a way to do this on a completely controlled environment? By controlled environment, I mean the phone could be rooted, it could ...
2
votes
0answers
22 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....
0
votes
1answer
11k views

Set a call forwarding number based on a defined schedule

We have a rotating on-call schedule. When an on-call person takes over, they forward the on-call phone number to their own cell-phone. This is a process which must be done manually each week, as the ...
0
votes
3answers
1k views

Mobile data is set to auto turn on with command but isn't working

I'm using 2 apps, "MacroDroid" and AutoInput", I set a command(Macro) that would turn on mobile data and location. But when I sent the text, it shows that mobile data and location are "on" but only ...
10
votes
3answers
6k views

"Allow USB debugging" keeps on popping evene when "Always allow from this computer" is checked in automation testing

We are doing automation testing on mobile devices with Appium but testing fails because of the popup 'Allow USB debugging' even though the device is already connected through 'adb connect' and 'adb ...
4
votes
2answers
8k views

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

There is a folder on an Android phone that continually fills with junk. Instead of clearing that folder manually on a regular basis, how can I setup up a way to have that folder be automatically ...
3
votes
4answers
6k views

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

Every night before sleep I usually put my Galaxy S4 into my bed's headboard to recharge, but every night I also get up because of the beep that the phone does when someone send something to my wazzup ...
20
votes
8answers
141k views

Is there a way to record and playback a set of touches?

What I'm looking for is some sort of macro-recorder (though that term seems to be hijacked now my macro-photography apps). I'd like to record a set of presses (specifically, beating a level in a game)...
1
vote
0answers
45 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 ...
0
votes
1answer
49 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 ...
0
votes
1answer
80 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 ...
1
vote
0answers
51 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 ...
1
vote
0answers
97 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 ...
0
votes
2answers
708 views

Can you block URLs with Tasker?

Is it possible to block URLs with Tasker? I'd like to block different sites from 9-5 everyday.
0
votes
0answers
59 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 ...
2
votes
1answer
405 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/...
1
vote
1answer
2k views

Volume control using Macrodroid

My friend has the same problem on his Samsung device as described here Android automatically corrects my volume I showed him the solution and it worked beautifully for him. But he would like to make ...
3
votes
1answer
53k views

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

I'm trying to get through to the Swedish Migration Agency (Migrationsverket) and their lines are constantly busy. In order to get into the queue, one needs to call them, then press 1 twice. This would ...
0
votes
0answers
51 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 ...
1
vote
2answers
801 views

Nexus 4 auto dialing extension does not work

I used to own a T-Mobile Mytouch 4g before, which had the pause character before extension otherwise 'p' on that handset and it was working fine. Now, I own and use a Nexus 4 and I understood that ...
1
vote
0answers
79 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 ...
3
votes
3answers
11k views

Trigger actions on notification received with IFTTT

IFTTT has a notifications channel but unfortunately it does not contain any triggers. Is there any other way to perform an action when a notification is received? Is there any IFTTT service that can ...
0
votes
0answers
24 views

How can I control a Yale deadbolt with Google Home?

I've got a Yale Assure Lock SL with Z-Wave that I'd like to control with my new Google Home. I understand that the "unlock" command might be disabled for security reasons, but I'd at least ...

1
2 3 4 5 6