| Line 1: |
Line 1: |
| − | <pre style="background-color: #EEEEEE; color: Black;"> | + | <pre class="header-style">The Android Wear trigger allows macros to be invoked from the MacroDroid Android Wear companion app on a smartwatch, or to respond when an Android Wear device connects or disconnects from the phone.</pre> |
| − | This trigger can be configured to fire when an Android Wear device connects or disconnects. In addition this trigger can be used to fire a macro from the Android Wear MacroDroid companion app. Selecting this option will add a new entry in the Wear app allowing this macro to be invoked with a simple tap.</pre>
| |
| − | <br>
| |
| − | '''Example Usage'''<br/>
| |
| | | | |
| − | <pre style="background-color: #AC2424; color: white; border-radius: 10px; padding: 10px;">
| + | ''' Options ''' |
| − | Triggers
| |
| | | | |
| − | Android wear disconnected | + | * '''Android Wear App''' - Adds an entry in the Wear app allowing this macro to be invoked with a simple tap from the watch. When selected, you can choose an icon and background color for the watch app entry. |
| − | </pre>
| + | * '''Android Wear Connect''' - Trigger fires when an Android Wear device connects to the phone |
| − | <pre style="background-color: #1665B0; color: white; border-radius: 10px; padding: 10px;">
| + | * '''Android Wear Disconnect''' - Trigger fires when an Android Wear device disconnects from the phone |
| − | Actions
| |
| | | | |
| − | Short vibrate
| + | ''' Configuration ''' |
| − | Play: Alert.mp3
| |
| − | </pre>
| |
| − | <pre style="background-color: green; color: white; border-radius: 10px; padding: 10px;">
| |
| − | Constraints
| |
| | | | |
| | + | When selecting the '''Android Wear App''' option, you will be prompted to: |
| | + | * Select an icon from a list of available icons |
| | + | * Choose a background color for the icon by tapping the color selector |
| | | | |
| − | </pre><br> | + | ''' Examples ''' |
| | + | |
| | + | ''Example 1: Launch Macro from Watch'' |
| | + | <pre class="trigger-style">Triggers |
| | + | |
| | + | Android Wear App</pre> |
| | + | <pre class="action-style">Actions |
| | + | |
| | + | Toggle Flashlight</pre> |
| | + | |
| | + | ''Example 2: Notification When Watch Disconnects'' |
| | + | <pre class="trigger-style">Triggers |
| | + | |
| | + | Android Wear Disconnect</pre> |
| | + | <pre class="action-style">Actions |
| | + | |
| | + | Notification: Watch disconnected - check your watch!</pre> |
| | + | |
| | + | |
| | + | ''' Notes ''' |
| | + | |
| | + | * This feature requires the MacroDroid Android Wear companion app to be installed on the watch |
| | + | * To install the companion app, open the Play Store app on the watch and select 'Apps on your phone' |
| | + | * When using the Android Wear App option, the macro will appear in the MacroDroid app on the watch with the selected icon |
| | + | * The watch macro list is automatically synced when triggers are enabled or disabled |
| | + | |
| | + | ''' See Also ''' |
| | + | |
| | + | * [[Action:_Android_Wear|Android Wear Action]] |