Difference between revisions of "Trigger: Application Launched/Closed"

Tags: Mobile web edit Mobile edit Advanced mobile edit
m
Line 1: Line 1:
<pre style="color: black">
+
<pre style="background-color: #EEEEEE; color: Black; border-radius: 10px; padding: 10px;">
 
This trigger fires when an application is launched or closed.
 
This trigger fires when an application is launched or closed.
  
Line 7: Line 7:
  
 
Any other issues, please consult the Troubleshooting section under the left hamburger menu from the MacroDroid home screen.
 
Any other issues, please consult the Troubleshooting section under the left hamburger menu from the MacroDroid home screen.
</pre>
+
</pre><br>
<pre style="color: Teal">
+
<pre style="background-color: #EEEEEE; color: Black; border-radius: 10px; padding: 10px;">
 
Supported configurations:
 
Supported configurations:
  
Line 16: Line 16:
 
Prevent notifications interfering:
 
Prevent notifications interfering:
 
Swiping down the status bar may interfere with this trigger. This option prevents this interference but may cause issues with the trigger on some devices.
 
Swiping down the status bar may interfere with this trigger. This option prevents this interference but may cause issues with the trigger on some devices.
</pre>
+
</pre><br>
  
 
'''Example Usage:'''<br/>
 
'''Example Usage:'''<br/>
 
When starting YouTube the screen rotation will be activated
 
When starting YouTube the screen rotation will be activated
<pre style="color: Red">
+
<pre style="background-color: red; color: white; border-radius: 10px; padding: 10px;">
 +
Triggers
 +
 
 
Application launched (YouTube)
 
Application launched (YouTube)
</pre>
+
</pre><br>
<pre style="color: #3498DB">
+
<pre style="background-color: #1665B0; color: white; border-radius: 10px; padding: 10px;">
 +
Actions
 +
 
 
Enable screen rotation.
 
Enable screen rotation.
</pre>
+
</pre><br>
<pre style="color: Green">
+
<pre style="background-color: green; color: white; border-radius: 10px; padding: 10px;">
</pre>
+
Constrains
 +
 
 +
 
 +
</pre><br>
 
'''Example Usage:'''<br/>
 
'''Example Usage:'''<br/>
 
When closing YouTube the screen rotation will be deactivate
 
When closing YouTube the screen rotation will be deactivate
<pre style="color: Red">
+
<pre style="background-color: red; color: white; border-radius: 10px; padding: 10px;">
Application closed (YouTube)
+
Triggers
</pre>
+
 
<pre style="color: #3498DB">
+
Application closed(YouTube)
 +
</pre><br>
 +
<pre style="background-color: #1665B0; color: white; border-radius: 10px; padding: 10px;">
 +
Actions
 +
 
 
Disable screen rotation.
 
Disable screen rotation.
</pre>
+
</pre><br>
<pre style="color: Green">
+
<pre style="background-color: green; color: white; border-radius: 10px; padding: 10px;">
</pre>
+
Constrains
 +
 
 +
 
 +
</pre><br>

Revision as of 03:29, 28 April 2023

This trigger fires when an application is launched or closed.

There are also two methods, due to recent changes to Android, there is a faster method with the use of accessibility services, however it is still possible to avoid accessibility services by ticking the box 'force legacy system'

Accessibility can be granted by following the steps in the popup or by pressing the notification that appears from MacroDroid.

Any other issues, please consult the Troubleshooting section under the left hamburger menu from the MacroDroid home screen.


Supported configurations:

Force legacy mechanism:
Try this option if you have issues with the new application launched trigger implementation, or don't want to enable Accessibility access for MacroDroid.

Prevent notifications interfering:
Swiping down the status bar may interfere with this trigger. This option prevents this interference but may cause issues with the trigger on some devices.


Example Usage:
When starting YouTube the screen rotation will be activated

Triggers

Application launched (YouTube)


Actions

Enable screen rotation.


Constrains



Example Usage:
When closing YouTube the screen rotation will be deactivate

Triggers

Application closed(YouTube)


Actions

Disable screen rotation.


Constrains