Tasker | ADVANCED (channel)
https://taskerprofilecenter.blogspot.com/2020/05/task-toggle-androids-background-process.html
#task #ToggleAndroidBackgroundProcessLimit
DESCRIPTION
This task will allow you to toggle in the background, and check the current process limit value for Android. Found under Developer Options.
Notes:
- The required permission is already integrated into Tasker, but you will need to grant it manually. Use the following cmd to do so: pm grant net.dinglisch.android.taskerm android.permission.SET_PROCESS_LIMIT.
- As the value will be restored after rebooting the device, you will need to automate it on device boot.
- Standard process limit (-1) could be 10, 15, 20, or whatever the Android manages in the background. In depends on your system.
- Even 1, 2, 3 or 4 are the only available options to be chosen from settings (Developer Options), you can specify any other value higher than 4 if want too. (But, doing so will make the custom values not to be reflected on its settings, only visible by this task)
CREDITS
@SmartPhoneLover
CHANGELOG
- New: Added 'Device Boot' profile to automate the setting on boot.
- Other: Minor changes.
VERSION
v1.3
DESCRIPTION
This task will allow you to toggle in the background, and check the current process limit value for Android. Found under Developer Options.
Notes:
- The required permission is already integrated into Tasker, but you will need to grant it manually. Use the following cmd to do so: pm grant net.dinglisch.android.taskerm android.permission.SET_PROCESS_LIMIT.
- As the value will be restored after rebooting the device, you will need to automate it on device boot.
- Standard process limit (-1) could be 10, 15, 20, or whatever the Android manages in the background. In depends on your system.
- Even 1, 2, 3 or 4 are the only available options to be chosen from settings (Developer Options), you can specify any other value higher than 4 if want too. (But, doing so will make the custom values not to be reflected on its settings, only visible by this task)
CREDITS
@SmartPhoneLover
CHANGELOG
- New: Added 'Device Boot' profile to automate the setting on boot.
- Other: Minor changes.
VERSION
v1.3
Tasker | ADVANCED (channel)
https://taskerprofilecenter.blogspot.com/2020/05/project-filename-chooser-for-easy-voice.html
#project #FilenameChooserforEasyVoiceRecorder
DESCRIPTION
With this project you will be able to specify a custom name for audio files, just before starting the recording in Easy Voice Recorder app.
Available versions:
• Version (A): Audio files will be renamed as: DATE_TIME_FileName_DATE_TIME (if specifying extra info) or FileName_[#] (if no extra info).
• Version (B): Audio files will be renamed as: [DATE] [TIME] FileName [DATE] [TIME] (if specifying extra info) or FileName (#) (if no extra info).
Notes:
- This project was based on a request from a Reddit user. (reference)
- To delete Quick Presets, long press them.
- There's no need to configure any specific filename within EVR app. The project will work with any.
- When using this project, DO NOT use pause function. Otherwise, the file will be saved and renamed prematurely.
CREDITS
@SmartPhoneLover
VERSION
v1.0
DESCRIPTION
With this project you will be able to specify a custom name for audio files, just before starting the recording in Easy Voice Recorder app.
Available versions:
• Version (A): Audio files will be renamed as: DATE_TIME_FileName_DATE_TIME (if specifying extra info) or FileName_[#] (if no extra info).
• Version (B): Audio files will be renamed as: [DATE] [TIME] FileName [DATE] [TIME] (if specifying extra info) or FileName (#) (if no extra info).
Notes:
- This project was based on a request from a Reddit user. (reference)
- To delete Quick Presets, long press them.
- There's no need to configure any specific filename within EVR app. The project will work with any.
- When using this project, DO NOT use pause function. Otherwise, the file will be saved and renamed prematurely.
CREDITS
@SmartPhoneLover
VERSION
v1.0
Tasker | ADVANCED (channel)
https://taskerprofilecenter.blogspot.com/2020/06/project-system-locale-qs-tile-v10.html
#project #SystemLocaleQSTile
DESCRIPTION
I have built this project for my personal usage, so I can switch system Locale (Android language) easily between my original language (Spanish) and the one used for all my projects (English), and others in some cases. Now, hope it helps to some of you in some way...
These are the available versions:
• Tasker QS Tile: It uses one of the 3 QS Tiles included into Tasker (1st in that case), and it changes locale and tile (name) based on predefined locale names (tasks).
• AutoNotification QS Tile: It uses one of the 40 QS Tiles available in AutoNotification (1st in that case), and it changes locale and tile (name) based on predefined locale names (actions).
This project includes an Initial Setup task that needs to be executed when it is imported from TaskerNet, or when the dev considers it is needed even not imported from TaskerNet.
Notes:
- To use this project SecureTask plugin is required.
- To allow the plugin to change locale in the background, CHANGE_CONFIGURATION permission needs to be granted to it. To do that, run this cmd: pm grant com.balda.securetask android.permission.CHANGE_CONFIGURATION.
- To use QS Tiles from Tasker or AutoNotification, you will need to enable them from the appropriate settings of each app first. Then, add the one that would be linked to the project to the Android QS panel.
- To customize the project with your own langs use the 'Get Current Locale' task to get locale name.
CREDITS
@SmartPhoneLover
VERSION
v1.0
DESCRIPTION
I have built this project for my personal usage, so I can switch system Locale (Android language) easily between my original language (Spanish) and the one used for all my projects (English), and others in some cases. Now, hope it helps to some of you in some way...
These are the available versions:
• Tasker QS Tile: It uses one of the 3 QS Tiles included into Tasker (1st in that case), and it changes locale and tile (name) based on predefined locale names (tasks).
• AutoNotification QS Tile: It uses one of the 40 QS Tiles available in AutoNotification (1st in that case), and it changes locale and tile (name) based on predefined locale names (actions).
This project includes an Initial Setup task that needs to be executed when it is imported from TaskerNet, or when the dev considers it is needed even not imported from TaskerNet.
Notes:
- To use this project SecureTask plugin is required.
- To allow the plugin to change locale in the background, CHANGE_CONFIGURATION permission needs to be granted to it. To do that, run this cmd: pm grant com.balda.securetask android.permission.CHANGE_CONFIGURATION.
- To use QS Tiles from Tasker or AutoNotification, you will need to enable them from the appropriate settings of each app first. Then, add the one that would be linked to the project to the Android QS panel.
- To customize the project with your own langs use the 'Get Current Locale' task to get locale name.
CREDITS
@SmartPhoneLover
VERSION
v1.0
#warning #TaskerDev
[HOW-TO] Protip: do something if a condition is active for more than X minutes
Sometimes you want to check a condition but only do something if that condition is true for a certain amount of time.
For example, you could check if you're at home based on your Wifi connection, but sometimes it disconnects and re-connects to your wifi for a few seconds so you want to delay running the "Away From Home" task for 1 minute to make sure that you're not really home.
You can actually do this fairly easy with 2 profiles :)
Profile 1:
- Check condition you're interested in, for example, disconnected from your home Wifi
- In the entry task set %AwayFromHomeWithDelay to %TIMEMS+60 (60 stands for 60 seconds, or 1 minute; change that to whatever you need)
- In the exit task clear %AwayFromHomeWithDelay
Profile 2:
- Use the Time condition and set both the start and end times to %AwayFromHomeWithDelay
- In the task do whatever you wanted to do when you're away from home
This way you can delay a profile's activation by whatever time needed! :)
Here's a pre-built example that does something if Airplane Mode is on for more than 2 minutes.
Source: Go!
[HOW-TO] Protip: do something if a condition is active for more than X minutes
Sometimes you want to check a condition but only do something if that condition is true for a certain amount of time.
For example, you could check if you're at home based on your Wifi connection, but sometimes it disconnects and re-connects to your wifi for a few seconds so you want to delay running the "Away From Home" task for 1 minute to make sure that you're not really home.
You can actually do this fairly easy with 2 profiles :)
Profile 1:
- Check condition you're interested in, for example, disconnected from your home Wifi
- In the entry task set %AwayFromHomeWithDelay to %TIMEMS+60 (60 stands for 60 seconds, or 1 minute; change that to whatever you need)
- In the exit task clear %AwayFromHomeWithDelay
Profile 2:
- Use the Time condition and set both the start and end times to %AwayFromHomeWithDelay
- In the task do whatever you wanted to do when you're away from home
This way you can delay a profile's activation by whatever time needed! :)
Here's a pre-built example that does something if Airplane Mode is on for more than 2 minutes.
Source: Go!