jQuery in Action, 3rd edition
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 Head First Android this week in the Android 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(http://badlogicgames.com/forum/viewtopic.php?f=21&t=11603).

I agree. Here's the link: http://aspose.com/file-tools
subject: How to implement OnGestureListener?
It's not a secret anymore!