FORUMS
Remove All Ads from XDA

[Tool][02 Nov]Kernel Gestures Builder

613 posts
Thanks Meter: 644
 
Post Reply Email Thread
Hi fellow devs of XDA !

On Aug 13 2012, Tungstwenty introduced a new awesome feature to android kernel, that empower our touch devices to a new level, the ability to respond to multitouch gestures:
[Ref][Kernel]Triggering actions with touch gestures

As Far as I Know, The feature is implemented in the following kernels:
Samsung Galaxy SII - I9100
Samsung Galaxy SIII - I9300
Now let me introduce to you Kernel Gestures Builder, the tool that allows you to define the gesture pattern in a user friendly fashion:




Click image for larger version

Name:	device-2012-11-30-184616.jpg
Views:	1882
Size:	15.3 KB
ID:	1524758Click image for larger version

Name:	device-2012-11-30-185024.jpg
Views:	1743
Size:	13.0 KB
ID:	1524759Click image for larger version

Name:	device-2012-11-30-185204.jpg
Views:	1687
Size:	16.1 KB
ID:	1524760Click image for larger version

Name:	Screenshot_2013-05-03-21-21-57.jpg
Views:	894
Size:	32.6 KB
ID:	1933610Click image for larger version

Name:	Screenshot_2013-05-03-21-22-16.jpg
Views:	835
Size:	21.3 KB
ID:	1933611Click image for larger version

Name:	Screenshot_2013-04-26-15-43-54.jpg
Views:	875
Size:	28.6 KB
ID:	1914272Click image for larger version

Name:	Screenshot_2013-04-26-15-43-21.jpg
Views:	835
Size:	22.5 KB
ID:	1914273Click image for larger version

Name:	Screenshot_2013-05-03-21-35-00.jpg
Views:	725
Size:	11.9 KB
ID:	1933619



Install (for free):
Link to Google Play (The Place Formerly Known as Store)

Usage:
  1. If you have DorimanX kernel you config is in /data/gesture_set.sh
  2. If you don't have current config the script will be installed in /etc/init.d/S50GestureActions
  3. Backup current script config, will be overwritten
  4. Launch Kernel Gesture Builder App
  5. Select Menu/Reset Gestures
  6. Select Menu/Reset Actions
  7. (optional) Select Menu / Settings / Grid Columns and Grid Rows (default 3 columns and 5 rows)
  8. Draw Gesture with as many fingers as you like (maximum supported by kernel is 5)
  9. When last finger leaves the screen, gesture definition is copied to clipboard and local file is saved
  10. Configure Actions by selecting Launch Application or Set Action
  11. If Desired, select Test Action to execute defined action
  12. Open gesture definition script with editor and paste gesture OR
  13. Configure Actions in /data/data/ar.com.nivel7.kernelgesturesbuilder/files/gesture-*.sh
    and Select Install Gestures to REPLACE without backup current gesture_set.sh or S50GestureActions and new directory /data/gestures (do not edit anything here, will be overwrite on each Install Gesture action)
  14. Select Menu/Select Gesture to edit another gesture and repeat the process from
  15. Draw Gesture for each desired gesture
  16. Select Menu/Install Gestures, if you have DorimanX kernel with Gestures enabled, turn off screen and turn it on again to activate new gestures. If you have another kernel reboot to apply changes.
  17. enjoy!
Thanks To:
License (Open Source, feel free to contribute and giving proper credit if you use it):
GPL Version 3
Sources:
https://github.com/flint2/KernelGesturesBuilder

APK Archive:
http://d-h.st/users/flint2/KernelGesturesBuilder
Changelog:
  • Version 1.15 [Nov 02 2013]
    Support for Android 4.4 KitKat
  • Version 1.14.1 [Jun 11 2013]
    Bug Fix: FC on start
  • Version 1.14 [Jun 06 2013]
    Select Gesture from Main Menu
  • Version 1.13 [May 03 2013]
    (unpublished)
  • Version 1.12 [Apr 26 2013]
    Set Action to gesture
    Test Action
  • Version 1.11 [Apr 19 2013]
    German, French & Spanish Translations
    Browse for Applications to Launch on Gesture
  • Version 1.10 [Apr 8 2013]
    Google Analytics for better support and future development
  • Version 1.9.1 [Mar 12 2013]
    Add support for new Superuser https://github.com/koush/Superuser
  • Version 1.8.1 [Jan 7 2013]
    Resolved bug in gesture install script
  • Version 1.8 [Dec 26 2012]
    Display actions for current gesture
    Force Portrait Mode
    Default gestures for 1280x720 devices
    Install Script in /system/etc/init.d if no /data/gesture_set.sh
  • Version 1.7 [Nov 30 2012]
    Draw actual path of traversal of every finger with different color and alpha blending [Debadatta]
    Read and Write to Scripts [It_ler]
    Parse gestures from config
  • Version 1.6 [Nov 23 2012]
    Install new Actions and Gestures config in /data/gestures (overwrites current script!)
    Changed max fingers to 5 (kernel limit)
  • Version 1.5 [Nov 15 2012]
    Allow changing of Gesture Number (1-30) from Settings
  • Version 1.4 [Nov 11 2012]
    Copy Gesture to Clipboard
  • Version 1.3
    Display Gesture Number fixed
  • Version 1.2
    Display Intercepted Hotspot
  • Version 1.1
    Detect Hotspot
Known Bugs:
  • Bad finger numbering if finger not lifted in inverse order
  • Any Bug that you report
Todo:
  • Animate the spots of an existing gesture to view on screen what trace you must do with fingers [Mario1968]
  • Custom name for gestures [Mario1968]
  • Always show current gesture anim, gesture number, gesture name on screen [Mario1968]
  • Any Feature that you request
If you like my work please buy me a beer


DONATIONS FROM:
DorimanX
The Following 39 Users Say Thank You to Flint2 For This Useful Post: [ View ] Gift Flint2 Ad-Free
 
 
12th November 2012, 07:50 PM |#2  
Flint2's Avatar
OP Senior Member
Flag Buenos Aires
Thanks Meter: 644
 
Donate to Me
More
Reserved I
Reserved I
The Following 4 Users Say Thank You to Flint2 For This Useful Post: [ View ] Gift Flint2 Ad-Free
12th November 2012, 07:50 PM |#3  
Flint2's Avatar
OP Senior Member
Flag Buenos Aires
Thanks Meter: 644
 
Donate to Me
More
Reserved II
Reserved II
The Following 4 Users Say Thank You to Flint2 For This Useful Post: [ View ] Gift Flint2 Ad-Free
12th November 2012, 08:12 PM |#4  
Noed's Avatar
Senior Member
Flag Campinas
Thanks Meter: 472
 
More
Great, will try
The Following User Says Thank You to Noed For This Useful Post: [ View ] Gift Noed Ad-Free
12th November 2012, 08:16 PM |#5  
cdaarif's Avatar
Senior Member
Thanks Meter: 131
 
More
Hay buddy, tnx for kg tool. Wanna trying these. Report u later.

sorry for my bad english.
The Following User Says Thank You to cdaarif For This Useful Post: [ View ] Gift cdaarif Ad-Free
12th November 2012, 09:21 PM |#6  
It_ler's Avatar
Recognized Contributor
Thanks Meter: 16,663
 
More
Just my thoughts:
Have you thought about a collaboration with Tungstwenty to combine / integrate your gesture building app into his multi touch gesture kernel feature?
Ok, copy & paste the gesture definition into a script is not that difficult, but if you could define the gesture and assign it directly to a script/action (without manual copy & paste), that would be even easier and more (end-)user friendly.

I have something similar to tasker app in mind, but with your gesture (builder) as the trigger.

Good idea anyway !
The Following User Says Thank You to It_ler For This Useful Post: [ View ] Gift It_ler Ad-Free
12th November 2012, 09:28 PM |#7  
dorimanx's Avatar
Recognized Developer
Flag TERA Prime.
Thanks Meter: 93,237
 
Donate to Me
More
That's is Awesome!

Thanks allot!

beer on me
Confirmation number: 2WN54160CY969421P.
The Following 6 Users Say Thank You to dorimanx For This Useful Post: [ View ]
12th November 2012, 09:46 PM |#8  
Morngkilr's Avatar
Senior Member
Thanks Meter: 58
 
More
Now that is really cool thnx for this!!!

Sent from my GT-I9100 using xda app-developers app
The Following User Says Thank You to Morngkilr For This Useful Post: [ View ] Gift Morngkilr Ad-Free
13th November 2012, 01:02 AM |#9  
americoz's Avatar
Senior Member
Flag Monterrey
Thanks Meter: 70
 
Donate to Me
More
Sounds great! I'll try it right now.



Sent from my GT-I9100 using xda app-developers app
The Following User Says Thank You to americoz For This Useful Post: [ View ] Gift americoz Ad-Free
13th November 2012, 03:31 AM |#10  
Flint2's Avatar
OP Senior Member
Flag Buenos Aires
Thanks Meter: 644
 
Donate to Me
More
Quote:
Originally Posted by dorimanx

That's is Awesome!

Thanks allot!

beer on me
Confirmation number: 2WN54160CY969421P.

You're my hero!
Thank you very much for your support and everything you're doing for the community!

Sent from my GT-I9100 Powered by Dorimanx kernel and AOKP unicorn
The Following User Says Thank You to Flint2 For This Useful Post: [ View ] Gift Flint2 Ad-Free
13th November 2012, 03:47 AM |#11  
Flint2's Avatar
OP Senior Member
Flag Buenos Aires
Thanks Meter: 644
 
Donate to Me
More
Quote:
Originally Posted by It_ler

Just my thoughts:
Have you thought about a collaboration with Tungstwenty to combine / integrate your gesture building app into his multi touch gesture kernel feature?
Ok, copy & paste the gesture definition into a script is not that difficult, but if you could define the gesture and assign it directly to a script/action (without manual copy & paste), that would be even easier and more (end-)user friendly.

I have something similar to tasker app in mind, but with your gesture (builder) as the trigger.

Good idea anyway !

Yes, the objective of this app is to be able to parse, edit, and generate Tungstwenty rc.d script (or DorimanX equivalent)
If you find anything else please ask and will be included in TODO

Sent from my GT-I9100 Powered by Dorimanx kernel and AOKP unicorn
The Following User Says Thank You to Flint2 For This Useful Post: [ View ] Gift Flint2 Ad-Free
Post Reply Subscribe to Thread

Tags
gestures, gui, kernel, tool

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes