Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

-1
votes
1answer
33 views

Mute Phone Audio when Headphones are Unplugged

I only ever unmute my phone when my headphones are plugged into it. I'm looking to automate this process. Here's what I want to happen: if (headphones are unplugged) { mute all audio on the phone ...
1
vote
2answers
76 views

How would I automate repetitive tasks in Android?

There are many tasks I do repetitively, like connect a Bluetooth headset or connect to a hotspot. How do I typically "code" this? How do I execute? Is there a consistent library or package manager, ...
0
votes
1answer
72 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 ...
1
vote
0answers
31 views

How to enable/disable lock screen from shell script when a special wifi SSID is present?

My Java skills are low, but I'm mastering shell. Is use LineageOS 14.1 (forked from cyanogenmod). I would like to create a shell script on a rooted devive to enable/disable lockscreen (PIN). I ...
0
votes
0answers
33 views

A script that sends sms to the GPS tracker to turn on and off the alarms

I've just bought a Lekemi GPS tracker to protect my car. it works like this : if someone moves the car it sends to me an SMS message. And it sends to me another SMS if someone exceeds the speed ...
0
votes
1answer
19 views

Listening to in-app triggers [closed]

How can we listen for and record in-app events? I've been searching the net for some time without the slightest hint. Bellow are my case specific details for clarity, (though maybe I should be ashamed)...
1
vote
0answers
32 views

Automatically run Greenify from Macrodroid

As a way to save battery drain, I set up a macro with MacroDroid that does the following: Trigger: every 2 hours Action: kill background process, launch Greenify Constraint: when battery is below 50% ...
1
vote
0answers
28 views

Scheduled turn off & on on android 8.1 [duplicate]

Scheduled turning the device off and on has apparently been discontinued in Android 8. Edit: At least for my device thats the case. Given that it was one of my favorite functionalities in android 7, ...
0
votes
1answer
28 views

Automate Charging cycles for always connected devices to wall outlet [duplicate]

Is there any way to automate charging cycles (like charge only from 40% to 80%) if the device always connected to power outlet? I'm searching for a way to read charging level and send commands to ...
0
votes
0answers
123 views

Simulate long press on Overview button through ADB to split screen

I'm trying to simulate the split screen action through adb by doing a long press on Overview virtual button. adb shell input keyevent 187 ; sleep 2 The result is recents menu is shown only, but when ...
0
votes
0answers
32 views

easy and simple way to test/automate Android app

There is an app that I need to automate. I only have the APK, I do know there is UIAutomator, but there is not much info about how it can be used with an APK (no source code). Are are some tools ...
0
votes
0answers
66 views

Auto redial on call interruption

How do I make phone redial when call was dropped or interrupted? Any solutions are appreciated, whether Android built-in or tasker scripts.
0
votes
1answer
48 views

How to move a folder to another path and to move back to same tree merging its contents on Unix?

On my Android phone, I have: A cron job to move files at 1:59am from /sdcard/WhatsApp/Media to /sdcard/wppmediabkp folder before WhatsApp backup at 2:00am: mv -f /sdcard/WhatsApp/Media /sdcard/...
0
votes
0answers
32 views

How do I automate a specific action via a physical button?

Simplified question: How can I send my location via Telegram with a physical button? On iPhones this would be simple. When jailbroken, you can define any custom action you want for any physical ...
4
votes
2answers
1k views

How to auto-backup my phone internal storage to my PC (not cloud), using WiFi?

I'm looking for a method to automatically backup my internal storage from my Nexus 6 directly to my PC (not cloud), using WiFi, but I haven't really found a solution for it. I see most solutions use ...
0
votes
2answers
252 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 ...
0
votes
0answers
110 views

Telegram auto answer

Is it possible to auto answer telegram call ? I want to automate answer of telegram call. Is there any third party tools ? Or is there any telegram bot to auto answer telegram call ?
0
votes
0answers
68 views

How can I install multiple apps/updates at once without approving each one separately?

I use the APKPure site application to obtain updates for my installed Android apps. When updates are available - sometimes dozens at a time, I get multiple installation approval screens, and have to ...
0
votes
1answer
38 views

How to automate actions in certain apps?

I have a Note 5 running Android 7.0. I use an app to get scheduled for work. Is there any app that could automate my scheduling in the app? Getting schedule is very hard if I do it manually by ...
0
votes
0answers
695 views

Automatically disable SIM 2 while SIM 1 has signal?

Is it possible (via Tasker or otherwise) to automatically disable a SIM when the other one has a signal, and to similarly re-enable it once the other loses signal?
0
votes
0answers
32 views

Macro automation software that can get macros with parameters to interact with an android app

I need to automate a task in Android. Tasks are a little different each time that I have to change the macro a little. In fact It should type different text on each run. These are my possible ...
0
votes
0answers
27 views

When In silent mode, raise volume automatically after receiving 5 calls from a specific number

What I want to achieve: If in silent mode or vibration-only mode: After receiving 5 calls from a specific phone number, increase volume by one tick per each incoming call from that phone number. ...
0
votes
1answer
53 views

Make Android open a page at a specific time every morning

I want to login to a site for 50 consecutive days. For this, I will have to visit their homepage for 50 days. Is there anything that can be used to do this?
0
votes
0answers
59 views

An app with touch record and time delay playback

I'm looking for an app that allows me to record my finger touches and then repeat play what I recorded but after a set amount of time. For example I want to record a few fingers strokes and then have ...
1
vote
0answers
37 views

Alert only on Text Message

I use a Motorola G5 Plus with Android 7.0 on it. I'm on-call sometimes on nights and I want to be alerted in case there's a problem. I've forwarded important alerts to SMS text. I do NOT want to be ...
3
votes
1answer
3k views

How can I schedule timer to power on and off device?

Is there any way to schedule timer to power on and off device? Example daily power on at 8am and power off at 10pm.
1
vote
1answer
459 views

Automatic screen recording when my android phone wakes up

I have checked out many Android screen recorders, but none of them start recording the screen automatically when the phone wakes up. Does anybody know of a screen recorder that does that job?
1
vote
0answers
412 views

Is there an API for google's Find My Device, specifically the ringer?

My mom loses her phone constantly, and it's a pain to log out of my password manager, log into hers, log into her google account, and ring the phone with Find My Device. Is there an API somewhere so I ...
0
votes
1answer
916 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 ...
2
votes
1answer
115 views

Auto SMS reply a missed call from a specific contact anytime

I am looking for a solution to auto SMS reply a missed call from a specific contact anytime. All solution I found are either for all contacts, or for limited time intervals. Anyone has an idea?
0
votes
0answers
195 views

IFTTT Toggle Button Widget

I would like to create a button widget in IFTTT for toggling my Bluetooth On and Off with the same button. However, it is only possible to select either 'Turn on Bluetooth' or 'Turn off Bluetooth' as ...
3
votes
0answers
101 views

Auto start two apps on split screen after reboot

I have Two running Android apps (used for surveillance and doorbell) permanently and simultaneously on split screen. Sometimes, the person who used the device (for personal purposes) forget to get ...
2
votes
2answers
2k views

Lock Alarm Volume Level To Max

So I let other people use my phone a lot and one little boy (which will go unnamed) finds it funny lowering my alarm to zero when he uses my phone. Is there a way to lock this value(just alarm volume ...
0
votes
1answer
397 views

Backup of internal and SD storage via script (USB)

tl;dr I want to backup my internal storage and SD card contents when connected via USB cable due to potentially large amounts of data I don't want to use WiFi-based programs failed attempt at using ...
0
votes
2answers
818 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!
1
vote
0answers
134 views

Automate: Enable WiFi Calling in GPS Coordinates

My goal is to configure my Android LG G5, running the stock ROM, to enable Wi-Fi calling when I'm at home. I downloaded the Automate app from the Google Play Store. Next, I created a new workflow, ...
0
votes
1answer
24 views

How to fire text message to particular mobile numbers when my device enters into geofence specified?

I want to track a vehicle fleet. Whenever the device enters into the specified geofence, it should fire a text message to the specified mobile numbers, so that they will get notified.
1
vote
1answer
2k 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 ...
1
vote
0answers
351 views

If I'm connected to device A don't connect to device B

I often find myself in my car following my wife until our commutes separate. When arriving at stop signs for instance, my audio regularly cuts out and transfers to the BT Audio in her vehicle. I'd ...
1
vote
1answer
1k views

How do I invert colours inside a specific app?

The latest Android has an Invert Colours option in quick settings. Is there any way to turn this on automatically when a specific app is opened? Is there any other way to achieve inversion of colours ...
0
votes
1answer
7k 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
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 ...
3
votes
0answers
261 views

Enable OK Google detection when connected to car bluetooth

I have set "OK Google" detection to "in Google app" only. I don't want Google to be listening all the time. However, I would like "OK Google" detection to work when I'm driving. This means that the ...
1
vote
1answer
300 views

Automatically toggle background data for a given app

I have one app that "misbehaves" when on mobile data – ie. it takes quite big bites out of my battery. I don't want to cut it off from mobile data completely, though – as I need it from time to time ...
1
vote
2answers
11k views

How to get current (foreground) activity name?

Hoi! I'm trying to make an automatic night mode for my phone using "Automate", but I can't find certain app activities. How do I get to know what activities are executed in the foreground at the ...
0
votes
1answer
72 views

Automation: Sending sms based on button press in alarm

My Problem: I want to get a reminder or an alarm every sunday and tuesday evening that gives me the chance to press two buttons: one that sends an sms to another person with content x and another ...
0
votes
1answer
52 views

How to send a flag/data as an input to installed android app?

Is there a way to send a flag or a single number or character to my app running on a device using android developer console or by using any other way, without touching the mobile device ? Example : ...
4
votes
3answers
16k views

How to start application automatically when bluetooth device is connected?

Whenever I enter my car, bluetooth is connected. What I would like is my speedcam alert application to be started once BT is connected and ideally terminate application when disconnected. I am using ...
1
vote
0answers
259 views

Custom voice commands

I'm looking for an open source way to specify custom voice commands that use the Google voice recognition backend. It has to be open source and work offline. (I already managed to get the Google app ...
1
vote
1answer
99 views

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

I am looking for an app or a way how to automate opening a URL based on current date on the Android 7.0 phone: On 2017-07-01 it would open the following url in a browser: http://myserver.com/...