Line 1: |
Line 1: |
− | == About == | + | <span style="color: #1665b0; font-size: 24px; display: inline-block; margin-top: 15px; margin-bottom: 15px;"><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;"> |
| This action allows you to set the device's current default digital assistant. | | 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. | | This will (for example) allow you to switch dynamically between the Google default assistant and some other app when required. |
− | </pre><br/> | + | </pre> |
− | | |
− | ==<p><b>Configuration available</b></p>==
| |
| | | |
− | === Root Only === | + | <span style="color: #1665b0; font-size: 18px; display: inline-block; margin-top: 15px; margin-bottom: 15px;"><strong>Root Only</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;"> |
Line 14: |
Line 12: |
| </pre> | | </pre> |
| | | |
− | === Macrodrood as Default Assist App === | + | <span style="color: #1665b0; font-size: 18px; display: inline-block; margin-top: 15px; margin-bottom: 15px;"><strong>Macrodroid as Default Assist App</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;"> |
Line 23: |
Line 21: |
| </pre> | | </pre> |
| | | |
− | === ADB hack === | + | <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;"> | | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> |
Line 29: |
Line 27: |
| | | |
| 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. | | 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. |
− | </pre> | + | </pre><br/> |
− | * ''''' [http://www.macrodroidforum.com/index.php?threads/adb-hack-granting-extra-capabilities-via-the-adb-tool.48/ ADB hack] '''''
| |
− | <br/> | |
− | | |
− | ''''' The 3 available methods support the same functions. '''
| |
− | | |
− | * ''''' Airplane Mode On '''''
| |
− | Activate airplane mode.
| |
− | | |
− | * ''''' Airplane Mode Off '''''
| |
− | Turn off airplane mode.
| |
− | | |
− | * ''''' Airplane Mode Toogle '''''
| |
− | Toggles the current status of the airplane mode.
| |
− | | |
− | ==<p><b>Example</b></p>==
| |
− | | |
− | ''''' This macro activates the airplane mode at night (22:00) and deactivates it in the morning (07:00).'''
| |
− | <br>
| |
− | | |
− | <pre style="background-color: #AC2424; color: white; border-radius: 10px; padding: 10px;">
| |
− | Triggers
| |
− | | |
− | Day/Time Trigger
| |
− | 22:00 Mon - Sun
| |
− | | |
− | Day/Time Trigger
| |
− | 07:00 Mon - Sun
| |
− | </pre><br>
| |
− | | |
− | <pre style="background-color: #45289F; color: white; border-radius: 10px; padding: 10px;">
| |
− | If
| |
− | Trigger Fired: Day/Time Trigger
| |
− | 22:00 Mon - Sun
| |
− | </pre>
| |
− | | |
− | <pre style="background-color: #1665B0; color: white; border-radius: 10px; padding: 10px;">
| |
− | Actions
| |
− | | |
− | Airplane Mode On
| |
− | </pre>
| |
− | | |
− | <pre style="background-color: #45289F; color: white; border-radius: 10px; padding: 10px;">
| |
− | End If
| |
− | </pre>
| |
− | | |
− | <pre style="background-color: #45289F; color: white; border-radius: 10px; padding: 10px;">
| |
− | If
| |
− | Day/Time Trigger
| |
− | 07:00 Mon - Sun
| |
− | </pre>
| |
− | | |
− | <pre style="background-color: #1665B0; color: white; border-radius: 10px; padding: 10px;">
| |
− | Actions
| |
− | | |
− | Airplane Mode Off
| |
− | </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>
| + | * ''How to grant permissions '' ''[https://macrodroidforum.com/index.php?threads/adb-hack-granting-extra-capabilities-via-the-adb-tool.48/ ADB Hack]'' |
| + | * ''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.]'' |
| + | * ''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+.]'' |