Difference between revisions of "Action: App Enable/Disable"

(Created page with "== About == <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> This action can be used to enable or disable an app. </pre> ''''' Roo...")
 
m
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
== About ==
+
<span style="color: #1665b0; font-size: 24px; display: inline-block; margin-top: 15px; margin-bottom: 0px;"><strong>About this action</strong></span>
  
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
+
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px; margin-top: 5px; margin-bottom: 5px;">
 
This action can be used to enable or disable an app.
 
This action can be used to enable or disable an app.
 
</pre>
 
</pre>
''''' Root is required. '''''
+
<pre style="background-color: #FFFF99; color: #112A46; border-radius: 10px; padding: 10px; margin-top: 5px; margin-bottom: 5px;">
<br/>
+
Root is required.
 
 
==<p><b>Configuration available</b></p>==
 
 
 
''  Select a quick tile from the list (If you don't have any enabled, at the bottom there is a shortcut 'Configure quick settings tiles') on that screen you can configure / add the quick tile and add it to the notification bar, later you can return to the action to configure the quick tile in other situations. ''
 
 
 
=== Enable  ===
 
 
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
Switches the status of the quick tile between On and Off.
 
</pre><br/>
 
 
 
=== Disable ===
 
 
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
Switches the status of the quick tile between On and Off.
 
</pre><br/>
 
 
 
==<p><b>Example</b></p>==
 
 
 
''''' Making a call to '#12345' will deactivate the application, otherwise calling '#67890' will reactivate the application.'''
 
<br>
 
 
 
<pre style="background-color: #AC2424; color: white; border-radius: 10px; padding: 10px;">
 
Triggers
 
 
 
Dial phone Number #12345
 
 
 
Dial phone Number #67890
 
</pre><br>
 
 
 
<pre style="background-color: #1665B0; color: white; border-radius: 10px; padding: 10px;">
 
Actions
 
 
 
Call reject
 
 
</pre>
 
</pre>
 
<pre style="background-color: #45289F; color: white; border-radius: 10px; padding: 10px;">
 
If
 
Trigger fired: Dial phone Number #12345
 
</pre>
 
 
<pre style="background-color: #1665B0; color: white; border-radius: 10px; padding: 10px;">
 
Actions
 
 
App Disable
 
My bank app
 
</pre>
 
 
<pre style="background-color: #45289F; color: white; border-radius: 10px; padding: 10px;">
 
End If
 
</pre><br>
 
<pre style="background-color: #45289F; color: white; border-radius: 10px; padding: 10px;">
 
If
 
Trigger fired: Dial phone Number #67890
 
</pre>
 
 
<pre style="background-color: #1665B0; color: white; border-radius: 10px; padding: 10px;">
 
Actions
 
 
App Enable
 
My bank app
 
</pre>
 
 
<pre style="background-color: #45289F; color: white; border-radius: 10px; padding: 10px;">
 
End If
 
</pre><br>
 
 
<pre style="background-color: #387F3D; color: white; border-radius: 10px; padding: 10px;">
 
Constraints
 
 
</pre><br>
 
<pre style="background-color: teal; color: white; border-radius: 10px; padding: 10px;">
 
Local variables
 
 
</pre><br>
 

Latest revision as of 18:44, 17 February 2024

About this action

This action can be used to enable or disable an app.
Root is required.