Re: [android-beginners] Finger swipe in Android API level 3 (OS 1.5) ?

2010-05-25 Thread Justin Anderson
I did a little playing around with the new gestures support and I was a little disappointed... It didn't seem to have any notion of a starting or ending point (which was critical for my application). Also, the methods returned void instead of a boolean indicating whether the event should be propag

Re: [android-beginners] Finger swipe in Android API level 3 (OS 1.5) ?

2010-05-25 Thread Chris Ross
Thanks much. I had found something similar elsewhere in my searching, and as you ended up making a subclass of SimpleOnGestureListener. As it happens, I made that class inside of my primary Activity class, so I didn't have to pass the object into the instantiator like you did, but the same

Re: [android-beginners] Finger swipe in Android API level 3 (OS 1.5) ?

2010-05-25 Thread Justin Anderson
I know this is late, but hopefully it will help you and others out there still programming stuff to be compatible with 1.5... This is a simplified version of a class that I use to detect a vertical swipe on a Gallery object. To see it in action and test it out you can take a look at "AppSwipe!" o

Re: [android-beginners] Finger swipe in Android API level 3 (OS 1.5) ?

2010-05-21 Thread Justin Anderson
It is admittedly difficult to get it to work in 1.5... I have implemented it for my app on the market (AppSwipe!) but it was not easy. It might be a day or two before I have a chance to sit down and look at my code but as soon as I can, I will post something here to at least point you in the righ

[android-beginners] Finger swipe in Android API level 3 (OS 1.5) ?

2010-05-18 Thread Chris Ross
Hi there. When searching for information about how to code up recognition of a finger swipe across the screen, I find most references to the Gesture API added in API level 4 (OS 1.6). However, there are still quite a few devices (The HTC Droid Eris, for example. And the ole G1.) that are r