Before following this tutorial, make sure you create the floating icon from step 1 here so that the "swipe right border" command is sent when you swipe the right border of your watch.
In this project we're going to create a mini-launcher that shows your most used apps when you're not connected to a certain wifi network, and announces your heart rate when you are. With Tasker and AutoWear your mini-launcher can do whatever is most appropriate for the situation you're in!
STEP 1 - WHEN NOT CONNECTED...
- Setup a Tasker profile with a "not connected to wifi" condition and use your wifi network
You can use any condition here. I just used this one as an example
STEP 2 - ...CREATE WATCH APPS LIST
- In the task, add an "AutoWear List Screen" action
- Tap the "Icons" field
- Select 3 icons in the file browser. In this example I selected the Fit, Google Keep and Yatse icons
STEP 3 - SET LABELS
- Tap the "Labels" field
- Write "Fit,Keep,Yatse"
You set 3 icons and then 3 labels. Label 1 will correspond to icon 1, label 2 to icon 2 and label 3 to icon 3.
STEP 4 - COMMAND TO SHOW
- Tap the "Command to Show" field
- Write "swipe right border"
Notice that this is the same command that the floating icon from the other tutorial sends.
STEP 5 - COMMAND PREFIX
- Set the Command Prefix to "watchapp"
When you tap on an item in the list, the corresponding label will be sent as a command (because you didn't set the "Commands" field). By setting a prefix you'll send "prefix=:=label" instead. So for example, when you tap the "Keep" item, it'll send "watchapp=:=Keep" instead of just "Keep"
STEP 6 - SET NAME
- Set the Screen name to "Screen Right Border"
You're going to always use this name on the element you want to show up when swiping the right border. When you create an element with the same name it overwrites the previous one. This way only 1 element will show up when you swipe the right border.
STEP 7 - REACTING TO "WATCHAPP=:="
- Create a new Tasker profile with an "AutoWear Command" condition
- In the Command filter write "watchapp=:="
STEP 8 - SHOW APP TO LAUNCH
- In the task add a flash with the text "Opening %awcomm on watch..."
%awcomm contains whatever is at the right of "=:=" which in this case is the app name. More info on the AutoApps Command System here.
STEP 9 - LAUNCH APP ON WATCH
- Add an "AutoWear App" action
- In the "Launch App" field tap the tag icon which will insert %awcomm into the text field
- Go back to the task and back out of Tasker
Test your setup. Swipe your right border and check that your list screen appears. Then tap an app on the list and check that it is launched.
STEP 10 - WHEN CONNECTED...
- Setup a Tasker profile with a "connected to wifi" condition and use your wifi network
We're going to turn on your watch's screen, launch the Heart rate app and get your heart rate into Tasker when you swipe your right border and are connected to your wifi network
STEP 11 - TURN ON SCREEN
- Add an "AutoWear App" action
- Check the "Turn on Screen" action
STEP 12 - CHECK HEART RATE
Because Android sometimes has trouble turning on your screen and launching an app right after, we're going to wait a second between the previous action and this one
- Add a 1 second wait action
- Add an "AutoWear App" action
- Tap the "Command" field, then the tag icon and select "<heartrate>"
- Uncheck the "Trigger Events" option
By unchecking this option you make sure that no profile with the "AutoWear Command" condition is triggered with the command you're sending here
- Under "Launch System App" select "Heart Rate"
Not in the video: Set the screen name to "Screen Right Border" to overwrite the other screen with the same name
- Accept the settings
STEP 13 - SHOW HEART RATE AND DISMISS HEART RATE APP
- Add a flash action with the text "Heart Rate is %awmessage"
- Add an "AutoWear Single Screen" action
- Set its timeout to 1 second under advance
By launching this single screen the heart rate app will close. By setting its timeout to 1 second, this screen will also close right away, bringing you back to your watch face on your watch, allowing the screen to turn off
Not in Video: Since version 1.0.2 AutoWear has the "Watch Face" system app available in the "AutoWear App" action. This will allow you to directly go to the watch face without the need to create this blank single screen, so use that.
![](data/resource_icons/0/20.jpg?1424441013)
AutoWear Dynamic Mini Launcher
Create a mini launcher that changes depending on where you are