G-Sensor Applications - Touch Diamond, MDA Compact IV General

are there any? useful ones or fun ones?
and what about the "shake" feature?
----
fun app #1 - shake the "home" screen and get the calendar numbers to spin round like a slot machine, then settle back to the correct time.
fun app #2 - shake the "home" screen and get the weather "window wiper" to run.
----
any programmers up for the challenge

Related

Touch Screen APP

Anybody know of an app for the kaiser that has touch screen functions. Like say you tap the today screen twice in a row it shuts the screen of, or something like that, would be pretty nice. ANy ideas?
wktask has that feature, but its in the upper corner. Preferences -> action -> tap in today -> suspend
i love wktask
Great, thanks i'll look into that. So it's not as easy as tapping directly on the screen? I have to go to specific place? Not just suspend, but can i also launch different programs with different pattern touches?
Well, wktask has many features built in. Its basically a task manager, displays running tasks on the top bar, kind of like a desktop(with icons that you can click on). Its great for switching programs/ closing them all. It also has a program launcher that you can map in the action tab, such as verticle scroll. So thus, most of the actions must be in the top bar.
I see. I like the htc task manager and since that app doesn't really do stuff my touch screen recognition, i'll just stay with the htc one. Thanks a lot though.

Changes you would like?

Ok, post things you would change here, and lets se if any of the wonderful deverlopers can make it so?
Mine so far would be:
More options on the home screen menu, i.e. as well as call history and calender, maybe comm manager, task manager etc?
A quicker lock function than holding hang up for 5 seconds and selecting lock device...
The wallpaper of the homescreen showing on all other tabs...
Im sure i have more, will post them when they come to me....besides that i love it...
The first thing that comes into my mind is that you only can have 16 contacts 'at the front'. I would like to be able to browse my whole phone book like that
Better calendar integration with the TouchFlo 3D would also be nice. As well as fully customisable tabs
I want TF3D removed
mafiabs said:
I want TF3D removed
Click to expand...
Click to collapse
Start - Settings - Today
tap on Item tab
Uncheck Touchflo3d, Check other items that you want displayed (eg. messaging, Tasks, Device Lock etc)
tap on ok.
Done
I just came up with a brilliant idea. Maybe not an application which would be very useful. But rather fun i guess.
How about a phone pad with the classic old look of a num wheel. With animation and all. Integrated with the TF3D of course
Anyone feel the urge to make one now?
I want the diamond to wake up and ring and vibrate as soon as i get a new email through windows live. right now, the diamond doesn't wake up on new emails

GDE 0.1 available in the market

Not going to spam the sapphire forum, but because i mainly live in the G1 area I would like you all to know that I have developed a whole new Home Replacement called GDE. It has transitions like a cube, configurable toolbar buttons etc etc.
A link to the G1 thread ( with all features and some movies ) so i dont have to copy all of it over and over:
http://forum.xda-developers.com/showthread.php?p=4698010#post4698010
I have tested this on a G1 and a G2, but it should also run great on a Sapphire. If anyone has tried it please let me know how it works on your devices!
Downloaded to my mytouch and so far i'm liking it.
Couple of suggestions
1. For the option on the launch bar to bring up the phone, can you make it bring up the dialer and not the recent call list? kinda like the Hero
2. Now, when you press the menu button, the app tray pops up. I'd prefer if the normal menu would pop up. The one that has the option to change wallpaper, notifications, etc.
3. if there is a way, when trashing an icon, to make the whole bottom bar the trash, not just the bottom left corner.
4. the possibility to skin the launcher. (edit: i see in the original post that you said your working on this)
bugs i've noticed:
-when # of visible screens is set to 3 and default desktop is set to 1, you can not scroll all the way through. if you swipe right or left one time thats all that you can do. it doesn't allow you to swipe again to get to the home screen. edit: i forgot to mention that its when its in stretch mode and it doesn't work on any configuration (ie default desktop 1,2,etc). it works fine on cube
-when changing an option that require the restart of the launcher, it pops up the last used application such as sms or gmail.
thanks
Thanks for your input,
Downloaded to my mytouch and so far i'm liking it.
Couple of suggestions
1. For the option on the launch bar to bring up the phone, can you make it bring up the dialer and not the recent call list? kinda like the Hero
That indeed could be something to look at... i will look into it
2. Now, when you press the menu button, the app tray pops up. I'd prefer if the normal menu would pop up. The one that has the option to change wallpaper, notifications, etc.
The hard-menu button will be configurable in the near future, so you can set it to open up any menu you like i.e. settings... The control panel is going to get a lot bigger so it should allow you to do "almost" all things you were able to do in the past... and some more of course
3. if there is a way, when trashing an icon, to make the whole bottom bar the trash, not just the bottom left corner.
Well when you drag the right button will change into the trash... The left button is also context sensitive and in the future this will bring up a settings menu in which you can uninstall the app etc etc. I will give the icon the original red corner because the hit area isnt as clear this way ( its much bigger then you will think )
4. the possibility to skin the launcher. (edit: i see in the original post that you said your working on this)
bugs i've noticed:
-when # of visible screens is set to 3 and default desktop is set to 1, you can not scroll all the way through. if you swipe right or left one time thats all that you can do. it doesn't allow you to swipe again to get to the home screen. edit: i forgot to mention that its when its in stretch mode and it doesn't work on any configuration (ie default desktop 1,2,etc). it works fine on cube
The other transitions dont have endless scroll "yet"... I am working on implementing this into stretch and fade. The original transition can never support this, because of some technical reasons.
-when changing an option that require the restart of the launcher, it pops up the last used application such as sms or gmail.
thanks
I will see if i can make it so that it comes back to life again... it now forcefully kills GDE to clear out everything
Click to expand...
Click to collapse
Once again thanks for your input... this is what hopefully will make it the better home replacement.. If you ever come up with ideas, notice bugs or whatever dont hesitate to contact me
One thing i forgot to ask... Can you tell me how the transition speed is on a sapphire? I havent had a chance to run it on one... for now only the G1 and the G2.
On the G2 the cube transition is really fluid... So i hope it will also be on the Sapphire as they are the same hardware/memory wise if im not mistaking.
There are two versions of the Sapphire, one with 32B and one with 32A board. All Google/Vodafone/TIM/Provider branded sapphires are the 32B versions... which has ~182MB RAM, all sapphires with a HTC logo at the front are 32A and have ~290 MB RAM...
So your statement was partly correct
Loving the looks of your launcher by the way, reminds me of LG phones though ^^.
Ok thanks for the clarification and for loving the looks of course
I must be honest... I have never had an LG phone nor seen the interface.. So if it does im a good copycat without knowing ..
it seems pretty smooth. there is a little lag intermittently but not horrible. To get a good comparison I would need to have another phone to compare it too. But so far I'm liking it.
A thing I would like to see is a dock of 4 customisable icons (like the iPhone has yes...) and a shortcut on a different place to pull up the menu The 4x4 crap stucks :/ the 3 buttons take up too much space... I want my own icons there
I downloaded ur app btw because it has so much potential
rogro82 said:
One thing i forgot to ask... Can you tell me how the transition speed is on a sapphire? I havent had a chance to run it on one... for now only the G1 and the G2.
On the G2 the cube transition is really fluid... So i hope it will also be on the Sapphire as they are the same hardware/memory wise if im not mistaking.
Click to expand...
Click to collapse
By rights if it's fluid on the G1 it should be on the Sapphire as they're so similar. I've tested tried it out on my 32B and the 'stretch' and 'fade' effects are as smooth as silk, though 'cube' is alittle clunky even with the CPU at 528.
I'll throw in an iddy-biddy suggestion/request; could we get a configurable bottom-bar in a future build? I'd love to may it a bit darker or semi-transparent. Either way, no biggy.
Overall this is a killer Home replacement, and I'm really looking forward to seeing it mature. A big thank-you to you, Rogro.
Additional: Scrolling through the applications list is really choppy in both grid and list.
Thanks for the reply.
I will look into the grid/listview on my phone the listview is smooth although the grid suffers some lag. its related to the transparancy, but i will fix it asap.
About the configurable toolbar... I am working out the whole theming support, so hopefully soon you will be able to adjust it to anything you want it to be.
Thank you Rogro82 !
i made a video ( 0.1.1 ) to show all transitions and some options.
runing on a Sapphire ( 32B versions )
The new Home Android - GDE - Best News Apps
7178 men (and women maybe ) saw your app
I will make a new one with your new version with all features ( Theming option , Dock widget ,Google Search widget..)
YOU NEED COMMUNICATION WE NEED INNOVATION
Thanks man!
Already seen the video and its looking great!
Let me know when you have a new video online. Love to see reviews!
multilang.
hey rogro, are u able to add Multilang to this app, this would be rly nice.
i will help to translate to german if u want
(and a function to custom the function of the middle-button, so the hero theme will look like a real hero (and the palm theme also) )

An interesting situation

For the second time since starting all the work I've done on my phone, I flashed a ROM without launchers. The first time I have a video of, and learned a few things about dealing with this. So I choose not to fix the phone this time. I knew it was easy to fix, but I wanted something fun to do on vacation. So I ran with no launchers. Found ways to remap hard keys, and knew about a ton of apps to look into. I've been running launcherless for the whole time, have easy access to all of my apps, and can do mostADB/Bash work from inside the phone now. I've replaced all stock apps, including the camera with really nice apps of my choosing, but still no launcher.
Just thought that was interesting, it's been a lot of fun. I wish my phone was anything but what it is, SM-727P only offered by virgin, and boost. Would be interesting to share more than just the story with people. I could post the video of the first time, and pics of my current setup. No homework too show off, but prime space to appreciate a good wallpaper.
I occasionally have problems with all perms resetting, so it was important that the may all in charge of everything also be the default assistance app.I first went with the home key launcher, but it was very clunky. I settled on radsofts app drawer got assistance, wheel launcher for my main functionality, and apps, VM for most everything else. Also made use of Oreo nougat quicksetings.
Button mapper, and button remapper, mapper pro would do it all, but I wanted to make the idea available to anyone.
Volume+
Press: default
Double tap: flashlight
Long press: es file explorer
Volume-
Press: default
Double tap: screenshot
Long press: brave launcher
Recent apps
Press: default
Long press: L speed
Back
Press: default
Long press: bash shell
Home
Press: terminate foreground process
Long press: Launch app drawer/default assistant if one of the main goes down.
VM swipe pulls out from the side, offers a ton of app space.
Wheel launcher opens when shaking the phone, has built in shortcuts for basic phone functions, all apps, and customizable shortcuts.
So the home screen is completely empty, and you get tons of access.
took a few pictures
sounds interesting, but are you not concerned about the physical buttons ageing faster than usual this way?

[GUIDE] Advanced swipe gesture shortcuts using Tasker, for running any task or automations.

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. Preface​Before 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. Difficulty​You 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. Uses​For 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. Autorun​You 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. Preface​Before 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. Difficulty​You 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. Uses​For 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. Autorun​You 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.

Categories

Resources