File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Android and the fly likes How to implement OnGestureListener? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "How to implement OnGestureListener?" Watch "How to implement OnGestureListener?" New topic

How to implement OnGestureListener?

manish ghildiyal
Ranch Hand

Joined: Jan 12, 2013
Posts: 136

I am working on a game based exactly on same architecture as used in SuperJumper game of book 'Beginning Android Games'.
I want to have swipe functionality. So I have implemented OnGestureListener.
So I have put the OnGestureListener instance in AndroidInput just like we have for TouchHandler.
But onFling() is not getting called.

Where am I going wrong?
Please advise.

I have also posted same query on forum for Badlogic games(

I agree. Here's the link:
subject: How to implement OnGestureListener?
It's not a secret anymore!