Do You Check for App Updates Regularly?

Do you let app updates happen automatically or do you regularly check for them? We’re … more

Find The Best Apps With Google’s Picks & Other Tricks

The Google Play Store, weighing in with more than 1.4 million apps at last … more

Dynamic Pop for Note 4 (N910T & 910W8)

With the release of the Canadian Lollipop ROM for the Note 4, T-Mobile users can also enjoy the … more

Sunday Debate: Better to Buy Older or Newer Hardware?

Join us in a fun Sunday Debate on New vs. Old. Come with your opinions and feel … more
Post Reply Subscribe to Thread Email Thread

[Library][WIP] SimpleFingerGestures

14th April 2014, 01:37 PM |#1  
I have often come accross the need to implement to simple gestures like 2-finger swipe up, or pinch, or 1-finger swipe left etc etc. And unfortunately no such simple gesture library exists for Android, so I have started building one.

The library sources are at
https://github.com/championswimmer/S...ndroid_Library

And the javadocs are
http://championswimmer.github.io/Sim.../documentation

I am yet to write a proper wiki-like documentation, but as of now basic functionality like 1-finger swipes and 2-finger swipes are already implemented. In the coming weeks more awesomeness will be added. And I would be more than happy if more people contribute towards the project

Note: If unsure of the way to use, please see the demo app's source
https://github.com/championswimmer/S...nActivity.java
The Following 16 Users Say Thank You to championswimmer For This Useful Post: [ View ]
 
 
15th April 2014, 08:26 AM |#2  
arpitkh96's Avatar
Senior Member
Flag panipat
Thanks Meter: 570
 
1,145 posts
Join Date:Joined: Feb 2012
Donate to Me
More
What is the difference if I use this library or build gestures using gestures builder app and use the file as an overlay

Sent from my GT-S5570 using XDA Premium 4 mobile app
15th April 2014, 08:33 PM |#3  
Quote:
Originally Posted by arpitkh96

What is the difference if I use this library or build gestures using gestures builder app and use the file as an overlay

Sent from my GT-S5570 using XDA Premium 4 mobile app

GEsture builder supports character recognition like things.

This library is to support simpler stuff like I have added

onSwipeUp()

both for 1 finger and 2 finger swipe up (separately)

and I am adding stuff like

onPinch()
onUnpinch()

to views.
The Following User Says Thank You to championswimmer For This Useful Post: [ View ]
19th April 2014, 01:23 PM |#5  
diamant-x's Avatar
Member
Flag Barcelona
Thanks Meter: 6
 
34 posts
Join Date:Joined: Aug 2008
More
Question
Wow, this is great, thanks! The 1/2 finguers swipe are a great AddOn for any app.

Does this listeners trigger once the swipe is completed or during it it also responds (for example to increase/decrease the volume while swiping up/down)?
19th April 2014, 03:27 PM |#6  
Quote:
Originally Posted by diamant-x

Wow, this is great, thanks! The 1/2 finguers swipe are a great AddOn for any app.

Does this listeners trigger once the swipe is completed or during it it also responds (for example to increase/decrease the volume while swiping up/down)?

right now only on completion, i am implementing the ACTION_MOVE event to handle amount of swipe too

also pinch and unpinch already up
The Following User Says Thank You to championswimmer For This Useful Post: [ View ]
23rd January 2015, 01:11 AM |#7  
Quote:
Originally Posted by championswimmer

right now only on completion, i am implementing the ACTION_MOVE event to handle amount of swipe too

also pinch and unpinch already up

added support for 3 and 4 finger pinch and unpinch
Post Reply Subscribe to Thread

Tags
gestures, library, multi touch, touch
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes