[Q] Is there a way to detect another app launch - Tasker Tips & Tricks

Hi,
I´d like to set tasker to turn off wifi when I launch Heartstone and then turn it back on when I turn Heartstone off. Is it possible? Thanks

Profile - state - app: HS
Enter task -> WiFi off
Exit task <- WiFi on.

Related

Tasker or similar apps

Hey everyone. Anyone here use Tasker or any similar app. If so so what are your favorite profiles or things to do with them?
tEcHsAvY said:
Hey everyone. Anyone here use Tasker or any similar app. If so so what are your favorite profiles or things to do with them?
Click to expand...
Click to collapse
Use search
I'm a long time Tasker user and cannot think using any device without it.
The main thing I use it for are:
- automatic change of audio volumes based on time and location;
- hourly chime;
- missed notifications reminder;
- automatic switch GPS ON/OFF when using maps;
... Other little things depending on specific ROM I'm using ...
Macro droid is pretty good, A tad easier to setup tasks
For me, Tasker knocked me down. I use Automateit Pro, a little bit more user friendly and does the job accurately.
tEcHsAvY said:
Hey everyone. Anyone here use Tasker or any similar app. If so so what are your favorite profiles or things to do with them?
Click to expand...
Click to collapse
I am using macro droid. Its really smooth and user friendly. Not as versatile as Tasker may be but it almost serves all the needs with more macros. It was my first purchase from google play.
Only use it to turn volume down when I arrive at the office.
Tasker and Secure Settings. I use it to:
1) Set ringtone to vibrate between 11pm to 6am
2) Trigger high accuracy GPS when I open waze.
3) Auto rotate only when in the camera, gallery, youtube and a few others.
4) Switch between edge and HSPA (to save battery) i.e. only swtich to hspa when youtube, web browser or app that needs a fast data connection is active.
5) Send emergency SMS to certain people when battery reaches to 10% (hardly ever happens but hey safe than sorry)
6) Switch to car mode (app) when connected to my bluetooth headset.
7) Open up emulator when game controller is connected.
8) When within range of my home town cell tower, switch on wifi, similarly when out of range of the tower, wait 2 mins then switch off wifi.
amd-dude said:
Tasker and Secure Settings. I use it to:
1) Set ringtone to vibrate between 11pm to 6am
2) Trigger high accuracy GPS when I open waze.
3) Auto rotate only when in the camera, gallery, youtube and a few others.
4) Switch between edge and HSPA (to save battery) i.e. only swtich to hspa when youtube, web browser or app that needs a fast data connection is active.
5) Send emergency SMS to certain people when battery reaches to 10% (hardly ever happens but hey safe than sorry)
6) Switch to car mode (app) when connected to my bluetooth headset.
7) Open up emulator when game controller is connected.
8) When within range of my home town cell tower, switch on wifi, similarly when out of range of the tower, wait 2 mins then switch off wifi.
Click to expand...
Click to collapse
Do any of these require root?
I can't recall but I think secure settings requires root, someone correct me if I'm wrong. Most of them don't. Secure settings trigger different gps modes.
Ok cool thank you
Llama - is similar, as some alright features
I personally went for tasker and added secure settings
After 3 failed unlocks, takes picture on front cam and logs location
when face down, set phone to silent
when near home or work turn wifi on
when at home and connected to wifi, turn lock off
when connected to bluetooth in car turn lock off
on boot set lock to on
similar to others... other additions:
> read SMS sender and text contents while connected to car bluetooth [developing] (anyone know the right audio channel to play notifications through?)
> shake vertically to lock device (too big to always reach power button)
and per someone's earlier question yes you need root for secure settings to do most of its worthwhile tasker actions. although my secure settings is not working for enabling/disabling pattern unlock in 5.0 [liquidsmooth v4.0 unofficial]
I mainly use it to control the lights at home. I haven't been able to think of any other use cases for me
c8503 said:
> shake vertically to lock device (too big to always reach power button)
Click to expand...
Click to collapse
want to share this? looks a bit nifty
Below are the Tasker Profiles that I use:
1. Turn Wifi On when I'm connected to a cell tower near home. Turn off when I exit.
2. Notify to take my ID card when disconnected from wifi (reminds me in the elevator)
3. Turn on silent mode when I'm connected to a cell tower near office.
4. Switch to 2G when screen is off.
5. Turn on location for Maps, Uber, etc. Turn off when not using.
6. Increase the display timeout when using Feedly, Facebook, Play Store, etc. Change it back to 15 secs when not using.
Hampa_D said:
want to share this? looks a bit nifty
Click to expand...
Click to collapse
Superquick:
New Profile "Shake it off" > Event > Shake Backwards & Forwards > Sensitivity = High, Duration = Medium > New Task "LockSystem" > If %SCREEN ~ on > System Lock
Note the "IF Screen ~ ON" otherwise while your phone is in your pocket it will keep locking which is not a problem untill you try to run with your phone playing music and you get the lock sound effect every step you take
The "Shake Backwards-Forwards" is not intuitive but the shake actions are sort of misnamed in tasker. This locks the phone if you shake it up and down vertically [insert masturbation gesture here].
The medium duration is also key so you get the right kind of threshold for not having the screen go off while you ride the bus but also not having to shake it for a while.
<3
Tasker, AutoVoice, Secure Settings
- Set Silent mode as soon as connected to WiFi at work
- Turn off mobile data when connected to WiFi
- Invisible unlocker to unlock phone from locksreen
- Change input method when i take out the pen on my Note 3
- Read my calendar for work events and set my alarm accordingly
Tasker, AutoVoice, Secure Settings
- Set Silent mode as soon as connected to WiFi at work
- Turn off mobile data when connected to WiFi
- Invisible unlocker to unlock phone from locksreen
- Change input method when i take out the pen on my Note 3
- Read my calendar for work events and set my alarm accordingly
Tasker with OnePlus One
Hello,
I am using Tasker with some of the following tasks/settings...
Sound and Timeout profiles for Home, Out, Work and Night situations.
Toggle between different screens in Lightning launcher for Home, Out, Work or Night situations.
They than look similar to the Smart Screen Launcher screens.
Capturing notifications and displaying them in situations when I want them to appear, including sound and/or vibration.
Retrieving Sunrise/Sunset times and weather information, displaying the info via Zooper Widget.
Setting different wallpapers according the time and location during the day.
Adding the current location to for instance Evernote (like the app Where Am I).
A working time registration including reporting worked hours.
-Tasker
-Lightning Launcher
-Zooper Widgets
-AutoNotification (plugin for tasker)
-AutoLocation (plugin for tasker)
-AutoLaunch (plugin for tasker)
-Email Me (plugin for tasker)
There is so much you can do with tasker
Regards, Rob

Flash / Flashlight Notification on android?

Hey guys,
is there an option to have iOS like flash notifications on android? Still using the HTC One M7.ug
Tested apps like Flash Blink and LightFlow pro, in both apps the flash works in test modes of the apps, but doesnt work when a notification comes
in (whatsapp etc)
Everything is set fine I guess.
Any suggestions?
Thanks
Feisar90 said:
Hey guys,
is there an option to have iOS like flash notifications on android? Still using the HTC One M7.ug
Tested apps like Flash Blink and LightFlow pro, in both apps the flash works in test modes of the apps, but doesnt work when a notification comes
in (whatsapp etc)
Everything is set fine I guess.
Any suggestions?
Thanks
Click to expand...
Click to collapse
I use Tasker to do this for example:
Profile 1: Screen off + SMS received ---> Launch Task #1
Task 1:
Turn flashlight on
wait 50 ms
turn flashlight off
wait 5 s
go to action 1
Profile 2: Screen is turned on ---> Launch Task #2
Task #2:
Kill task #1
You can make as much profile as you want so for example you can set different flash pattern for missed calls, sms, for a specific contact etc..
alray said:
I use Tasker to do this for example:
Profile 1: Screen off + SMS received ---> Launch Task #1
Task 1:
Turn flashlight on
wait 50 ms
turn flashlight off
wait 5 s
go to action 1
Profile 2: Screen is turned on ---> Launch Task #2
Task #2:
Kill task #1
You can make as much profile as you want so for example you can set different flash pattern for missed calls, sms, for a specific contact etc..
Click to expand...
Click to collapse
I was just reading more about Tasker, thank you sir.
But what about 3rd party app notifications like whatsapp? I didnt find a way to set it yet with Tasker Pro
Thanks
Feisar90 said:
I was just reading more about Tasker, thank you sir.
But what about 3rd party app notifications like whatsapp? I didnt find a way to set it yet with Tasker Pro
Thanks
Click to expand...
Click to collapse
You can "capture" app notification in Tasker to trigger a task:
New profile:
---> Event ---> UI ---> Notification ---> Owner app ---> Whatsapp
+
--> State ---> Display ---> Screen off
=
Task 1:
Turn on the flash
wait .05 sec
turn off the flash
wait 5 sec
go to step 1
you also need an exit task or an independent profile to kill the previous task so it stop blinking when you turn on your screen:
alray said:
You can "capture" app notification in Tasker to trigger a task:
New profile:
---> Event ---> UI ---> Notification ---> Owner app ---> Whatsapp
+
--> State ---> Display ---> Screen off
=
Task 1:
Turn on the flash
wait .05 sec
turn off the flash
wait 5 sec
go to step 1
you also need an exit task or an independent profile to kill the previous task so it stop blinking when you turn on your screen:
Click to expand...
Click to collapse
Thanks a lot, I'll try around now )

Turn screen lock off on wireless power

Hey all, I have a profile I've made that isn't working quite right. It's supposed to turn the screen lock off when my phone is wirelessly charging (I use a pin lock). I've set the profile up to turn on when it's connected to wireless power, and I'm using the Secure Settings plugin Keyguard Disable.
It sort of works. If I turn my screen back on it will bypass the screen lock. However, if I go to a different app or to my home screen the screen lock will come on and ask me to enter my pin. I'd like it to turn the screen lock off completely until I've removed my phone from wireless power.
I'm using a Nexus 5 running Lollipop and XPosed.
New Profile:
State
Power
Source: Wireless
New Task
Plugin: Secure Settings
Dev Admin Actions: Password/Pin
Disabled
Hit Save Icon
Back all the way out. Long press that new task on the Profiles screen. Select "Add Exit Task".
New Task
Plugin: Secure Settings
Dev Admin Actions: Password/Pin
Enabled
Select: Pin Code
Hit Save Icon
Back all the way out.
Test New Profile
Post Results Here.

HELP with Power Saving Profile

So I tried making a profile on my new S7E where if the battery goes to 20%-5%, then Tasker would
1) Enable Power Saving mode
2) Disable Keyboard Sounds (using Samsung Keyboard) since normal power saving does not do this
3) Turn Auto Brightness off and turn the brightness to 0
And if the battery goes to 5%-0% it would enable the Ultra Power Saving mode
But here's the tricky part: If I am charging the phone I want tasker to disable said tasks. I did manage to make the profiles but I could not link them so that they would disable as soon as I put the phone to a charger.
Also is there a way to enable Always on Display and set brightness to max (the latter I know how to do) while charging?
Thanks in advance!
Create another profile and trigger it with the power-charger. This profile disables the other profiles you've created. The exit task would be enabling the other tasks again.
When I create another profile it only allows me to link it with tasks. How do I link it to the profile?
gaspir324 said:
When I create another profile it only allows me to link it with tasks. How do I link it to the profile?
Click to expand...
Click to collapse
Tasker -> profile state (set to on/off)
How are you controlling the AOD and power savings from tasker?

[Huawei Mate 20 + Android 9] Tasker does not execute tasks

Hello guys,
I try to set tasker to my new Mate 20 phone. I installed it with all authorizations, and I disabled the automatic save power control.
I set a first task – turn Bluetooth ON at 9AM. The task is running but at 9AM the Bluetooth is steel OFF and on the screen I have a popup “Allow Tasker to enable Bluetooth ?”.
A second task – Put the phone in Vibration mode at 10AM. At 10AM the phone switch to Vibration, but on the screen I have another popup “The vibration mode is activated”.
Why these popups, what I missed ?
Thanks for your help
Sounds like those popups came from another app. Maybe some security app or a preinstalled app from Huawei, which monitors who enables / disables system services. Do you see those popus also when you enable / disable bluetooth in the phone settings?
Try to identify the app / service owner of the popup by pressing long onto the popup. When you see a context menue choose app info.

Categories

Resources