Are there open source gesture libraries in Android? [closed]
Asked Answered
P

3

7

I have defined my own gestures in an Android app. Is this the only way to define gestures?

Are there any standard opensource libraries which will already have the gesture's raw file?

Pied answered 2/2, 2012 at 21:47 Comment(5)
Maybe it helps you Gestures Library & also thisPourpoint
I also couldn't find any. Seems we have to create our own Gesture raw fils by using Gesture Builder application comes as a default application in emulators above 1.6Constable
I think you can make raw file by your own as you want.So no need of already exist raw fileSori
@Praveen, Both links down......Heinrike
Try reading this post. I have an open source gesture library:#13095994Resident
M
3

I have been developing a library to support basic 1 nad 2 finger gestures on Android with a very very simple drop in functionality.

Most gestures can be set as easily as:

view.setOn2FingerGestureListener (new On2FingerGestureListener () {
    @Override
    onSwipeup() {
    }

    onSwipedown() {
    }
});

The library is opensource and can also be downloaded as a JAR file (.jar).

I haven't decided upon a license yet (will most probably be Apache), so currently it is under NO License.

Monte answered 13/4, 2014 at 20:51 Comment(2)
Any names/links? What's the license?Together
@Together sorry my bad. was pretty sleepy when I was writing that. forgot the link completelyMonte
C
2

This is the Android documentation which will describe the Gestures. GestureDetector class contains methods for most of the simple gestures that we need for our small applications.

Constable answered 8/3, 2012 at 10:25 Comment(3)
But this is not related to my question...I was not able to find any either....its also not possible to combine two raw gesture files as android adk doesnt recognize two gesture files. I am not sure if their si any documentation of the same but when I tried it didnt work out as if two gesture files were not recognised.so its not possible to have 2 in one aplication and there is no way to combine them ASAIK.Pied
Is it possible to have multitouch library in android with gesture builder or is onTouchEvent is the only way out?Pied
you can use a GestureOverlayView for more controlIlowell
B
1

Pretty much all the libraries that have an extended Android touch UI are proprietary... HTC has HTC Sense, Samsung has TouchWiz, etc.

Apple holds a lot of patents for multi-touch things, and I think that their current battles against HTC and other phone manufacturers have discouraged the development of open source solutions. For a developer who invests their time on open source libraries with the hope to create a community around it and then maybe offer it commercially, to expect to receive "cease and desist letters" is not a good incentive.

But, you can always implement multi-touch gestures by yourself.

A good tutorial is How to use multi-touch in Android 2.

Biceps answered 14/3, 2012 at 20:11 Comment(3)
Apple is destroying the world (and itself) with patents.Heinrike
I have two open source gesture libraries for Android bitbucket.org/warwick/hacergestov2 and bitbucket.org/warwick/hacergestov1. I also have a Dial Control Widget here: bitbucket.org/warwick/hgdialrepo. They are very tested and abstracted and support an awesome amount of developer scenariosResident
Here's a few good open source gesture libraries I've developed they come with demo apps bitbucket.org/warwick/hacergestov2 bitbucket.org/warwick/hacergestov1 bitbucket.org/warwick/hgdialrepoResident

© 2022 - 2024 — McMap. All rights reserved.