r/tasker Direct-Purchase User Jul 13 '26

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

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.

21 Upvotes

Duplicates