Difference between revisions of "Action: Airplane Mode On/Off"

m (test)
m
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<pre style="background-color: #AC2424; color: white; border-radius: 10px; padding: 10px; margin: 10;">
+
<span style="color: #1665b0; font-size: 24px; display: inline-block; margin-top: 15px; margin-bottom: 15px;"><strong>About this action</strong></span>
Triggers
 
  
Day/Time Trigger
+
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
22:00 Mon - Sun
+
This action allows you to set the device's current default digital assistant.
 
+
This will (for example) allow you to switch dynamically between the Google default assistant and some other app when required.
Day/Time Trigger
 
07:00 Mon - Sun
 
</pre>
 
 
 
<pre style="background-color: #40289F; color: white; border-radius: 10px; padding: 10px; margin: 0;">
 
If
 
Trigger Fired: Day/Time Trigger
 
22:00 Mon - Sun
 
 
</pre>
 
</pre>
  
<pre style="background-color: #1660B0; color: white; border-radius: 10px; padding: 10px; margin: 0;">
+
<span style="color: #1665b0; font-size: 18px; display: inline-block; margin-top: 15px; margin-bottom: 15px;"><strong>Root Only</strong></span>
Actions
 
  
 +
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 +
No additional configuration is required, simply grant ROOT permissions to macrodroid and it will start working.
 
</pre>
 
</pre>
  
<pre style="background-color: #40289F; margin: 0; color: white; border-radius: 10px; padding: 10px; margin: 0;">
+
<span style="color: #1665b0; font-size: 18px; display: inline-block; margin-top: 15px; margin-bottom: 15px;"><strong>Macrodroid as Default Assist App</strong></span>
End If
 
</pre>
 
  
<pre style="background-color: #1660B0; color: white; border-radius: 10px; padding: 10px; margin: 0;">
+
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Actions
+
In this situation, the google assistant (Default) is replaced by MacroDroid, this change will make functions like OK google unavailable.
  
Set Digital Assistant
+
Requires MacroDroid to be configured as the default digital assistant/voice input app.
Macrodroid
+
Please note you should also grant MacroDroid permission to use the microphone so the assistant app can continue to function correctly.
 
</pre>
 
</pre>
  
 +
<span style="color: #1665b0; font-size: 18px; display: inline-block; margin-top: 15px; margin-bottom: 15px;"><strong>ADB hack</strong></span>
  
 +
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 +
To use this function you need to have ADB hack permissions.
  
<pre style="background-color: #387F3D; color: white; border-radius: 10px; padding: 10px; margin: 10;">
+
It will toggle the current application by macrodroid, then switch back to the application that was configured, after the process functions like OK google will remain functional.
Constraints
+
</pre><br/>
  
</pre>
+
* ''How to grant permissions '' ''[https://macrodroidforum.com/index.php?threads/adb-hack-granting-extra-capabilities-via-the-adb-tool.48/ ADB Hack]''
<pre style="background-color: teal; color: white; border-radius: 10px; padding: 10px; margin: 0;">
+
* ''If you do not have MacroDroid Helper installed, download it from here.'' ''[https://www.macrodroidforum.com/index.php?threads/macrodroid-helper-apk.1/ Installing helper.]''
Local variables
+
* ''If you have Android 14, additional configuration is required.'' ''[http://www.macrodroidforum.com/index.php?threads/installing-helper-on-android-14.5606/ Installing helper on Android 14+.]''
 
 
assistant = False
 
</pre>
 

Latest revision as of 17:57, 17 February 2024

About this action

This action allows you to set the device's current default digital assistant.
This will (for example) allow you to switch dynamically between the Google default assistant and some other app when required.

Root Only

No additional configuration is required, simply grant ROOT permissions to macrodroid and it will start working.

Macrodroid as Default Assist App

In this situation, the google assistant (Default) is replaced by MacroDroid, this change will make functions like OK google unavailable.

Requires MacroDroid to be configured as the default digital assistant/voice input app.
Please note you should also grant MacroDroid permission to use the microphone so the assistant app can continue to function correctly.

ADB hack

To use this function you need to have ADB hack permissions.

It will toggle the current application by macrodroid, then switch back to the application that was configured, after the process functions like OK google will remain functional.