9

You can use Tasker for this (Play Store link). Tasker can create macros that are run on certain triggers, such as connecting the phone to a charger. An example of the necessary programming can be found here. Check the link for additional info, but here's the necessary part: Create Profile "Sleep Mode" Add Context Power Source: AC //You can also set ...


9

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 'mCurrentFocus', or dumpsys activity top (for full info meant for developers)


8

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 rule: Days, Filter notifications. Start time, End time, Do not disturb type.


7

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 number. This makes the phone automatically dial 1 twice, once the call is connected. This works even outside of the app, while dialing a number manually or from ...


5

I tried the "StorageManager.enableUsbMassStorage" and the "StorageManager.disableUsbMassStorage" to enable and disable the mass storage and its works. Thanks. That methods are private method. So, If you want to use them, You shoud do it by reflection. To get that Storage Manager, you might use getSystemService(java.lang.String) method that included in ...


5

Android 4.x will connect to the strongest available network when first connecting, but, by default, once connected, it will not change networks unless it loses its connection first. This is presumably because switching would involve disconnecting existing connections, and a second or three of no network. Turning on "Avoid poor connections" in the Advanced ...


5

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 → Delete → select the folder that needs to be cleared → All Files Edit: { There is a catch here. Unless the device is rooted, only the files at the ...


5

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 recommend you to use IFTTT or Automate. IFTTT has supports for a variety of products such as Phillips Hue lights etc. But Automate is the easiest to use for your ...


5

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 app, navigate to the General tab, then tap on Smart Settings.


5

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 need to expand the status bar to show the quick settings # before it'll apply. Not sure why. cmd statusbar expand-settings sleep 0.25 # 250 ms or shorter may ...


4

It sounds like Agent fits the bill for you. Specifically, the Sleep Agent. I do use the Agent app, though I don't use the Sleep Agent itself, so this list of features is just me going through the setup options in the app. Set Days & Times for it to activate. (defaults to 11:00 PM through 7:00 the next morning, Sunday through Thursday nights.) ...


4

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 notification keyword. Please beware that the keyword must be a whole word. Trigger won't be fired if you filter "receive" and the notification is "sms received". ...


4

For lollipop versions, Goto Settings -> Sim Cards -> Call settings -> Phone account settings -> Make calls with -> Under this you will have three options Sim 1 Sim 2 Ask First Select Ask First option from that menu and when you call someone from the contacts, you will be shown the Sim 1 and Sim 2 option. Select the Remember SIM for number checkbox and ...


4

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 URL part appended with %date as required. E.g. http://myserver.com/daily_reports/Day_%date.htm For weekly URL, create an another task: Code → Run Shell: ...


4

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 I open specific apps like my newspaper reader.


3

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 app, user can define the time interval within the app is active (eg. 23:00 up to 6:00am) as well as the appropriate actions to be taken when user plugs in or ...


3

You might want to take a look at Tasker, the mighty automation solution on Android. I have not setup something as you request, but it's definitly possible, and basically should work like this: Condition: Event → Phone Ringing Task: either HTTP GET or HTTP POST to your server's URL. For the task, you can make use of the many variables Tasker has preset (see:...


3

There are a few apps that can do this for you, or at least some of these things. One I saw on Lifehacker yesterday is Agent. Agent is a combination automation tool and personal assistant that will silence your phone during meetings, remember where you parked, auto-respond to texts and phone calls while you're driving, and more, all so you don't have to.


3

User rules in Android 11 - System, Rules.


3

Most Android devices removed the auto-switch feature for APs having the same SSID because it is an Apple patent.


3

In every device, there is a binary called input. You can invoke it with from your application or even from adb: $ adb shell input Usage: input [<source>] <command> [<arg>...] The sources are: mouse keyboard joystick touchnavigation touchpad trackball stylus dpad touchscreen ...


3

It really would be nice to have some startup manager shipping with the system, which lets the user decide what to start and what not. But that's not the case, it works a bit different: Apps with the "run at startup" permission can register a "listener" for the BOOT_COMPLETED broadcast ­– which the system always issues on that event. This way they get ...


3

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 following would do: Location: choose the location State → Net → WiFi Near → fill the details -- I'm unsure whether it would work if the hotspot is ...


3

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 Task, go to Plugin, Secure Settings, Root actions, Package notifications, select app, toggle) Set the profile to trigger the task.


3

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, my answer here Edit: I overlooked a correct set of actions, my fault. The earlier option of set ringtone reacts at the point where the phone rings, at ...


3

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 was another rsync answer posted, you've asked me to present our solution as well – so here we go: The rsync command can be used to accomplish that. Taken all ...


3

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 Wi Constraints: None (Run always) or set up your Constraints under which macro runs


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