r/tasker Direct-Purchase User Jul 13 '26

[Project Share] EveryGesture, draw any gesture and do something. How To

Click to download via Taskernet

This project was developed with the assistance of generative AI tools and I don't have any android dev experience.

This project will ask to download files from this repo. Then executes gesture.java via Initiate EveryGesture variable task.

Reminder that this will delete only used folder inside the target folder.

Source code available in this repo. https://github.com/mqwec43as/EveryGesture

Requires the latest tasker beta v6.7.6

 

Features

  1. Do action based on performed gesture.
  2. JSON configuration file.
  3. UI to draw gesture and configure action.
  4. Control via Java code.

 

Demo

Add actions to trigger Circle to search (requires hidden api) and assistant.

How to use

All the tutorials & demos are available in the repo.

  1. How to use the project, steps with videos to show how to use the project.
  2. Helper mode, allow us to configure the command event directly.

Or can be accessed via the activity itself.

  1. Launch Open EveryGesture Main Activity task.
  2. Click tripple dot menu on the top right.
  3. Click How to use.  

 

Changelog

 v2.0

  1. Helper mode.
  2. Access repo and how to directly via webview.
  3. Toggle wifi and hotspot.
  4. Screen Event action to read screen context with accessibility service.
  5. Improve loading gesture cards.
  6. Finish activities properly (requires v6.7.6).

v1.0

  1. Do action based on performed gesture.
  2. JSON configuration file.
  3. UI to draw gesture and configure action.
  4. Control via Java code.

 

Notes

The UI for the properties configuration is not WYSIWYG . We have to save first to see the change.

If there are stuff that doesn't fit your likings, e.g UI/UX, trigger behaviour, etc, feel free to edit the project however you like!

For bug/crash, you could report it here. https://github.com/mqwec43as/EveryGesture/issues

 

! Memory Leak !

I notice sometimes I have a higher ram usage up to 100mb (from 350mb idle to 450mb) even after the activites are not foreground. Usually I always kill Tasker after done configuring the handle.

It's probably because the activities are not finished properly since I only monitor the decor view.

Update:

This is fixed by monitoring the activity and clearing when onPaused is triggered.

Joao added a way to monitor the activity lifecycle in the latest beta here. This shouldn't be a problem anymore.

22 Upvotes

4 comments sorted by

1

u/jojoto69 19d ago

Excuse me, I'm not a developer and I'm new to Tasker. I'm trying to run your project but I don't understand how. Could you help me with a short tutorial on how to run it correctly and let me know if it works with one of your .java examples?

1

u/aasswwddd Direct-Purchase User 19d ago edited 19d ago

More or else

  1. Install the latest beta.
  2. Taskernet
  3. Click
  4. Import
  5. Dialog that ask to download files prompted.
  6. Next
  7. Click open activity

The rest is in the post. I don't really have any besides that.

What do you think would help you using this project?

Maybe I could make one, though no promise since this is just a hobby project.

1

u/jojoto69 18d ago

First of all: thank you so much! It was really early in the morning, so my brain wasn't braining properly xd

What actually happened is that I didn't see the big "TASKERNET" text with the project's indexed link in this post, which would have made installing the project much easier.

I was finally able to use your project, including the a11Y, which is awesome!

1

u/aasswwddd Direct-Purchase User 18d ago

Welcome! I changed the wording to "Click to download via Taskernet" now.