15

I've developed such an app called RepetiTouch. It's currently in beta stage and aimed at developers, but a limited free version is available here. However, it needs a rooted device running Android 2.3 or later. As far as I know, currently no other app with this functionality exists, but there are some tools/scripts providing such features using a computer ...


10

Alas, the UsbStorageActivity doesn't use an intent to enable and disable USB mass storage, so there's no way to achieve this using am. It instead calls the functions StorageManager.enableUsbMassStorage and `StorageManager.disableUsbMassStorage to do its work. As these functions are hidden in the framework, it's not possible to write an app to do this, either....


9

With Tasker you are able to achieve this. The Tasks can be defined as e.g. Wifi on and there are different trigers for those Tasks. Amoung many others, time can be a trigger.


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 ...


8

This isn't built-in functionality, but it's something you could achieve with a trigger/event app such as Tasker. This kind of app runs in the background, and lets you configure certain actions to take (such as turning off the ringer) when certain events occur (such as seeing a particular Wi-Fi network). Tasker's not the only such app, but it's very complete ...


7

Alternatively, my default recommendation for cases like this: Tasker. Use a profile like this (abstract): Condition: App (select "Youtube", and optionally other apps you would like to have autorotate turned on) Task: Display->Display Rotation: Set On This way, whenever one of the selected apps runs in foreground, autorotate is turned on -- and as soon as ...


7

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 Hope this helps Jonathan


7

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)


6

I'd recommend Llama as you've wished for a free app. Further more this is a location based profile. This can not only do what you have said but also do what you want based on your location.


6

I can only recommend CyanogenMod, or, if you want to keep your ROM: HotSpot Widget. CyanogenMod allows you to create a HotSpot Quick Setting Tile. The widget is placed on your home screen and if you want to enable/disable the hotspot tap it.


6

I know you can freeze and thaw an app using Titanium Backup Pro, which I have. But that would require manually going in to TiBu and doing the freeze/thaw commands each time. You're wrong about that part. Try this: look for a free place on your homescreen long-press there select to add a widget scroll to Titanium Backup select the item to (un)freeze an app ...


6

I know of no way to restrict an app to the 3G network (as opposed to 2G/4G), but there are several solutions to restrict apps to either WiFi or mobile networks (or keep/allow them from/to both). Examples include DroidWall - Android Firewall1 (which you already mentioned, but which is discontinued), its successor AFWall+2, its fork Android Firewall3 (gone), ...


6

Wi-Fi Manager provides the "Switch to best network" option in its settings.


6

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

There is an app on the Android Market called "Tethering", which requires no permissions to run, which provides a shortcut to the "Tethering and portable hotspot" configuration screen. You can put this app on your home screen and that reduces your steps to: 1) unlock 2) tap the Tethering icon on your home screen 3) slide portable hotspot on Link I use it ...


5

In short, you can't. Only the application can interact with itself internally, unless an API was created for that end. External applications aren't able to know what to do in order to follow your desired "path". The best you could achieve is opening the application, but you still needed to manually tap the buttons. My recommendation: I believe you are ...


5

This is one of the many things you can toggle with Widgetsoid. You can either put a widget on one of your home screens or place the toggle in your notification tray.


5

Natively, there is no way to schedule shutdowns and boot ups of the Android system. If you do decide to root there are applications in the Play store that can shedule a shutdown (you may even be able to make your own busybox script instead). However booting up will never be possible the way Android handles shut downs because when Android shuts down, it is ...


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.


4

Replace your lockscreen with WidgetLocket Lockscreen. Add Hotspot Toggle widget on WidgetLocker lockscreen. You can find many such toggle widgets in Play Store. Personally, I use Widgetsoid (it has lots of toggles). Hotspot Toggle is great if you are interested in only Hotspot toggle. Technically, I am the winner because its a 1-step solution. All you need ...


4

There isn't a system setting, so the app Smart Rotator is probably the closest thing you can get, but yes, in the beginning, you have to set everything up yourself.


4

As you write you know Unix scripting, you might want to take a look at apps like SH Script Runner, Script Manager, Script Kitty, and similar. They all allow you to run shell scripts on your Android device. Also, you could utilize Tasker: create a task to run a script, and then create a shortcut to that task on your homescreen. So you have easy access to ...


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

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: ...


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