Hi,
I am having difficulty getting something I would think easy to work on my Nexus for my car install.
I was wondering how people are getting tasker tasks to be triggered off keyboard hotkeys when using either their Joycon or a standard external keyboard.
It seems from research the way to do this used to be quick launch shortcuts (assigning search key + a letter) to an app or shortcut but it seems these do not work for me in android 4.4?
External keyboard helper lets you launch applications from hotkeys, but seems to give no way of launching tasker tasks.
This is really doing my head in! From youtube it looks like others have no issues doing this. Any help would be greatly appreciated!
Well, the only thing I can think of right now is to use a Tasker Scene with a focused textbox to detect the keys. You will have to run this scene as a dialog, and deal with all the complications with that... (touch disabled outside of dialog, etc) but here's another idea.
You could use a mobile bluetooth keyboard (or any keyboard that has volume/brightness keys) and have a Tasker profile pick up a change in the ringer volume variable, this would give you 2 or 3 hotkeys (vol up, down, or mute). If you don't have a keyboard like that you could edit the Android keymappings under /system/usr/keylayout/General.kl to incorporate volume changes under some key.
Sent from my SCH-I605 using xda app-developers app
Good idea with detecting the variable changes! I'm using an Arduino Micro which emulates a keyboard so I will have no problem emulating them via buttons & changing the keyboard layout kl if nessesary. Thanks
I am currently working on the same topic: Here is my workaround for trigger a task with an external bluetooth keyboard.
create a task in Tasker
create an app of this task with Tasker App Factory
remap a key of the keyboard to the new app with External Keyboard Helper
Finish
Maybe this is helpful
Thomas
What are you trying to accomplish?
Lokifish Marz said:
What are you trying to accomplish?
Click to expand...
Click to collapse
1. With a bluetooth remote (Satechi BT MediaRemote) i want to switch between the homescreen by pushing a key. (launcher nova and tasker secure settings are necessary)
2. a tasker scenes (dialog) with different options should open by pushing another key. Navigation in the scene should do also with the Bluetooth remote (not yet finish).
The goal is an intuitive handling of the tablet ui in the car with less touch-input on the screen. Something like Audi MMI or BMW idrive.
In my opinion to find icon on the homescreen while driving is difficult.
Here is my current set up.
Nexus 7 (In dash)
Center console mounted volume dial with push to mute (Tablet>dial>amp)
(Not shown in the screencap is that the media widget is also in the Navbar and accessed via a softkey in the navbar)
The console dial was initially a USB 5 button mouse with key remapping but required the amp gain be cranked up which caused issues.
Now for full control you need the following;
(Some of these things can be eliminated with voice controls)
Media Control (Previous, Play/Pause, Next, Playlist, etc.)
Directional controls (Up, Down, Left, Right)
Action Controls (Select, Home, Back, Recent, Menu)
Phone Control (Answer, Hangup, Dialpad)
SMS Control (Full KB or voice to text using a noise canceling mic)
If you skip voice control and you don't count the dialpad or KB, you need 15 buttons or adaptive input based on what app is running but still need at least 5-6 buttons. I am not sure how involved implementation of adaptive input would be as I gave up after days of trying to get it just right.
With the Satechi BT MediaRemote, you can cover most of this by key remapping but have to remember what keys are what. The advantage of proper key remapping is that it removes the need for additional apps to get it to work.
Seeing that I'm not sure how complete of a setup you are trying to get, it's hard to offer anymore advice.
I created a task which show the "Popup task buttons", but unfortunately the default window which popups is really too small. I tried to manually resize the layout but the result was a true mess: the buttons size and position behave erratically between the Scene editor and the real window which popup. Any idea?
Hard to tell what is happening without seeing how you are trying to resize. I have attached a modified pop-up task button scene. You could import this into your tasker and see if it is closer to what you want.
To import the modified scene, put it in a scenes subdirectory within the Tasker folder on your device, which is usually:
Code:
/sdcard/tasker/scenes/
The scene name can be changed I've imported. These days, I tend to add my user name to prevent import issues due to name space collisions.
I've made only small a change so I can try to get an idea as to what you want. Showing a picture of what the stock scene is doing that you want to fix might help.
Thanks for your reply. What I'd like to get is something like this:
https://ibb.co/WkSSs3K
but if I create this in Scene Editor, what I get in the real task is this
https://ibb.co/ncgNZbP
Obviously I am missing something here but what?
When you tried to resize the buttons, did you use the resize touch mode (hand icon -> resize) or did you try to drag in either the default normal touch mode (hand icon -> normal) or edit touch mode (hand icon -> edit)? It's easier to control using the resize and move touch modes. But, in order to enter the element editor, it helps to be in normal touch mode.
There is a magnifying glass at the lower right. Tapping that will toggle between the editor (default - magnifying glass will display a minus sign) and display (default - magnifying glass will display a plus sign). When in the editor, the scene is often zoomed in which can change how the scene appears.
If it helps, I've attached a scene modified similar to your first picture.
I really don't know what is going on here, but something odd is happening.
I create a simple task using your layout (which is exactly what I'd like to get), but when I actually run the preview of the task i see this instead.
https://ibb.co/n00VqhH
This behaviour is the same with almost every layout I create: I see an image in the scene editor and a totally different one when I run the task.
Any ideas?
daniele62 said:
I really don't know what is going on here, but something odd is happening.
I create a simple task using your layout (which is exactly what I'd like to get), but when I actually run the preview of the task i see this instead.
https://ibb.co/n00VqhH
This behaviour is the same with almost every layout I create: I see an image in the scene editor and a totally different one when I run the task.
Any ideas?
Click to expand...
Click to collapse
I have no idea. Could you post your task that displays this scene. For help find that, please see this post.
Also, what device and OS is this?
Conferma (25)
A1: Popup Task Buttons [ Text:Sure? Mode:Text Task:Ripristina Task:No Task: Background Image: Layoutopup Task Buttons - Ktmom Larger Timeout (Seconds):10 Show Over Keyguardn ]
Sorry. This is a little different task because I deleted the previous one, but the behavior is exactly the same.
Ahhh, I see. Try using this scene, but use a display scene action. Make sure to have an action in the task or the tasks associated with pop-up buttons, which destroys the scene when you're done.
Thanks. I used "Display scene" instead of "Popup task button" and now it works as expected.
The pop-up button action "should" work. Unfortunately, Tasker's current developer has made it clear he will not support the built in scenes. I'm guessing there will be a day where the scenes become even more problematic and we'll be forced to AutoTools web scenes.
«rant»I have spent days trying to convert one of my many custom scenes to a web scene. You need html, css, and JavaScript plus an understanding of how to set and receive variables back and forth. It's second to impossible to develop on the device. Which at least in my case means I can't tweak when in at the doctors office or hospital with my son. And I rarely have time to sit on the computer at home «/rant»
Table of Contents
Preface
Requirements
Difficulty
How it works!
Uses
Autorun
Demo, screenshots, TaskerNet & project backup
Tips
Why not those easy to use apps from PlayStore?
End note.
1. PrefaceBefore getting my hands on Pixel 6, I was using a Samsung Galaxy S8 running on an Android 10 custom ROM. Samsung provides an advanced, and very useful app called Good Lock, in which the "One Hand Operation +" feature helps us to set up upto freaking 36 number of swipe gesture shortcuts, from the left and right (top, center and bottom) sides of the screen, irrespective of which screen or app is currently active on the screen.
The only thing that I was sure about missing in Pixel 6 was this swipe gestures. That's why I did my research even before receiving my Pixel. Now I've successfully implemented a replica of the Samsung's swipe gesture into my Google Pixel.
These gestures makes it very easy to use this big and heavy smartphone.
This gesture setup made it easy for me to pull up my Control Panel created in Tasker, whenever I need, irrespective of which app or screen I'm in.
2. Requirements
Tasker
Tasker terms to understand (Only for those who are new to Tasker)
TASK : An action or set of actions which will be later run by Tasker by itself, when defined conditions are met. Can also be run manually via the Tasker app.
Examples: Launch an app, change ringer volume, toggle WiFI, disable auto rotation etc.
PROJECT : An individual Tasker set up, where we define the conditions to meet, and the tasks to be performed when the defined conditions are met.
Example 1: A profile which automatically enables the auto-rotation (task), when YouTube is opened (condition), and disables auto-rotation when you leave YouTube.
Example 2: A profile which automatically enables mobile data (task), when your device is connected to your car WiFi (condition) or Android Auto.
SCENE : A visible, or invisible shape which will be displayed on the screen, and can be configured to respond to a swipe, tap or long tap on it, and then accordingly perform a pre-defined task. A scene can only be enabled (show) and disabled (destroy) through a task or a project.
Example 1: A visible button that can be displayed on the screen, or an invisible location on the screen, which disables WiFi when we long tap on it.
Example 2: A visible button that can be displayed on the screen, or an invisible location on the screen, which opens recent apps list when we swipe on it.
"If" variables to be used in scenes for assigning shortcuts, to each combination of a swipe length and a swipe direction:
%stroke_len : Defines the length of the swipe in pixels.
%stroke_dir : Defines the direction of the swipe. (Read How It Works! section)
Actions that can be performed on a scene:
Tap: A single touch ON the scene.
Long tap: Single touch & holding, ON the scene.
Stroke: A regular swipe started FROM the scene, and ended anywhere on the screen.
Don't get confused, there are NO different swipe types like long swipe, or short swipe in Tasker by default. For this project, we can mention a swipe with %stroke_len more than a user specified number as a long swipe, and a swipe shorter than that as a short swipe.
3. DifficultyYou only need to know the basics of Tasker app and scenes. If you are okay with creating, editing, showing and destroying scenes, then it's just a cakewalk.
You just need to create scenes wherever you want, then inside the tap, or long tap, or stroke tabs of your scene, add the if statements with any one of %stroke_len > or %stroke_len <, AND, %stroke_dir ~ as two conditions, and then your desired set of actions inside each if statement, between If and EndIf. (Refer Demo, Screenshots & Project Backup section)
If you are not comfortable with creating, editing, showing and destroying scenes, it will take maximum 1-2 hours to understand the same.
It is time consuming, only during the initial setup from the scratch.
After that, it is editing or adding conditions and shortcuts, again, it's just a cakewalk.
4. How it works!Using the scenes inside Tasker, we are setting up three different areas on the screen, which are, top (horizontal), left and right (vertical). Inside each scene, we can make small multiple shapes, where we can add different tasks to each portion, when we do a swipe, tap or long tap on it.
When it comes to swipe, we can define the swipe length (using %stroke_len) and the swipe direction (using %stroke_dir), where we can assign different tasks to each conditions, which are made with a pair of a swipe length and a swipe direction.
What is more interesting is that the swipe directions can be any of vertical or horizontal directions like Up, Down, Left, or Right, and also diagonal directions like UpLeft, UpRight, DownLeft and DownRight. (But try not to use vertical and diagonal directions together at a single location, as it might bring conflicts and may end up giving you wrong response because of failing to read your swipe correctly).
These gestures are NOT restricted to homescreen, but works irrespective of which screen or app is currently active on the screen (Exception: To make scenes work in Settings app, you need to Allow Screen Overlays in Settings through developer options).
5. UsesFor instance, a task (set of actions) can be assigned into a swipe gesture like short swipe to UpLeft direction, and another task to another swipe long swipe to UpRight direction, etc.
Examples:
Short swipe from left center edge in UpRight direction, opens YouTube.
Short swipe from right center edge in DownLeft direction, jump to last app.
Long tap on the top middle (1st scene) of the screen, toggles WiFi.
Long tap on the top middle (2nd scene) of the screen, toggles mobile data.
Long swipe from right top edge in Up direction, takes a screenshot.
Long swipe from right bottom edge in Down direction, kill foreground app.
6. AutorunYou can assign the same task (which is set up to show the scene), to a new profile which gets triggered on the device boot. This will make these swipe gestures enable automatically few seconds (or so) after booting your smartphone.
However, you can always open the task inside Tasker app, and click on the play button (⏵) to run the task manually, which will show the scene (or enable the swipe gestures).
Since I'm using Nova Launcher, I also added the same task to a Nova's homescreen gesture, so that I can easily restart this swipe gesture from homescreen itself, whenever required, or just after editing the scene via Tasker. This is very helpful because whenever we edit a scene via Tasker, the scene will get automatically destroyed. So every time you modify a scene, we have to manually re-enable it.
7. Demo, screenshots, TaskerNet & project backup
Demo:
Google Pixel: In this screenshot, I have mentioned all of the possibilities we have for the Pixel 6, which doesn't get into conflict with the existing system gestures provided by Google.
Others: I suggest using these kind of directions in other android devices which doesn't have native gestures like left swipe from the right edge, and right swipe from the left side edge.
Screenshots: This is the screen where we edit or add set of tasks to be performed, using if statements with conditions %stroke_len > (or %stroke_len <), AND %stroke_dir ~.
TaskerNet: Projects for Pixel 6 and Galaxy S8.
Project Backup: To start with setting up this project, if you want, you can also refer to these regularly updated backup of my setup where I included all the scenes, required task to activate the scene, and the project to autorun this setup on device boot. The folder includes files for both Galaxy S8 and Google Pixel 6. (You can refer here for assistance on how to import task and scene into your Tasker)
8. Tips
If your device (like Google Pixel) already got a native swipe gesture like left swipe from the right screen edge, and right swipe from the left screen side edge, you should not create a similar gesture via Tasker, which will conflict with your existing system gestures.
Swipe direction Down from a top horizontal scene might also end up in issues since most of the Android devices natively use the same gesture to pull down notification panel.
Try not to use vertical directions and diagonal directions together. For example, in right side, don't use Up or Down series AND UpLeft, DownLeft series together. Both these series at a single location might bring conflicts and it may end up giving you wrong response because of failing to read your swipe correctly.
Try not to avoid using tap. Instead, use long tap, to avoid accidental touches.
Always keep the size of the scenes thin, because these scene are blocking scenes which makes area behind it untouchable. So anything below the scene is, impossible to touch. (Refer tip number 8 along with this)
Always re-activate (show) the scene after making any changes, because making changes disables (destroy) the scene.
Assign the (scene enabling) task to any swipe gestures of your launcher (if any) to make restarting the gesture easy. However, you can always open the task inside Tasker app, and click on the play button (⏵) to run the task manually.
This is a workaround to make these blocking scenes hide temporarily so that we can touch whatever was behind the scene. (Thanks to user ActivateGuacamole for this idea)
Few other valuable tips for choosing the right swipe length for tasks considering their frequency of usage. (Thanks to user ActivateGuacamole for this idea)
9. Why not those easy to use apps from PlayStore?
Because Tasker is powerful. Period.
I have tried few popular gesture setting apps but I always came back to Tasker itself because of the level of control, and customization we have here. Tasker can do impressive automations, which can also be implemented into this swipe gestures, something that can't be achieved with other easy to use and ready-made gesture apps.
With this method, I can add a set of actions (not just one single action), one by one, to be performed, into one single gesture. So if I wanted to do a swipe on the screen, and then another direction swipe, and then a click on a specific area, all these automatically, I can easily do with Tasker.
Examples:
Kill and remove foreground app from recent: You can watch this screen record video which shows my simple swipe gesture running the task where Tasker automates actions (a) open recent apps list, (b) a swipe action to swipe away the app, and (c) another swipe action to go to home screen. All this within a fraction of second. Impressive. isn't it?
Clear all recent apps: In Pixel 6, clear all button is placed at the end of the list. But watch this one, a simple gesture is enough. Tasker will take care of the rest. Again, Impressive. Isn't it?
For implementing such complicated automations, advanced settings and toggling, into a swipe gesture, Tasker is the best solution.
10. End note.It took days of questions, answers, trail and errors to first understand, and then to make this thing work flawless. Me and my couple of friends really find this useful in our smartphones, so I decided to share it with you also. If you find this useful for you, go ahead. And if you think this is not worth the time and effort required, you can kindly ignore.
I, a noob, wouldn't have made this possible without receiving a help from another person. So, a big thanks to u/adbenj for the initial guide and idea.
Always remember that there is nothing in the world like suitable for everyone, so stick to whatever is suitable for you.
Click to expand...
Click to collapse
.
UPDATE 1: Added TaskerNet in section "7. Demo, screenshots, TaskerNet & project backup".
Awesome information and Guide!
Thank you for taking the time to put all of this together from the Taker files themselves and then a complete and detailed write up!
.
coffee-turtle said:
Awesome information and Guide!
Thank you for taking the time to put all of this together from the Taker files themselves and then a complete and detailed write up!
Click to expand...
Click to collapse
I know this is not something that everyone considers worthy, because of the time and effort required for the initial setup. Most of the people might go with those free ready to use applications from Play Store. But I thought at least Tasker uses might consider this useful because they are already using the Tasker and automating lot of things like a power user, or a techie (like I pretend )
I did enjoy the whole process from research, trial & error, finishing and finally this write up.
Anyway, thanks for the nice words. It took half a day to finish this write up, after numerous editing formatting and reformatting.
Happy to know that the time that I spent for this write up didn't get wasted by mere replies like "not worthy".
Thanks
Actually, now I am replacing some apps! Tasker is great and nice to have everything under one roof with greater customizing! You should also post this on Joas main Tasker Reddit forum and consider adding the demos to TaskerNet. Not only will this get greater visibility, but a lot of action happens there especially when Joas comes up with new updates. One of his last videos really highlighted scenes because he made them even able to appear on the lock screen, navigation bar, and status bar. This will even add more power to what you present here.
Not everyone explains in such detail as you did here and you've inspired some ideas to make using my phone even easier.
Keep up your good work!
coffee-turtle said:
Not everyone explains in such detail as you did here and you've inspired some ideas to make using my phone even easier.
Click to expand...
Click to collapse
For the past 3 moths, I explained this briefly to many people in Reddit via comments. So I already know what all questions may pop up when explaining this, which helped me to make this final post very detailed.
consider adding the demos to TaskerNet
Click to expand...
Click to collapse
The thing is, I don't think there is a way to share the scenes via TaskerNet URLs. Only project and task can be shared via that. That's why I exported the project, required tasks and scenes, and uploaded to a shared Google Drive folder.
Will do post in Tasker subreddit also.
Anyway, thank you for your kind words
coffee-turtle said:
...and consider adding the demos to TaskerNet.
Click to expand...
Click to collapse
Hi.
To be honest, today only I learned how to move (rather than exporting, deleting & importing) a profile, task and relevant scenes into a new project.
So finally I updated the post with TaskerNet links in section "7. Demo, screenshots, TaskerNet & project backup"
Great work Thanks!
ShebeerPrince said:
Table of Contents
Preface
Requirements
Difficulty
How it works!
Uses
Autorun
Demo, screenshots, TaskerNet & project backup
Tips
Why not those easy to use apps from PlayStore?
End note.
1. PrefaceBefore getting my hands on Pixel 6, I was using a Samsung Galaxy S8 running on an Android 10 custom ROM. Samsung provides an advanced, and very useful app called Good Lock, in which the "One Hand Operation +" feature helps us to set up upto freaking 36 number of swipe gesture shortcuts, from the left and right (top, center and bottom) sides of the screen, irrespective of which screen or app is currently active on the screen.
The only thing that I was sure about missing in Pixel 6 was this swipe gestures. That's why I did my research even before receiving my Pixel. Now I've successfully implemented a replica of the Samsung's swipe gesture into my Google Pixel.
These gestures makes it very easy to use this big and heavy smartphone.
This gesture setup made it easy for me to pull up my Control Panel created in Tasker, whenever I need, irrespective of which app or screen I'm in.
2. Requirements
Tasker
Tasker terms to understand (Only for those who are new to Tasker)
TASK : An action or set of actions which will be later run by Tasker by itself, when defined conditions are met. Can also be run manually via the Tasker app.
Examples: Launch an app, change ringer volume, toggle WiFI, disable auto rotation etc.
PROJECT : An individual Tasker set up, where we define the conditions to meet, and the tasks to be performed when the defined conditions are met.
Example 1: A profile which automatically enables the auto-rotation (task), when YouTube is opened (condition), and disables auto-rotation when you leave YouTube.
Example 2: A profile which automatically enables mobile data (task), when your device is connected to your car WiFi (condition) or Android Auto.
SCENE : A visible, or invisible shape which will be displayed on the screen, and can be configured to respond to a swipe, tap or long tap on it, and then accordingly perform a pre-defined task. A scene can only be enabled (show) and disabled (destroy) through a task or a project.
Example 1: A visible button that can be displayed on the screen, or an invisible location on the screen, which disables WiFi when we long tap on it.
Example 2: A visible button that can be displayed on the screen, or an invisible location on the screen, which opens recent apps list when we swipe on it.
"If" variables to be used in scenes for assigning shortcuts, to each combination of a swipe length and a swipe direction:
%stroke_len : Defines the length of the swipe in pixels.
%stroke_dir : Defines the direction of the swipe. (Read How It Works! section)
Actions that can be performed on a scene:
Tap: A single touch ON the scene.
Long tap: Single touch & holding, ON the scene.
Stroke: A regular swipe started FROM the scene, and ended anywhere on the screen.
Don't get confused, there are NO different swipe types like long swipe, or short swipe in Tasker by default. For this project, we can mention a swipe with %stroke_len more than a user specified number as a long swipe, and a swipe shorter than that as a short swipe.
3. DifficultyYou only need to know the basics of Tasker app and scenes. If you are okay with creating, editing, showing and destroying scenes, then it's just a cakewalk.
You just need to create scenes wherever you want, then inside the tap, or long tap, or stroke tabs of your scene, add the if statements with any one of %stroke_len > or %stroke_len <, AND, %stroke_dir ~ as two conditions, and then your desired set of actions inside each if statement, between If and EndIf. (Refer Demo, Screenshots & Project Backup section)
If you are not comfortable with creating, editing, showing and destroying scenes, it will take maximum 1-2 hours to understand the same.
It is time consuming, only during the initial setup from the scratch.
After that, it is editing or adding conditions and shortcuts, again, it's just a cakewalk.
4. How it works!Using the scenes inside Tasker, we are setting up three different areas on the screen, which are, top (horizontal), left and right (vertical). Inside each scene, we can make small multiple shapes, where we can add different tasks to each portion, when we do a swipe, tap or long tap on it.
When it comes to swipe, we can define the swipe length (using %stroke_len) and the swipe direction (using %stroke_dir), where we can assign different tasks to each conditions, which are made with a pair of a swipe length and a swipe direction.
What is more interesting is that the swipe directions can be any of vertical or horizontal directions like Up, Down, Left, or Right, and also diagonal directions like UpLeft, UpRight, DownLeft and DownRight. (But try not to use vertical and diagonal directions together at a single location, as it might bring conflicts and may end up giving you wrong response because of failing to read your swipe correctly).
These gestures are NOT restricted to homescreen, but works irrespective of which screen or app is currently active on the screen (Exception: To make scenes work in Settings app, you need to Allow Screen Overlays in Settings through developer options).
5. UsesFor instance, a task (set of actions) can be assigned into a swipe gesture like short swipe to UpLeft direction, and another task to another swipe long swipe to UpRight direction, etc.
Examples:
Short swipe from left center edge in UpRight direction, opens YouTube.
Short swipe from right center edge in DownLeft direction, jump to last app.
Long tap on the top middle (1st scene) of the screen, toggles WiFi.
Long tap on the top middle (2nd scene) of the screen, toggles mobile data.
Long swipe from right top edge in Up direction, takes a screenshot.
Long swipe from right bottom edge in Down direction, kill foreground app.
6. AutorunYou can assign the same task (which is set up to show the scene), to a new profile which gets triggered on the device boot. This will make these swipe gestures enable automatically few seconds (or so) after booting your smartphone.
However, you can always open the task inside Tasker app, and click on the play button (⏵) to run the task manually, which will show the scene (or enable the swipe gestures).
Since I'm using Nova Launcher, I also added the same task to a Nova's homescreen gesture, so that I can easily restart this swipe gesture from homescreen itself, whenever required, or just after editing the scene via Tasker. This is very helpful because whenever we edit a scene via Tasker, the scene will get automatically destroyed. So every time you modify a scene, we have to manually re-enable it.
7. Demo, screenshots, TaskerNet & project backup
Demo:
Google Pixel: In this screenshot, I have mentioned all of the possibilities we have for the Pixel 6, which doesn't get into conflict with the existing system gestures provided by Google.
Others: I suggest using these kind of directions in other android devices which doesn't have native gestures like left swipe from the right edge, and right swipe from the left side edge.
Screenshots: This is the screen where we edit or add set of tasks to be performed, using if statements with conditions %stroke_len > (or %stroke_len <), AND %stroke_dir ~.
TaskerNet: Projects for Pixel 6 and Galaxy S8.
Project Backup: To start with setting up this project, if you want, you can also refer to these regularly updated backup of my setup where I included all the scenes, required task to activate the scene, and the project to autorun this setup on device boot. The folder includes files for both Galaxy S8 and Google Pixel 6. (You can refer here for assistance on how to import task and scene into your Tasker)
8. Tips
If your device (like Google Pixel) already got a native swipe gesture like left swipe from the right screen edge, and right swipe from the left screen side edge, you should not create a similar gesture via Tasker, which will conflict with your existing system gestures.
Swipe direction Down from a top horizontal scene might also end up in issues since most of the Android devices natively use the same gesture to pull down notification panel.
Try not to use vertical directions and diagonal directions together. For example, in right side, don't use Up or Down series AND UpLeft, DownLeft series together. Both these series at a single location might bring conflicts and it may end up giving you wrong response because of failing to read your swipe correctly.
Try not to avoid using tap. Instead, use long tap, to avoid accidental touches.
Always keep the size of the scenes thin, because these scene are blocking scenes which makes area behind it untouchable. So anything below the scene is, impossible to touch. (Refer tip number 8 along with this)
Always re-activate (show) the scene after making any changes, because making changes disables (destroy) the scene.
Assign the (scene enabling) task to any swipe gestures of your launcher (if any) to make restarting the gesture easy. However, you can always open the task inside Tasker app, and click on the play button (⏵) to run the task manually.
This is a workaround to make these blocking scenes hide temporarily so that we can touch whatever was behind the scene. (Thanks to user ActivateGuacamole for this idea)
Few other valuable tips for choosing the right swipe length for tasks considering their frequency of usage. (Thanks to user ActivateGuacamole for this idea)
9. Why not those easy to use apps from PlayStore?
Because Tasker is powerful. Period.
I have tried few popular gesture setting apps but I always came back to Tasker itself because of the level of control, and customization we have here. Tasker can do impressive automations, which can also be implemented into this swipe gestures, something that can't be achieved with other easy to use and ready-made gesture apps.
With this method, I can add a set of actions (not just one single action), one by one, to be performed, into one single gesture. So if I wanted to do a swipe on the screen, and then another direction swipe, and then a click on a specific area, all these automatically, I can easily do with Tasker.
Examples:
Kill and remove foreground app from recent: You can watch this screen record video which shows my simple swipe gesture running the task where Tasker automates actions (a) open recent apps list, (b) a swipe action to swipe away the app, and (c) another swipe action to go to home screen. All this within a fraction of second. Impressive. isn't it?
Clear all recent apps: In Pixel 6, clear all button is placed at the end of the list. But watch this one, a simple gesture is enough. Tasker will take care of the rest. Again, Impressive. Isn't it?
For implementing such complicated automations, advanced settings and toggling, into a swipe gesture, Tasker is the best solution.
10. End note.It took days of questions, answers, trail and errors to first understand, and then to make this thing work flawless. Me and my couple of friends really find this useful in our smartphones, so I decided to share it with you also. If you find this useful for you, go ahead. And if you think this is not worth the time and effort required, you can kindly ignore.
I, a noob, wouldn't have made this possible without receiving a help from another person. So, a big thanks to u/adbenj for the initial guide and idea.
.
UPDATE 1: Added TaskerNet in section "7. Demo, screenshots, TaskerNet & project backup".
Click to expand...
Click to collapse
hey so i want to know how much extra battery this costs running.
And also i want to make some sort of simillar gesture swipe thing. i am wondering if via tasker i could do the following: keeping the regular side swipe horizontal to be back, and long swipe for previous app. but then also having the side gest. to be an app shortcut based on the current app running. so maybe like when youtube is running i can swipe up to open notes and write something down and then via previous app i am back to youtube. but when i am on the work app i can vertically swipe to bring the time tracker app. or a swipe down for the google maps route to home. etc. etc.
how would i manage to do this?
I am using a poco f2 pro if that matters and not rooted.